bernd commited on 2008-08-22 08:37:19
Zeige 1 geänderte Dateien mit 7 Einfügungen und 1 Löschungen.
git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1142 87cf0b9e-d624-0410-a070-f6ee81989793
... | ... |
@@ -153,8 +153,14 @@ if ($output_something) |
153 | 153 |
$users = get_mysql_accounts($_SESSION['userinfo']['uid']); |
154 | 154 |
|
155 | 155 |
|
156 |
+ |
|
157 |
+ $my_users = array(); |
|
158 |
+ foreach ($users as $u) |
|
159 |
+ { |
|
160 |
+ $my_users[$u] = $u; |
|
161 |
+ } |
|
156 | 162 |
$form = '<div> |
157 |
- <label for="mysql_username">Benutzername:</label> '.html_select('mysql_username', $users).' |
|
163 |
+ <label for="mysql_username">Benutzername:</label> '.html_select('mysql_username', $my_users).' |
|
158 | 164 |
    |
159 | 165 |
<label for="password">Passwort:</label> <input type="password" name="mysql_password" id="password" /> |
160 | 166 |
  <input type="submit" value="Setzen" /> |
161 | 167 |