Hanno Böck commited on 2023-10-28 19:28:43
Zeige 1 geänderte Dateien mit 0 Einfügungen und 33 Löschungen.
| ... | ... |
@@ -27,20 +27,6 @@ global $debugmode; |
| 27 | 27 |
|
| 28 | 28 |
if ($_GET['action'] == 'new') {
|
| 29 | 29 |
system_failure('not implemented');
|
| 30 |
- /* |
|
| 31 |
- check_form_token('systemuser_new');
|
|
| 32 |
- if (filter_input_username($_POST['username']) == '' || |
|
| 33 |
- filter_shell($_POST['password']) == '') |
|
| 34 |
- {
|
|
| 35 |
- input_error('Sie müssen alle Felder ausfüllen!');
|
|
| 36 |
- } |
|
| 37 |
- else |
|
| 38 |
- {
|
|
| 39 |
- create_jabber_account($_POST['local'], $_POST['domain'], $_POST['password']); |
|
| 40 |
- if (! $debugmode) |
|
| 41 |
- header('Location: account');
|
|
| 42 |
- } |
|
| 43 |
- */ |
|
| 44 | 30 |
} elseif ($_GET['action'] == 'pwchange') {
|
| 45 | 31 |
if (!$role & ROLE_CUSTOMER) {
|
| 46 | 32 |
system_failure("Zum Ändern Ihres Passworts verwenden Sie bitte die Funktion im Hauptmenü!");
|
| ... | ... |
@@ -113,25 +99,6 @@ if ($_GET['action'] == 'new') {
|
| 113 | 99 |
} |
| 114 | 100 |
} elseif ($_GET['action'] == 'delete') {
|
| 115 | 101 |
system_failure("Benutzeraccounts zu löschen ist momentan nicht über diese Oberfläche möglich. Bitte wenden Sie sich an einen Administrator.");
|
| 116 |
- /* |
|
| 117 |
- $account_string = filter_output_html($account['local'].'@'.$account['domain']); |
|
| 118 |
- $sure = user_is_sure(); |
|
| 119 |
- if ($sure === NULL) |
|
| 120 |
- {
|
|
| 121 |
- are_you_sure("action=delete&account={$_GET['account']}", "Möchten Sie den Account »{$account_string}« wirklich löschen?");
|
|
| 122 |
- } |
|
| 123 |
- elseif ($sure === true) |
|
| 124 |
- {
|
|
| 125 |
- delete_jabber_account($account['id']); |
|
| 126 |
- if (! $debugmode) |
|
| 127 |
- header("Location: account");
|
|
| 128 |
- } |
|
| 129 |
- elseif ($sure === false) |
|
| 130 |
- {
|
|
| 131 |
- if (! $debugmode) |
|
| 132 |
- header("Location: account");
|
|
| 133 |
- } |
|
| 134 |
- */ |
|
| 135 | 102 |
} else {
|
| 136 | 103 |
system_failure("Unimplemented action");
|
| 137 | 104 |
} |
| 138 | 105 |