summaryrefslogtreecommitdiffstats
path: root/usr/local/www/guiconfig.inc
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/guiconfig.inc')
-rwxr-xr-xusr/local/www/guiconfig.inc14
1 files changed, 9 insertions, 5 deletions
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc
index 851fdec..44680aa 100755
--- a/usr/local/www/guiconfig.inc
+++ b/usr/local/www/guiconfig.inc
@@ -302,8 +302,12 @@ function print_info_box_np($msg, $name="apply",$value="Apply changes") {
eval($toeval);
}
+ if(!$savebutton) {
+ $savebutton = '<td class="infoboxsave"><input value="Close" type="button" onClick="$(\'redboxtable\').hide();"></td>';
+ }
+
echo <<<EOFnp
- <table class='infobox'>
+ <table class='infobox' id='redboxtable'>
<tr>
<td>
<div class='infoboxnp' id='redbox'>
@@ -319,6 +323,9 @@ function print_info_box_np($msg, $name="apply",$value="Apply changes") {
</tr>
</table>
</div>
+ <div>
+ <p/>
+ </div>
</td>
</tr>
</table>
@@ -327,15 +334,12 @@ function print_info_box_np($msg, $name="apply",$value="Apply changes") {
Rounded("div#redbox","all","#FFF","{$nifty_redbox}","smooth");
Rounded("td#blackbox","all","#FFF","{$nifty_blackbox}","smooth");
</script>
- <br/>
EOFnp;
}
function print_info_box($msg) {
- echo "<p>";
print_info_box_np($msg);
- echo "</p>";
}
function get_std_save_message($ok) {
@@ -996,4 +1000,4 @@ function rule_popup($src,$srcport,$dst,$dstport){
}
}
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud