bernd commited on 2009-09-23 13:27:56
Zeige 1 geänderte Dateien mit 10 Einfügungen und 2 Löschungen.
git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1472 87cf0b9e-d624-0410-a070-f6ee81989793
... | ... |
@@ -46,7 +46,10 @@ foreach ($all_accounts AS $account) |
46 | 46 |
|
47 | 47 |
DEBUG($sorted_by_domains); |
48 | 48 |
|
49 |
-output('<h3>E-Mail-Accounts</h3> |
|
49 |
+output('<h3>E-Mail-Accounts</h3>'); |
|
50 |
+if (count($sorted_by_domains) > 0) |
|
51 |
+{ |
|
52 |
+ output(' |
|
50 | 53 |
<p>Folgende E-Mail-Konten sind eingerichtet:</p> |
51 | 54 |
'); |
52 | 55 |
foreach ($sorted_by_domains as $accounts_on_domain) |
... | ... |
@@ -96,8 +99,13 @@ output('<h3>E-Mail-Accounts</h3> |
96 | 99 |
<div style="margin-left: 2em; margin-top: 0.5em; padding: 0.1em 0.5em;"><p>'.internal_link('edit', $acc['local'].'@'.$this_account['domainname'], 'id='.$acc['id']).' '.internal_link("save", '<img src="'.$prefix.'images/delete.png" alt="löschen" title="Dieses Konto löschen"/>', "action=delete&id=".$acc['id']).'</p> |
97 | 100 |
<p>'.$dest.'</p></div>'); |
98 | 101 |
} |
99 |
- |
|
100 | 102 |
} |
103 |
+} |
|
104 |
+else |
|
105 |
+{ |
|
106 |
+ output('<p><em>Sie haben bisher keine E-Mail-Adressen angelegt</em></p>'); |
|
107 |
+} |
|
108 |
+ |
|
101 | 109 |
addnew("edit", "Neue E-Mail-Adresse anlegen"); |
102 | 110 |
|
103 | 111 |
/* FIXME: Das sollte nur kommen, wenn der IMAP/POP3-Menü-Eintrag nicht da ist */ |
104 | 112 |