Bernd Wurst commited on 2014-07-22 12:36:18
Zeige 1 geänderte Dateien mit 6 Einfügungen und 1 Löschungen.
| ... | ... |
@@ -46,7 +46,12 @@ output('<p>Mit dieser Funktion können Sie eine E-Mail-Adresse stilllegen (so we
|
| 46 | 46 |
$form = "<h4>Text der Fehlermeldung</h4>". |
| 47 | 47 |
"<p><textarea cols=\"80\" rows=\"10\" name=\"smtpreply\" id=\"smtpreply\">{$account['smtpreply']}</textarea></p>";
|
| 48 | 48 |
|
| 49 |
-$form .= '<p><input id="submit" type="submit" value="Speichern" />    '.internal_link('edit', 'Abbrechen', "id=".$id).'</p>';
|
|
| 49 |
+$form .= '<p><input id="submit" type="submit" value="Speichern" />    '; |
|
| 50 |
+if ($suspended) {
|
|
| 51 |
+ $form .= internal_link('vmail', 'Abbrechen').'</p>';
|
|
| 52 |
+} else {
|
|
| 53 |
+ $form .= internal_link('edit', 'Abbrechen', "id=".$id).'</p>';
|
|
| 54 |
+} |
|
| 50 | 55 |
output(html_form('vmail_edit_mailbox', 'save', 'action=suspend&id='.$id, $form));
|
| 51 | 56 |
|
| 52 | 57 |
if ($suspended) {
|
| 53 | 58 |