summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www
diff options
context:
space:
mode:
authorSteve Beaver <sbeaver@netgate.com>2017-09-28 08:47:27 -0400
committerSteve Beaver <sbeaver@netgate.com>2017-09-28 08:49:03 -0400
commit5f63cb40ca75f055f85427e78d9e2348b65b05c4 (patch)
treeb452c9c67d304dd1c62efa313d468e0874fa33e8 /src/usr/local/www
parentf3c5f4c57362a893868976054c00dd7d9f37e721 (diff)
downloadpfsense-5f63cb40ca75f055f85427e78d9e2348b65b05c4.zip
pfsense-5f63cb40ca75f055f85427e78d9e2348b65b05c4.tar.gz
Fixed #7889
Increase max number of characters allowed in a tab array to 256 to prevent automatic conversion to pull-down
Diffstat (limited to 'src/usr/local/www')
-rw-r--r--src/usr/local/www/guiconfig.inc2
-rw-r--r--src/usr/local/www/index.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/guiconfig.inc b/src/usr/local/www/guiconfig.inc
index ff498d0..1ba85c1 100644
--- a/src/usr/local/www/guiconfig.inc
+++ b/src/usr/local/www/guiconfig.inc
@@ -1039,7 +1039,7 @@ function display_top_tabs(& $tab_array, $no_drop_down = false, $type = 'pills',
}
if ($tab_array_char_limit == '') {
- $tab_array_char_limit = 92;
+ $tab_array_char_limit = 256;
}
foreach ($tab_array as $tab_id => $ta) {
diff --git a/src/usr/local/www/index.php b/src/usr/local/www/index.php
index d90d788..02925d2 100644
--- a/src/usr/local/www/index.php
+++ b/src/usr/local/www/index.php
@@ -490,7 +490,7 @@ foreach ($widgets as $widgetkey => $widgetconfig) {
<?php
// Import the modal form used to display the copyright/usage information, then rename it
-// THis should cause it to display only once per install or update
+// This should cause it to display only once per install or update
if (file_exists('/usr/local/www/copynotice.inc')) {
require_once('/usr/local/www/copynotice.inc');
rename('/usr/local/www/copynotice.inc', '/usr/local/www/copynotice.old');
OpenPOWER on IntegriCloud