summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-03-12 19:19:02 +0000
committerBill Marquette <billm@pfsense.org>2005-03-12 19:19:02 +0000
commitf4a909038f2fdd1cf54e63b4a950751afefd220b (patch)
tree103af6c41cd015905640fd4c1d4f53b6101462d8 /usr/local
parenta509ff632bf6f748db99394d76b5f7f1f255f8a2 (diff)
downloadpfsense-f4a909038f2fdd1cf54e63b4a950751afefd220b.zip
pfsense-f4a909038f2fdd1cf54e63b4a950751afefd220b.tar.gz
touch up alternate firmware option a little
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/system_advanced.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php
index 444619c..0cfa118 100755
--- a/usr/local/www/system_advanced.php
+++ b/usr/local/www/system_advanced.php
@@ -311,7 +311,7 @@ function enable_altfirmwareurl(enable_over) {
<tr>
<td valign="top" class="vncell">Alternate firmware URL</td>
<td class="vtable">
- <input name="altfirmwareurl" type="checkbox" id="altfirmwareurl" value="yes" onClick="enable_altfirmwareurl(false)" <?php if ($pconfig['altfirmwareurl']) echo "checked"; ?>> Use a different URL for firmware upgrades<br>
+ <input name="altfirmwareurl" type="checkbox" id="altfirmwareurl" value="yes" onClick="enable_altfirmwareurl()" <?php if (isset($pconfig['altfirmwareurl'])) echo "checked"; ?>> Use a different URL for firmware upgrades<br>
Base URL: <input name="firmwareurl" type="input" id="firmwareurl" size="64" value="<?php if ($pconfig['firmwareurl']) echo $pconfig['firmwareurl']; else echo $g['firmwarebaseurl']; ?>"><br>
Filename: <input name="firmwarename" type="input" id="firmwarename" size="32" value="<?php if ($pconfig['firmwarename']) echo $pconfig['firmwarename']; else echo $g['firmwarefilename']; ?>">
<span class="vexpl"><br>
@@ -452,6 +452,7 @@ function enable_altfirmwareurl(enable_over) {
<script language="JavaScript">
<!--
enable_change(false);
+enable_altfirmwareurl(false);
//-->
</script>
<?php include("fend.inc"); ?>
OpenPOWER on IntegriCloud