diff options
author | Phil Davis <phil.davis@inf.org> | 2016-01-07 12:45:49 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2016-01-07 12:45:49 +0545 |
commit | b9adcf8bfec936cb8c5841f6c95368605faa2ec4 (patch) | |
tree | d98e0bfd63cb281064f158b4974d340a02237de8 /src/usr/local | |
parent | 24c16d618ea9f61a07b016808915706c9d2da7f5 (diff) | |
download | pfsense-b9adcf8bfec936cb8c5841f6c95368605faa2ec4.zip pfsense-b9adcf8bfec936cb8c5841f6c95368605faa2ec4.tar.gz |
status_logs_filter_summary make the info an info box
The existing behavior in 2.3-BETA is that if you close this box with the "x" it goes away completely and you cannot get it back.
Do we want to make it a "proper" info box that can be open and closed as desired? (like I did here)
Note: with this change the info "i" is displayed in the closed state. Maybe it should be open by default?
Diffstat (limited to 'src/usr/local')
-rw-r--r-- | src/usr/local/www/status_logs_filter_summary.php | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/usr/local/www/status_logs_filter_summary.php b/src/usr/local/www/status_logs_filter_summary.php index 4e23f93..a88038e 100644 --- a/src/usr/local/www/status_logs_filter_summary.php +++ b/src/usr/local/www/status_logs_filter_summary.php @@ -153,11 +153,14 @@ foreach ($filterlog as $fe) { } } - print("<br />"); -$infomsg = sprintf('This is a summary of the last %1$s lines of the firewall log (Max %2$s).', $gotlines, $lines); -print_info_box($infomsg, info); +$infomsg = sprintf(gettext('This is a summary of the last %1$s lines of the firewall log (Max %2$s).'), $gotlines, $lines); ?> +<div> + <div id="infoblock"> + <?=print_info_box($infomsg, 'info');?> + </div> +</div> <script src="d3pie/d3pie.min.js"></script> <script src="d3pie/d3.min.js"></script> @@ -350,4 +353,4 @@ var pie = new d3pie("pieChart<?=$chartnum?>", { <?php include("foot.inc"); -?>
\ No newline at end of file +?> |