Andreu | 20cbd1d | 2019-09-22 00:00:57 +0200 | [diff] [blame^] | 1 | <option>Selecciona usuari...</option> |
| 2 | |
Andreu | abbcb7e | 2019-09-21 18:22:14 +0200 | [diff] [blame] | 3 | <?php |
| 4 | require '../php/utils.php'; |
Andreu | 20cbd1d | 2019-09-22 00:00:57 +0200 | [diff] [blame^] | 5 | |
Andreu | abbcb7e | 2019-09-21 18:22:14 +0200 | [diff] [blame] | 6 | $users = get_users(0); |
Andreu | 20cbd1d | 2019-09-22 00:00:57 +0200 | [diff] [blame^] | 7 | foreach ($users as $user) { |
| 8 | $nopassword = $user->md5password == "" ? "nopassword" : ""; |
| 9 | echo "<option class='".$nopassword."' value='".$user->id."'>".$user->nomcomplet."</option>\n"; |
| 10 | } |
Andreu | abbcb7e | 2019-09-21 18:22:14 +0200 | [diff] [blame] | 11 | ?> |