summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorjim-p <jim@pingle.org>2010-04-12 15:00:16 -0400
committerjim-p <jim@pingle.org>2010-04-12 15:00:16 -0400
commitc062a711147e64c8c5e6681617d06cded8afe6c8 (patch)
tree3537e68a8861f097450f3423841535ad6d549e6c /usr/local
parent5ce63c3e8e028dfd59ee5f32a504772b458d717c (diff)
downloadpfsense-c062a711147e64c8c5e6681617d06cded8afe6c8.zip
pfsense-c062a711147e64c8c5e6681617d06cded8afe6c8.tar.gz
Fix wizard handling of password fields. Ticket #500.
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/wizard.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr/local/www/wizard.php b/usr/local/www/wizard.php
index 860e8c5..e5d3a8d 100755
--- a/usr/local/www/wizard.php
+++ b/usr/local/www/wizard.php
@@ -471,14 +471,18 @@ function showchange() {
break;
case "password":
- if(!$field['dontdisplayname']) {
+ if ($field['displayname']) {
+ echo "<td width=\"22%\" align=\"right\" class=\"vncellreq\">\n";
+ echo $field['displayname'];
+ echo ":</td>\n";
+ } else if(!$field['dontdisplayname']) {
echo "<td width=\"22%\" align=\"right\" class=\"vncellreq\">\n";
echo fixup_string($field['name']);
echo ":</td>\n";
}
if(!$field['dontcombinecells'])
echo "<td class=\"vtable\">";
- echo "<input class='formfld password' id='" . $name . "' name='" . $name . "' value='" . $value . "' type='password' ";
+ echo "<input class='formfld pwd' id='" . $name . "' name='" . $name . "' value='" . $value . "' type='password' ";
if($field['size'])
echo " size='" . $field['size'] . "' ";
echo ">\n";
OpenPOWER on IntegriCloud