summaryrefslogtreecommitdiffstats
path: root/usr/local/www/edit.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2004-12-12 20:25:24 +0000
committerScott Ullrich <sullrich@pfsense.org>2004-12-12 20:25:24 +0000
commit859329c867ad0deacb58b5c577d1c54f4767a436 (patch)
treef1769fdc0be8f278de4dd940a4798b5aeddeef2d /usr/local/www/edit.php
parenta7f908dbec43e9764b084ddd8c066f0de8ecc28a (diff)
downloadpfsense-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-xusr/local/www/edit.php6
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.
OpenPOWER on IntegriCloud