forked from services/mlmmj-light-web-ecg
Initial commit for release of version 1.0
This commit is contained in:
@@ -27,54 +27,85 @@
|
||||
|
||||
function confirm_delete()
|
||||
{
|
||||
return confirm("Are you really want to delete the mailing list?");
|
||||
return confirm("Do you really want to delete the mailing list?");
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="header">
|
||||
<div id="header_left">
|
||||
Manage your ECG mailing lists
|
||||
{$headline}
|
||||
</div>
|
||||
<div id="header_right">
|
||||
<a href="logout.php">Log out</a>
|
||||
<a href="logout.php">Logout ({$username})</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="breadcrumbs">{$domain}</div>
|
||||
<div id="index">
|
||||
<div id="lists_header">
|
||||
<b>All available mailing lists:</b>
|
||||
<b>All available mailing lists</b>
|
||||
|
||||
<div class="tooltip">
|
||||
<img src="help.svg" width=15 height=15>
|
||||
<span class="help_add_list">
|
||||
You can edit mailing lists on this page. Just click on its name.
|
||||
To post a message into a mailing list send an email to example@{$domain}, where "example" is the list name.
|
||||
To post a message into a mailing list send an email to example@{$domain}, where "example" is the lists name.
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<table id="lists">
|
||||
<tr>
|
||||
<td>
|
||||
★
|
||||
</td>
|
||||
<td style="font-weight: bold;">
|
||||
Lists you own (editable)
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
{foreach $lists as $list}
|
||||
<tr>
|
||||
<td>
|
||||
•
|
||||
</td>
|
||||
<td>
|
||||
<a href="edit_list.php?list_name={$list}">{$list}</a>
|
||||
</td>
|
||||
<!--<td>
|
||||
<a href="del_list.php?list_name={$list}" onclick="return confirm_delete()"><img src="delete.svg" width=15></a>
|
||||
</td>-->
|
||||
</tr>
|
||||
{if $list == 1}
|
||||
<tr>
|
||||
<td>
|
||||
✓
|
||||
</td>
|
||||
<td>
|
||||
<a href="edit_list.php?list_name={$list@key}">{$list@key}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
★
|
||||
</td>
|
||||
<td style="font-weight: bold;">
|
||||
All other lists (not editable)
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
{foreach $lists as $list}
|
||||
{if $list == 0}
|
||||
<tr>
|
||||
<td>
|
||||
✗
|
||||
</td>
|
||||
<td>
|
||||
{$list@key}
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</table>
|
||||
<!--<form method="post" action="add_list.php" onsubmit="return validate_form()">
|
||||
<div id="add_list">
|
||||
<input type="text" name="list_name" id="add_list_input">
|
||||
|
||||
<input type="submit" name="submit" value="Add" id="add_list_button">
|
||||
</div>
|
||||
</form>-->
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user