summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-01 22:14:09 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-01 22:14:09 +0000
commit2e506568d0ab96fc5cf474272276e004cc0aa242 (patch)
tree3e5df48d3649eb50182be7dd94684ae9cd15c21a /usr
parent243aa7b95cc15352dbc7b8f87a7c77e8c135c897 (diff)
downloadpfsense-2e506568d0ab96fc5cf474272276e004cc0aa242.zip
pfsense-2e506568d0ab96fc5cf474272276e004cc0aa242.tar.gz
Alert the user that the changes have been applied.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/interfaces_assign.php13
1 files changed, 10 insertions, 3 deletions
diff --git a/usr/local/www/interfaces_assign.php b/usr/local/www/interfaces_assign.php
index ee1eb16..9ae9f6f 100755
--- a/usr/local/www/interfaces_assign.php
+++ b/usr/local/www/interfaces_assign.php
@@ -111,11 +111,10 @@ if ($_POST) {
}
}
+ $savemsg = get_std_save_message($retval);
+
write_config();
- /* reload all interfaces configuration */
- reload_interfaces();
-
}
}
@@ -191,6 +190,7 @@ include("head.inc");
<?php include("fbegin.inc"); ?>
<p class="pgtitle"><?=$pgtitle?></p>
<?php if ($input_errors) print_input_errors($input_errors); ?>
+<?php if ($savemsg) print_info_box($savemsg); ?>
<form action="interfaces_assign.php" method="post" name="iform" id="iform">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td class="tabnavtbl">
@@ -270,3 +270,10 @@ include("head.inc");
<?php include("fend.inc"); ?>
</body>
</html>
+
+<?php
+
+if($_POST) {
+ /* reload all interfaces configuration */
+ reload_interfaces();
+} \ No newline at end of file
OpenPOWER on IntegriCloud