Initial commit for release of version 1.0

This commit is contained in:
2021-08-12 22:55:38 +02:00
parent b9a88906ce
commit 9db6477952
70 changed files with 415 additions and 2129 deletions

View File

@@ -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>
&nbsp;
<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>
&starf;
</td>
<td style="font-weight: bold;">
Lists you own (editable)
</td>
</tr>
{foreach $lists as $list}
<tr>
<td>
&bull;
</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>
&check;
</td>
<td>
<a href="edit_list.php?list_name={$list@key}">{$list@key}</a>
</td>
</tr>
{/if}
{/foreach}
<tr>
<td>
&nbsp;
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td>
&starf;
</td>
<td style="font-weight: bold;">
All other lists (not editable)
</td>
</tr>
{foreach $lists as $list}
{if $list == 0}
<tr>
<td>
&cross;
</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">
&nbsp;
<input type="submit" name="submit" value="Add" id="add_list_button">
</div>
</form>-->
</div>
</body>
</html>