diff options
author | Phil Davis <phil.davis@inf.org> | 2016-05-15 14:55:21 +0930 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2016-05-15 14:55:21 +0930 |
commit | a79dfdaa431d4f647fbcbaf63a5c55f081b2edc2 (patch) | |
tree | 23cd66725d97e9f8c9e91db6cf0007469b092ffe /src/usr/local | |
parent | c7759e4efae8b60311204a2957a7177aaa07f771 (diff) | |
download | pfsense-a79dfdaa431d4f647fbcbaf63a5c55f081b2edc2.zip pfsense-a79dfdaa431d4f647fbcbaf63a5c55f081b2edc2.tar.gz |
Make limiters info box work same as By Interface
The info box displayed on Firewall->Shaper, By Interface come down the bottom with and info icon and can be shown/hidden by the user.
The similar info box on Firewall->Shaper, Limiters sits in the main body with no info icon and cannot be shown/hidden, but can be dismissed.
Make the info box on Firewall->Shaper, Limiters dispaly and owrk the same as on "By Interface".
Diffstat (limited to 'src/usr/local')
-rw-r--r-- | src/usr/local/www/firewall_shaper_vinterface.php | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/usr/local/www/firewall_shaper_vinterface.php b/src/usr/local/www/firewall_shaper_vinterface.php index 3a8f793..6a87e75 100644 --- a/src/usr/local/www/firewall_shaper_vinterface.php +++ b/src/usr/local/www/firewall_shaper_vinterface.php @@ -432,9 +432,7 @@ display_top_tabs($tab_array); <td> <?php -if ($dfltmsg) { - print_info_box($dn_default_shaper_msg, 'info'); -} else { +if (!$dfltmsg) { // Add global buttons if (!$dontshow || $newqueue) { if ($can_add && ($action != "add")) { @@ -481,7 +479,17 @@ if ($dfltmsg) { </tbody> </table> </div> - +<?php +if ($dfltmsg) { +?> +<div> + <div class="infoblock"> + <?php print_info_box($dn_default_shaper_msg, 'info', false); ?> + </div> +</div> +<?php +} +?> <script type="text/javascript"> //<![CDATA[ events.push(function() { |