Revision d413cd50
Added by Scott Ullrich over 14 years ago
usr/local/www/guiconfig.inc | ||
---|---|---|
881 | 881 |
* RESULT |
882 | 882 |
* null |
883 | 883 |
******/ |
884 |
function display_top_tabs(& $tab_array) { |
|
884 |
function display_top_tabs(& $tab_array, $no_drop_down = false) {
|
|
885 | 885 |
global $HTTP_SERVER_VARS; |
886 | 886 |
global $config; |
887 | 887 |
global $g; |
... | ... | |
896 | 896 |
*/ |
897 | 897 |
|
898 | 898 |
/* empty string code */ |
899 |
if ($tab_array_indent == '') |
|
900 |
{ |
|
899 |
if ($tab_array_indent == '') { |
|
901 | 900 |
$tab_array_indent = 0; |
902 | 901 |
} |
903 |
if ($tab_array_space == '') |
|
904 |
{ |
|
902 |
if ($tab_array_space == '') { |
|
905 | 903 |
$tab_array_space = 1; |
906 | 904 |
} |
907 |
if ($tab_array_char_limit == '') |
|
908 |
{ |
|
905 |
if ($tab_array_char_limit == '' && !$no_drop_down) { |
|
909 | 906 |
$tab_array_char_limit = 82; |
910 | 907 |
} |
911 | 908 |
|
Also available in: Unified diff
Adding switch to prevent dropdown menu creation.