Hanno Böck To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty. You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see http://creativecommons.org/publicdomain/zero/1.0/ Nevertheless, in case you use a significant part of this code, we ask (but not require, see the license) that you keep the authors' names in place and return your changes to the public. We would be especially happy if you tell us what you're going to do with this code. */ require_once('inc/base.php'); require_once('inc/icons.php'); require_once('mailman.php'); require_role(ROLE_SYSTEMUSER); title('Mailinglisten'); output('

Mit Mailman bieten wir Ihnen eine umfangreiche Lösung für E-Mail-Verteilerlisten an.

Auf dieser Seite können Sie Ihre Mailinglisten verwalten.

'); $lists = get_lists(); if (! empty($lists)) { output("\n\n"); foreach ($lists AS $list) { $size = $list['archivesize']; $sizestr = $size.' Bytes'; if (! $size) { $sizestr = 'Kein Archiv'; } else { $sizestr = sprintf('%.2f', $size/(1024*1024)).' MB'; } $style = ''; $status = 'In Betrieb'; if ($list['status'] == 'delete') { $style = ' style="text-decoration: line-through;" '; $status = 'Wird gelöscht'; } elseif ($list['status'] == 'pending') { $style = ' style="text-decoration: underline;" '; $status = 'Wird angelegt'; } elseif ($list['status'] == 'failure') { $style = ' style="font-style: italic;" '; $status = 'Fehler bei der Erstellung'; } output("{$list['listname']}@{$list['fqdn']}{$list['admin']}"); if ($list['status'] == 'running') output("\n"); else output("\n"); } output("
ListennameVerwalter1StatusArchivgröße2 
{$status}{$sizestr}".internal_link('save', icon_delete(), "action=delete&id={$list['id']}")." ".other_icon("database_go.png")."
 
"); } else { // keine Listen output('

Sie betreiben bisher keine Mailinglisten.

'); } addnew('newlist', 'Neue Mailingliste anlegen'); output("

Hinweise:
1) Sie können später im Webinterface von Mailman einen abweichenden oder auch mehrere Verwalter eintragen. Die Information auf dieser Seite wird dann nicht automatisch geändert sondern bezeichnet den Verwalter, den Sie beim Anlegen der Liste benannt haben.
2) Die Größe der Archive wird in regelmäßigen Abständen eingelesen. Der hier angezeigte Wert ist möglicherweise nicht mehr aktuell.

\n");