summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorBill Marquette <bill.marquette@gmail.com>2009-03-13 20:34:39 -0500
committerBill Marquette <bill.marquette@gmail.com>2009-03-13 20:35:05 -0500
commite4f8f7d260a93455099eeb115dd47d505af82ad5 (patch)
treef13c7ddb597e30eb1c418ba57c5e2b47dcc12634 /usr/local/www
parent37c98ef9d565b908e20aee4c106819c65499b841 (diff)
downloadpfsense-e4f8f7d260a93455099eeb115dd47d505af82ad5.zip
pfsense-e4f8f7d260a93455099eeb115dd47d505af82ad5.tar.gz
make packages use the same formfield css the rest of the UI uses
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/pkg_edit.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/pkg_edit.php b/usr/local/www/pkg_edit.php
index 9ab2c1e..5cd0e96 100755
--- a/usr/local/www/pkg_edit.php
+++ b/usr/local/www/pkg_edit.php
@@ -377,11 +377,11 @@ if ($pkg['tabs'] <> "") {
if($pkga['type'] == "input") {
if($pkga['size']) $size = " size='" . $pkga['size'] . "' ";
- echo "<input " . $size . " id='" . $pkga['fieldname'] . "' name='" . $pkga['fieldname'] . "' value='" . $value . "'>\n";
+ echo "<input " . $size . " id='" . $pkga['fieldname'] . "' name='" . $pkga['fieldname'] . "' class='formfld unknown' value='" . $value . "'>\n";
echo "<br>" . fixup_string($pkga['description']) . "\n";
} else if($pkga['type'] == "password") {
if($pkga['size']) $size = " size='" . $pkga['size'] . "' ";
- echo "<input " . $size . " id='" . $pkga['fieldname'] . "' type='password' " . $size . " name='" . $pkga['fieldname'] . "' value='" . $value . "'>\n";
+ echo "<input " . $size . " id='" . $pkga['fieldname'] . "' type='password' " . $size . " name='" . $pkga['fieldname'] . "' class='formfld pwd' value='" . $value . "'>\n";
echo "<br>" . fixup_string($pkga['description']) . "\n";
} else if($pkga['type'] == "select") {
$fieldname = $pkga['fieldname'];
@@ -623,9 +623,9 @@ function display_row($trc, $value, $fieldname, $type, $rowhelper, $size) {
else
echo "<input size='" . $size . "' type='checkbox' id='" . $fieldname . $trc . "' name='" . $fieldname . $trc . "' value='ON'>\n";
} else if($type == "password") {
- echo "<input size='" . $size . "' type='password' id='" . $fieldname . $trc . "' name='" . $fieldname . $trc . "' value='" . $value . "'>\n";
+ echo "<input size='" . $size . "' type='password' id='" . $fieldname . $trc . "' name='" . $fieldname . $trc . "' class='formfld pwd' value='" . $value . "'>\n";
} else if($type == "textarea") {
- echo "<textarea rows='2' cols='12' id='" . $fieldname . $trc . "' name='" . $fieldname . $trc . "'>" . $value . "</textarea>\n";
+ echo "<textarea rows='2' cols='12' id='" . $fieldname . $trc . "' class='formfld unknown' name='" . $fieldname . $trc . "'>" . $value . "</textarea>\n";
} else if($type == "select") {
echo "<select id='" . $fieldname . $trc . "' name='" . $fieldname . $trc . "'>\n";
foreach($rowhelper['options']['option'] as $rowopt) {
OpenPOWER on IntegriCloud