bernd commited on 2009-04-28 19:22:55
Zeige 2 geänderte Dateien mit 6 Einfügungen und 0 Löschungen.
git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1350 87cf0b9e-d624-0410-a070-f6ee81989793
| ... | ... |
@@ -24,12 +24,16 @@ if (! empty($lists)) |
| 24 | 24 |
$style = ' style="text-decoration: line-through;" '; |
| 25 | 25 |
elseif ($list['status'] == 'pending') |
| 26 | 26 |
$style = ' style="text-decoration: underline;" '; |
| 27 |
+ elseif ($list['status'] == 'failure') |
|
| 28 |
+ $style = ' style="font-style: italic;" '; |
|
| 27 | 29 |
|
| 28 | 30 |
$status = 'In Betrieb'; |
| 29 | 31 |
if ($list['status'] == 'delete') |
| 30 | 32 |
$status = 'Wird gelöscht'; |
| 31 | 33 |
elseif ($list['status'] == 'pending') |
| 32 | 34 |
$status = 'Wird angelegt'; |
| 35 |
+ elseif ($list['status'] == 'failure') |
|
| 36 |
+ $status = 'Fehler bei der Erstellung'; |
|
| 33 | 37 |
|
| 34 | 38 |
|
| 35 | 39 |
$output .= "<tr><td{$style}><strong>{$list['listname']}</strong>@{$list['fqdn']}</td><td{$style}>{$list['admin']}</td><td>{$status}</td>";
|
| ... | ... |
@@ -23,6 +23,8 @@ if ($_GET['action'] == 'new') |
| 23 | 23 |
system_failure('Ihre Domain-Auswahl scheint ungültig zu sein');
|
| 24 | 24 |
|
| 25 | 25 |
create_list($_POST['listname'], $maildomain, $_POST['admin']); |
| 26 |
+ if (! $debugmode) |
|
| 27 |
+ header('Location: lists');
|
|
| 26 | 28 |
} |
| 27 | 29 |
|
| 28 | 30 |
elseif ($_GET['action'] == 'delete') |
| 29 | 31 |