Révision b4e9a4da
Ajouté par N0YB il y a presque 10 ans
usr/local/www/system_groupmanager.php | ||
---|---|---|
299 | 299 |
<br /> |
300 | 300 |
<select size="10" style="width: 75%" name="notmembers[]" class="formselect" id="notmembers" onchange="clear_selected('members')" multiple="multiple"> |
301 | 301 |
<?php |
302 |
$rowIndex = 0; |
|
302 | 303 |
foreach ($config['system']['user'] as $user): |
303 | 304 |
if (is_array($pconfig['members']) && in_array($user['uid'],$pconfig['members'])) |
304 | 305 |
continue; |
306 |
$rowIndex++; |
|
305 | 307 |
?> |
306 | 308 |
<option value="<?=$user['uid'];?>" <?=$selected;?>> |
307 | 309 |
<?=htmlspecialchars($user['name']);?> |
308 | 310 |
</option> |
309 |
<?php endforeach; ?> |
|
311 |
<?php endforeach; |
|
312 |
if ($rowIndex == 0) |
|
313 |
echo "<option></option>"; |
|
314 |
?> |
|
310 | 315 |
</select> |
311 | 316 |
<br /> |
312 | 317 |
</td> |
... | ... | |
325 | 330 |
<br /> |
326 | 331 |
<select size="10" style="width: 75%" name="members[]" class="formselect" id="members" onchange="clear_selected('notmembers')" multiple="multiple"> |
327 | 332 |
<?php |
333 |
$rowIndex = 0; |
|
328 | 334 |
foreach ($config['system']['user'] as $user): |
329 | 335 |
if (!(is_array($pconfig['members']) && in_array($user['uid'],$pconfig['members']))) |
330 | 336 |
continue; |
337 |
$rowIndex++; |
|
331 | 338 |
?> |
332 | 339 |
<option value="<?=$user['uid'];?>"> |
333 | 340 |
<?=htmlspecialchars($user['name']);?> |
334 | 341 |
</option> |
335 |
<?php endforeach; ?> |
|
342 |
<?php endforeach; |
|
343 |
if ($rowIndex == 0) |
|
344 |
echo "<option></option>"; |
|
345 |
?> |
|
336 | 346 |
</select> |
337 | 347 |
<br /> |
338 | 348 |
</td> |
Formats disponibles : Unified diff
XHTML Compliance - System Menu
Advanced - Admin Access Tab
Advanced - Firewall / NAT Tab
Cert Manager - Certificate Revocation Tab
User Manager - Users Tab
User Manager - Groups Tab