summaryrefslogtreecommitdiffstats
path: root/usr/local/www/guiconfig.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2011-01-25 12:11:54 -0500
committerScott Ullrich <sullrich@pfsense.org>2011-01-25 12:11:54 -0500
commitd413cd50f3e23b4a27520cb32e672db4dba63184 (patch)
treef6025d64402da2b032b22158504e3d6b3db115ee /usr/local/www/guiconfig.inc
parent4e9781359225f503b83b3d1e4dd9bbacbb1a3b0a (diff)
downloadpfsense-d413cd50f3e23b4a27520cb32e672db4dba63184.zip
pfsense-d413cd50f3e23b4a27520cb32e672db4dba63184.tar.gz
Adding switch to prevent dropdown menu creation.
Diffstat (limited to 'usr/local/www/guiconfig.inc')
-rwxr-xr-xusr/local/www/guiconfig.inc11
1 files changed, 4 insertions, 7 deletions
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc
index 70f9459..7835e77 100755
--- a/usr/local/www/guiconfig.inc
+++ b/usr/local/www/guiconfig.inc
@@ -881,7 +881,7 @@ function echo_array($array,$return_me=false){
* RESULT
* null
******/
-function display_top_tabs(& $tab_array) {
+function display_top_tabs(& $tab_array, $no_drop_down = false) {
global $HTTP_SERVER_VARS;
global $config;
global $g;
@@ -896,16 +896,13 @@ function display_top_tabs(& $tab_array) {
*/
/* empty string code */
- if ($tab_array_indent == '')
- {
+ if ($tab_array_indent == '') {
$tab_array_indent = 0;
}
- if ($tab_array_space == '')
- {
+ if ($tab_array_space == '') {
$tab_array_space = 1;
}
- if ($tab_array_char_limit == '')
- {
+ if ($tab_array_char_limit == '' && !$no_drop_down) {
$tab_array_char_limit = 82;
}
OpenPOWER on IntegriCloud