diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-08-24 12:05:28 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-08-24 12:05:28 +0000 |
commit | da17d77e63068481522ad42cca8a020ca31ef639 (patch) | |
tree | cd4cf68ad91bee427c91f2499ccdd6df8dcab3ba /usr/local/www/guiconfig.inc | |
parent | 8f192f4e81a83d52d46c26d7c78a228474dc4d07 (diff) | |
download | pfsense-da17d77e63068481522ad42cca8a020ca31ef639.zip pfsense-da17d77e63068481522ad42cca8a020ca31ef639.tar.gz |
* In config_install validate the file that will be installed not the already present config!
* Convert most hardcoded /tmp to the global variable
* Do not reboot the firewall under the hood without confirmation from the user after restoring. Just ask the user to do it.
* Fix various things in restore/backup code.
Diffstat (limited to 'usr/local/www/guiconfig.inc')
-rwxr-xr-x | usr/local/www/guiconfig.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc index 9880f7f..ebb1e35 100755 --- a/usr/local/www/guiconfig.inc +++ b/usr/local/www/guiconfig.inc @@ -250,7 +250,7 @@ function verify_gzip_file($fname) { function print_info_box_np($msg, $name="apply",$value="Apply changes") { global $g; - if(stristr($msg, "apply") == true || stristr($msg, "save") || stristr($msg, "create")) { + if(stristr($msg, "apply") != false || stristr($msg, "save") != false || stristr($msg, "create") != false) { $savebutton = "<td class='infoboxsave'>"; $savebutton .= "<input name=\"{$name}\" type=\"submit\" class=\"formbtn\" id=\"${name}\" value=\"{$value}\">"; if($_POST['if']) @@ -972,4 +972,4 @@ function rule_popup($src,$srcport,$dst,$dstport){ } } -?>
\ No newline at end of file +?> |