diff options
author | NOYB <Al_Stu@Frontier.com> | 2016-01-20 17:47:09 -0800 |
---|---|---|
committer | NOYB <Al_Stu@Frontier.com> | 2016-01-20 17:47:09 -0800 |
commit | 94f90a27d641fbb7b9d9be2d6d57532e91d940fb (patch) | |
tree | 73a99b0d893ec76e76674cff08838380264bfe61 | |
parent | 2794ddb451f6304e5781cfa8a7e7b07969941209 (diff) | |
download | pfsense-94f90a27d641fbb7b9d9be2d6d57532e91d940fb.zip pfsense-94f90a27d641fbb7b9d9be2d6d57532e91d940fb.tar.gz |
Status / System Logs - Tab Array
Only call display_top_tabs function if there is a tab array to display.
The display_top_tabs function prefixes the type parameter with 'nav nav-'. So passing 'nav nav-tabs' adds a nonexistent class; 'nav-nav'. Only pass 'tabs' as the type.
-rw-r--r-- | src/usr/local/www/status_logs_common.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/usr/local/www/status_logs_common.inc b/src/usr/local/www/status_logs_common.inc index f82176c..c3f6a83 100644 --- a/src/usr/local/www/status_logs_common.inc +++ b/src/usr/local/www/status_logs_common.inc @@ -137,7 +137,9 @@ function tab_array_logs_common() { (($logfile == 'l2tps') && ($vpntype == "l2tp")), "/status_logs_vpn.php?logfile=l2tps&vpntype=l2tp"); } - display_top_tabs($tab_array, false, 'nav nav-tabs'); + if ($tab_array) { + display_top_tabs($tab_array, false, 'tabs'); + } } |