disabled Title (header) in open
This commit is contained in:
parent
863b5f3dc8
commit
76ce47fea1
|
@ -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()) {
|
||||
|
@ -1624,6 +1620,13 @@ var added_config1 = {
|
|||
|
||||
$(document).ready (function () {
|
||||
|
||||
var enterprise = '<?php echo enterprise_installed(); ?>';
|
||||
|
||||
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) {
|
||||
|
|
Loading…
Reference in New Issue