diff options
author | Scott Ullrich <sullrich@pfsense-org.local> | 2009-08-24 16:25:35 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense-org.local> | 2009-08-24 16:25:35 -0400 |
commit | f2cb6a9fa6419541392f84b608b6d5757db9cd34 (patch) | |
tree | d5abcfa7e38d89632a9d89d735605901e71dd3ac /usr/local | |
parent | 888e7a271d8ebf9dfa28d86c14188f4a029d83eb (diff) | |
download | pfsense-f2cb6a9fa6419541392f84b608b6d5757db9cd34.zip pfsense-f2cb6a9fa6419541392f84b608b6d5757db9cd34.tar.gz |
Only show one notice and unbreak the apply button
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/interfaces_assign.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/usr/local/www/interfaces_assign.php b/usr/local/www/interfaces_assign.php index 3b84802..e788a93 100755 --- a/usr/local/www/interfaces_assign.php +++ b/usr/local/www/interfaces_assign.php @@ -312,15 +312,17 @@ if(file_exists("/var/run/interface_mismatch_reboot_needed")) <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> <?php include("fbegin.inc"); ?> -<?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"> + <?php if (file_exists("/tmp/reload_interfaces")): ?><p> -<?php print_info_box_np("The interface configuration has been changed.<br>You must apply - the changes in order for them to take effect.");?><br> + <?php print_info_box_np("The interface configuration has been changed.<br>You must apply the changes in order for them to take effect.");?><br> +<?php elseif; + <?php if ($savemsg) print_info_box($savemsg); ?> <?php endif; ?> +<?php if ($input_errors) print_input_errors($input_errors); ?> + <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr><td class="tabnavtbl"> <?php |