Révision 2464e353
Ajouté par N0YB il y a presque 10 ans
usr/local/www/system_advanced_admin.php | ||
---|---|---|
355 | 355 |
<td width="78%" class="vtable"> |
356 | 356 |
<select name="ssl-certref" id="ssl-certref" class="formselect"> |
357 | 357 |
<?php |
358 |
$rowIndex = 0; |
|
358 | 359 |
foreach($a_cert as $cert): |
359 | 360 |
$selected = ""; |
360 | 361 |
if ($pconfig['ssl-certref'] == $cert['refid']) |
361 | 362 |
$selected = "selected=\"selected\""; |
363 |
$rowIndex++; |
|
362 | 364 |
?> |
363 | 365 |
<option value="<?=$cert['refid'];?>" <?=$selected;?>><?=$cert['descr'];?></option> |
364 |
<?php endforeach; ?> |
|
366 |
<?php endforeach; |
|
367 |
if ($rowIndex == 0) |
|
368 |
echo "<option></option>"; |
|
369 |
?> |
|
365 | 370 |
</select> |
366 | 371 |
</td> |
367 | 372 |
</tr> |
Formats disponibles : Unified diff
XHTML Compliance - System Menu
Enforce select option