diff --git a/pandora_console/godmode/setup/setup_visuals.php b/pandora_console/godmode/setup/setup_visuals.php index 98d634f404..cc14c5d11e 100755 --- a/pandora_console/godmode/setup/setup_visuals.php +++ b/pandora_console/godmode/setup/setup_visuals.php @@ -463,19 +463,15 @@ if (enterprise_installed()) { $row++; } -// Title Header -if (enterprise_installed()) { - $table_styles->data[$row][0] = __('Title (header)'); - $table_styles->data[$row][1] = html_print_input_text('custom_title_header', $config['custom_title_header'], '', 50, 40, true); - $row++; -} +// Title Header. +$table_styles->data[$row][0] = __('Title (header)'); +$table_styles->data[$row][1] = html_print_input_text('custom_title_header', $config['custom_title_header'], '', 50, 40, true); +$row++; -// Subtitle Header -if (enterprise_installed()) { - $table_styles->data[$row][0] = __('Subtitle (header)'); - $table_styles->data[$row][1] = html_print_input_text('custom_subtitle_header', $config['custom_subtitle_header'], '', 50, 40, true); - $row++; -} +// Subtitle Header. +$table_styles->data[$row][0] = __('Subtitle (header)'); +$table_styles->data[$row][1] = html_print_input_text('custom_subtitle_header', $config['custom_subtitle_header'], '', 50, 40, true); +$row++; // login title1 if (enterprise_installed()) { @@ -1638,6 +1634,13 @@ var added_config1 = { $(document).ready (function () { + var enterprise = ''; + + if (enterprise === '') { + $('#text-custom_title_header').prop( "disabled", true ); + $('#text-custom_subtitle_header').prop( "disabled", true ); + } + // Show the cache expiration conf or not. $("input[name=legacy_vc]").change(function (e) { if ($(this).prop("checked") === true) {