Fixed error without enterprise.

This commit is contained in:
Junichi Satoh 2017-03-07 19:20:18 +09:00
parent 15bcd0add8
commit c50fd249be
1 changed files with 7 additions and 2 deletions

View File

@ -206,11 +206,16 @@ $row++;
$table_styles->data[$row][0] = __('Custom logo (login)') . ui_print_help_icon("custom_logo_login", true);
if(enterprise_installed()) {
$table_styles->data[$row][1] = html_print_select(
list_files('enterprise/images/custom_logo_login', "png", 1, 0), 'custom_logo_login',
$config["custom_logo_login"], '', '', '',true,false,true,'',$open,'width:240px');
}
else {
$table_styles->data[$row][1] = html_print_select(
"", 'custom_logo_login',
$config["custom_logo_login"], '', '', '',true,false,true,'',$open,'width:240px');
}
$table_styles->data[$row][1] .= " " . html_print_button(__("View"), 'custom_logo_login_preview', $open, '', 'class="sub camera"', true,false,$open,'visualmodal');
$row++;