From 7c35be3e2af2be9735c9dd2c642db86ad8e7bf22 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 24 Jun 2005 03:34:25 +0000 Subject: [PATCH] seperate load and save message. dont use ! for load messages. --- usr/local/www/edit.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr/local/www/edit.php b/usr/local/www/edit.php index 7c83ff44a0..0f7d32a2a6 100755 --- a/usr/local/www/edit.php +++ b/usr/local/www/edit.php @@ -35,7 +35,7 @@ if (($_POST['submit'] == "Load") && file_exists($_POST['savetopath'])) { $content = fread($fd, filesize($_POST['savetopath'])); fclose($fd); $edit_area=""; - $savemsg = "Loaded text from " . $_POST['savetopath']; + $loadmsg = "Loaded text from " . $_POST['savetopath']; } else if (($_POST['submit'] == "Save")) { conf_mount_rw(); $content = ereg_replace("\r","",$_POST['content']) ; @@ -140,6 +140,7 @@ function sf() { document.forms[0].savetopath.focus(); }

+