Révision b4e9a4da
Ajouté par N0YB il y a presque 10 ans
usr/local/www/system_advanced_admin.php | ||
---|---|---|
360 | 360 |
if ($pconfig['ssl-certref'] == $cert['refid']) |
361 | 361 |
$selected = "selected=\"selected\""; |
362 | 362 |
?> |
363 |
<option value="<?=$cert['refid'];?>"<?=$selected;?>><?=$cert['descr'];?></option> |
|
363 |
<option value="<?=$cert['refid'];?>" <?=$selected;?>><?=$cert['descr'];?></option>
|
|
364 | 364 |
<?php endforeach; ?> |
365 | 365 |
</select> |
366 | 366 |
</td> |
usr/local/www/system_advanced_firewall.php | ||
---|---|---|
324 | 324 |
<option value="conservative"<?php if($config['system']['optimization']=="conservative") echo " selected=\"selected\""; ?>><?=gettext("conservative");?></option> |
325 | 325 |
</select> |
326 | 326 |
<br /> |
327 |
<textarea readonly="readonly" cols="60" rows="2" id="info" name="info"style="padding:5px; border:1px dashed #990000; background-color: #ffffff; color: #000000; font-size: 8pt;"></textarea> |
|
327 |
<textarea readonly="readonly" cols="60" rows="2" id="info" name="info" style="padding:5px; border:1px dashed #990000; background-color: #ffffff; color: #000000; font-size: 8pt;"></textarea>
|
|
328 | 328 |
<script type="text/javascript"> |
329 | 329 |
//<![CDATA[ |
330 | 330 |
update_description(document.forms[0].optimization.selectedIndex); |
usr/local/www/system_crlmanager.php | ||
---|---|---|
311 | 311 |
if ($pconfig['method'] == $method) |
312 | 312 |
$selected = "selected=\"selected\""; |
313 | 313 |
?> |
314 |
<option value="<?=$method;?>"<?=$selected;?>><?=$desc;?></option> |
|
314 |
<option value="<?=$method;?>" <?=$selected;?>><?=$desc;?></option>
|
|
315 | 315 |
<?php endforeach; ?> |
316 | 316 |
</select> |
317 | 317 |
</td> |
... | ... | |
333 | 333 |
if ($pconfig['caref'] == $ca['refid']) |
334 | 334 |
$selected = "selected=\"selected\""; |
335 | 335 |
?> |
336 |
<option value="<?=$ca['refid'];?>"<?=$selected;?>><?=$ca['descr'];?></option> |
|
336 |
<option value="<?=$ca['refid'];?>" <?=$selected;?>><?=$ca['descr'];?></option>
|
|
337 | 337 |
<?php endforeach; ?> |
338 | 338 |
</select> |
339 | 339 |
</td> |
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> |
usr/local/www/system_usermanager.php | ||
---|---|---|
523 | 523 |
<br /> |
524 | 524 |
<select size="10" style="width: 75%" name="notgroups[]" class="formselect" id="notgroups" onchange="clear_selected('groups')" multiple="multiple"> |
525 | 525 |
<?php |
526 |
$rowIndex = 0; |
|
526 | 527 |
foreach ($config['system']['group'] as $group): |
527 | 528 |
if ($group['gid'] == 1998) /* all users group */ |
528 | 529 |
continue; |
529 | 530 |
if (is_array($pconfig['groups']) && in_array($group['name'],$pconfig['groups'])) |
530 | 531 |
continue; |
532 |
$rowIndex++; |
|
531 | 533 |
?> |
532 | 534 |
<option value="<?=$group['name'];?>" <?=$selected;?>> |
533 | 535 |
<?=htmlspecialchars($group['name']);?> |
534 | 536 |
</option> |
535 |
<?php endforeach; ?> |
|
537 |
<?php endforeach; |
|
538 |
if ($rowIndex == 0) |
|
539 |
echo "<option></option>"; |
|
540 |
?> |
|
536 | 541 |
</select> |
537 | 542 |
<br /> |
538 | 543 |
</td> |
... | ... | |
551 | 556 |
<br /> |
552 | 557 |
<select size="10" style="width: 75%" name="groups[]" class="formselect" id="groups" onchange="clear_selected('nogroups')" multiple="multiple"> |
553 | 558 |
<?php |
559 |
$rowIndex = 0; |
|
554 | 560 |
if (is_array($pconfig['groups'])) { |
555 | 561 |
foreach ($config['system']['group'] as $group): |
556 | 562 |
if ($group['gid'] == 1998) /* all users group */ |
557 | 563 |
continue; |
558 | 564 |
if (!in_array($group['name'],$pconfig['groups'])) |
559 | 565 |
continue; |
566 |
$rowIndex++; |
|
560 | 567 |
?> |
561 | 568 |
<option value="<?=$group['name'];?>"> |
562 | 569 |
<?=htmlspecialchars($group['name']);?> |
563 | 570 |
</option> |
564 | 571 |
<?php endforeach; |
565 |
} ?> |
|
572 |
} |
|
573 |
if ($rowIndex == 0) |
|
574 |
echo "<option></option>"; |
|
575 |
?> |
|
566 | 576 |
</select> |
567 | 577 |
<br /> |
568 | 578 |
</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