summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-22 23:41:09 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-22 23:41:09 +0000
commite613545f0ca85a1745c39e11bf8cdeaccada9027 (patch)
tree5a54fba785a9e54b89160b3e143096e06bc7da55 /usr
parent2646f45869a9030ad51318e769f9f252108d5fce (diff)
downloadpfsense-e613545f0ca85a1745c39e11bf8cdeaccada9027.zip
pfsense-e613545f0ca85a1745c39e11bf8cdeaccada9027.tar.gz
Include m0n0wall style alerts
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/edit.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/edit.php b/usr/local/www/edit.php
index d358c9c..02273c7 100755
--- a/usr/local/www/edit.php
+++ b/usr/local/www/edit.php
@@ -45,6 +45,7 @@ if (($_POST['submit'] == "Load") && file_exists($_POST['savetopath'])) {
fclose($fd);
$edit_area="";
$ulmsg = "Saved text to " . $_POST['savetopath'];
+ $savemsg = "Saved text to " . $_POST['savetopath'];
} else if (($_POST['submit'] == "Load") && !file_exists($_POST['savetopath'])) {
$ulmsg = "File not found " . $_POST['savetopath'];
$content = "";
@@ -140,7 +141,7 @@ function sf() { document.forms[0].savetopath.focus(); }
<body onLoad="sf();">
<p><span class="pgtitle"><?=$Title ?></span>
<?php if ($ulmsg) echo "<p><strong>" . $ulmsg . "</strong></p>\n"; ?>
-
+<?php if ($savemsg) print_info_box($savemsg); ?>
<form action="edit.php" method="POST">
<table>
<tr>
OpenPOWER on IntegriCloud