mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
Fixed error without enterprise.
This commit is contained in:
parent
15bcd0add8
commit
c50fd249be
@ -206,11 +206,16 @@ $row++;
|
|||||||
|
|
||||||
$table_styles->data[$row][0] = __('Custom logo (login)') . ui_print_help_icon("custom_logo_login", true);
|
$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(
|
$table_styles->data[$row][1] = html_print_select(
|
||||||
list_files('enterprise/images/custom_logo_login', "png", 1, 0), 'custom_logo_login',
|
list_files('enterprise/images/custom_logo_login', "png", 1, 0), 'custom_logo_login',
|
||||||
$config["custom_logo_login"], '', '', '',true,false,true,'',$open,'width:240px');
|
$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');
|
$table_styles->data[$row][1] .= " " . html_print_button(__("View"), 'custom_logo_login_preview', $open, '', 'class="sub camera"', true,false,$open,'visualmodal');
|
||||||
$row++;
|
$row++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user