summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizard.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-03-18 12:49:48 +0000
committerErmal <eri@pfsense.org>2010-03-18 12:49:48 +0000
commit47aa4fc48cc02ead267a3e0586c884e349966a7c (patch)
treee04281d38222293d20046aa5eac6277410e3f9e1 /usr/local/www/wizard.php
parentdb67053af0da5e1ceebc60a3d5435a53bcec353f (diff)
downloadpfsense-47aa4fc48cc02ead267a3e0586c884e349966a7c.zip
pfsense-47aa4fc48cc02ead267a3e0586c884e349966a7c.tar.gz
Merge common name fields with descriptive name. Default to 3650 days of lifetime and 2048 bits key length.
Diffstat (limited to 'usr/local/www/wizard.php')
-rwxr-xr-xusr/local/www/wizard.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/local/www/wizard.php b/usr/local/www/wizard.php
index d84f692..5415479 100755
--- a/usr/local/www/wizard.php
+++ b/usr/local/www/wizard.php
@@ -562,8 +562,9 @@ function showchange() {
echo "<select class='formselect' " . $onchange . $multiple . $size . "id='" . $name . "' name='" . $name . "'>\n";
foreach ($field['options']['option'] as $opt) {
$selected = "";
- if($value == $opt['value']) $selected = " SELECTED";
- echo "\t<option name='" . $opt['name'] . "' value='" . $opt['value'] . "'" . $selected . ">";
+ if($value == $opt['value'])
+ $selected = " SELECTED";
+ echo "\t<option name='" . $opt['name'] . "' value='" . $opt['value'] . "'" . $selected . ">";
if ($opt['displayname'])
echo $opt['displayname'];
else
OpenPOWER on IntegriCloud