Commit 9fe1b635 authored by Ad Schellevis's avatar Ad Schellevis
parent d35ce90c
...@@ -753,13 +753,14 @@ function dpdchkbox_change() { ...@@ -753,13 +753,14 @@ function dpdchkbox_change() {
<td width="78%" class="vtable"> <td width="78%" class="vtable">
<select name="certref" class="formselect"> <select name="certref" class="formselect">
<?php <?php
if (isset($config['cert'])):
foreach ($config['cert'] as $cert): foreach ($config['cert'] as $cert):
$selected = ""; $selected = "";
if ($pconfig['certref'] == $cert['refid']) if ($pconfig['certref'] == $cert['refid'])
$selected = "selected=\"selected\""; $selected = "selected=\"selected\"";
?> ?>
<option value="<?=$cert['refid'];?>" <?=$selected;?>><?=$cert['descr'];?></option> <option value="<?=$cert['refid'];?>" <?=$selected;?>><?=$cert['descr'];?></option>
<?php endforeach; ?> <?php endforeach; endif; ?>
</select> </select>
<br /> <br />
<span class="vexpl"> <span class="vexpl">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment