diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2004-12-12 20:25:24 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2004-12-12 20:25:24 +0000 |
commit | 859329c867ad0deacb58b5c577d1c54f4767a436 (patch) | |
tree | f1769fdc0be8f278de4dd940a4798b5aeddeef2d /usr/local/www/edit.php | |
parent | a7f908dbec43e9764b084ddd8c066f0de8ecc28a (diff) | |
download | pfsense-859329c867ad0deacb58b5c577d1c54f4767a436.zip pfsense-859329c867ad0deacb58b5c577d1c54f4767a436.tar.gz |
* converted return_menu to return_ext_menu in fbegin.inc.
* fixed interfaces left menu from not displaying additional interfaces by saving and restoring config value.
* equipped edit.php with the pfSense theme so it looks uniform
Diffstat (limited to 'usr/local/www/edit.php')
-rwxr-xr-x | usr/local/www/edit.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/local/www/edit.php b/usr/local/www/edit.php index 5ff055d..6a4197b 100755 --- a/usr/local/www/edit.php +++ b/usr/local/www/edit.php @@ -27,6 +27,8 @@ POSSIBILITY OF SUCH DAMAGE. */ +require("guiconfig.inc"); + if (($_POST['submit'] == "Load") && file_exists($_POST['savetopath'])) { $fd = fopen($_POST['savetopath'], "r"); $content = fread($fd, filesize($_POST['savetopath'])); @@ -68,6 +70,8 @@ else (modified for pfSense Edit/Save file by Scott Ullrich, Copyright 2004) */ +include("fbegin.inc"); + // Function: is Blank // Returns true or false depending on blankness of argument. @@ -82,7 +86,7 @@ function puts( $arg ) { echo "$arg\n"; } $Version = ''; $ScriptName = $HTTP_SERVER_VARS['SCRIPT_NAME']; -$Title = 'pfSense: edit file'; +$Title = gentitle("edit file"); // Get year. |