diff options
author | Sander van Leeuwen <sander@kraagjes.nl> | 2015-04-21 11:35:14 +0200 |
---|---|---|
committer | Sander van Leeuwen <sander@kraagjes.nl> | 2015-04-21 11:35:14 +0200 |
commit | 748cbea62c5fc9568003e9cbb4aba8858ace50b4 (patch) | |
tree | 97fa928bc2d2e864c0bd6f798a88d2270d21d031 /usr | |
parent | 40d263e77c2b1d36312ba942fa424616ea46f766 (diff) | |
download | pfsense-748cbea62c5fc9568003e9cbb4aba8858ace50b4.zip pfsense-748cbea62c5fc9568003e9cbb4aba8858ace50b4.tar.gz |
Update display_top_tabs to use pills as default
Refs. #107
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/guiconfig.inc | 2 | ||||
-rw-r--r-- | usr/local/www/vpn_ipsec.php | 2 | ||||
-rw-r--r-- | usr/local/www/vpn_ipsec_keys.php | 2 | ||||
-rw-r--r-- | usr/local/www/vpn_ipsec_mobile.php | 2 | ||||
-rw-r--r-- | usr/local/www/vpn_ipsec_settings.php | 2 | ||||
-rw-r--r-- | usr/local/www/vpn_l2tp.php | 2 | ||||
-rw-r--r-- | usr/local/www/vpn_l2tp_users.php | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc index f3c3f3c..9b8e7bd 100644 --- a/usr/local/www/guiconfig.inc +++ b/usr/local/www/guiconfig.inc @@ -902,7 +902,7 @@ function echo_array($array,$return_me=false){ * RESULT * null ******/ -function display_top_tabs(& $tab_array, $no_drop_down = false, $type = 'tabs') { +function display_top_tabs(& $tab_array, $no_drop_down = false, $type = 'pills') { global $config; global $g; global $tab_array_indent; diff --git a/usr/local/www/vpn_ipsec.php b/usr/local/www/vpn_ipsec.php index 5740274..dd0abc8 100644 --- a/usr/local/www/vpn_ipsec.php +++ b/usr/local/www/vpn_ipsec.php @@ -236,7 +236,7 @@ include("head.inc"); $tab_array[1] = array(gettext("Mobile clients"), false, "vpn_ipsec_mobile.php"); $tab_array[2] = array(gettext("Pre-Shared Keys"), false, "vpn_ipsec_keys.php"); $tab_array[3] = array(gettext("Advanced Settings"), false, "vpn_ipsec_settings.php"); - display_top_tabs($tab_array, false, 'pills'); + display_top_tabs($tab_array); require('classes/Form.class.php'); $form = new Form; diff --git a/usr/local/www/vpn_ipsec_keys.php b/usr/local/www/vpn_ipsec_keys.php index 423c3d0..db931b0 100644 --- a/usr/local/www/vpn_ipsec_keys.php +++ b/usr/local/www/vpn_ipsec_keys.php @@ -96,7 +96,7 @@ if (is_subsystem_dirty('ipsec')) $tab_array[1] = array(gettext("Mobile clients"), false, "vpn_ipsec_mobile.php"); $tab_array[2] = array(gettext("Pre-Shared Keys"), true, "vpn_ipsec_keys.php"); $tab_array[3] = array(gettext("Advanced Settings"), false, "vpn_ipsec_settings.php"); - display_top_tabs($tab_array, false, 'pills'); + display_top_tabs($tab_array); ?> <div class="table-responsive"> diff --git a/usr/local/www/vpn_ipsec_mobile.php b/usr/local/www/vpn_ipsec_mobile.php index 241bc4d..aa589b1 100644 --- a/usr/local/www/vpn_ipsec_mobile.php +++ b/usr/local/www/vpn_ipsec_mobile.php @@ -339,7 +339,7 @@ $tab_array[0] = array(gettext("Tunnels"), false, "vpn_ipsec.php"); $tab_array[1] = array(gettext("Mobile clients"), true, "vpn_ipsec_mobile.php"); $tab_array[2] = array(gettext("Pre-Shared Key"), false, "vpn_ipsec_keys.php"); $tab_array[3] = array(gettext("Advanced Settings"), false, "vpn_ipsec_settings.php"); -display_top_tabs($tab_array, false, 'pills'); +display_top_tabs($tab_array); require('classes/Form.class.php'); $form = new Form; diff --git a/usr/local/www/vpn_ipsec_settings.php b/usr/local/www/vpn_ipsec_settings.php index 2d71a6c..7f92c4c 100644 --- a/usr/local/www/vpn_ipsec_settings.php +++ b/usr/local/www/vpn_ipsec_settings.php @@ -235,7 +235,7 @@ $tab_array[0] = array(gettext("Tunnels"), false, "vpn_ipsec.php"); $tab_array[1] = array(gettext("Mobile clients"), false, "vpn_ipsec_mobile.php"); $tab_array[2] = array(gettext("Pre-Shared Key"), false, "vpn_ipsec_keys.php"); $tab_array[3] = array(gettext("Advanced Settings"), true, "vpn_ipsec_settings.php"); -display_top_tabs($tab_array, false, 'pills'); +display_top_tabs($tab_array); require('classes/Form.class.php'); $form = new Form; diff --git a/usr/local/www/vpn_l2tp.php b/usr/local/www/vpn_l2tp.php index 3451c6b..d70656d 100644 --- a/usr/local/www/vpn_l2tp.php +++ b/usr/local/www/vpn_l2tp.php @@ -280,7 +280,7 @@ function enable_change(enable_over) { $tab_array = array(); $tab_array[0] = array(gettext("Configuration"), true, "vpn_l2tp.php"); $tab_array[1] = array(gettext("Users"), false, "vpn_l2tp_users.php"); -display_top_tabs($tab_array, false, 'pills'); +display_top_tabs($tab_array); ?> <div class="panel panel-default"> diff --git a/usr/local/www/vpn_l2tp_users.php b/usr/local/www/vpn_l2tp_users.php index 6eac676..d03a7a6 100644 --- a/usr/local/www/vpn_l2tp_users.php +++ b/usr/local/www/vpn_l2tp_users.php @@ -88,7 +88,7 @@ include("head.inc"); $tab_array = array(); $tab_array[0] = array(gettext("Configuration"), false, "vpn_l2tp.php"); $tab_array[1] = array(gettext("Users"), true, "vpn_l2tp_users.php"); - display_top_tabs($tab_array, false, 'pills'); + display_top_tabs($tab_array); ?> <div class="table-responsive"> <table class="table table-striped table-hover"> |