Added open images folder to custom logo edit in setup visual. Ticket #51

This commit is contained in:
Arturo Gonzalez 2017-02-09 09:22:14 +01:00
parent f1bdcbd3c0
commit e7bb60b61d
1 changed files with 6 additions and 6 deletions

View File

@ -186,14 +186,14 @@ $row++;
$table_styles->data[$row][0] = __('Custom logo') . ui_print_help_icon("custom_logo", true);
if(enterprise_installed()){
$table_styles->data[$row][1] = html_print_select(
list_files('enterprise/images/custom_logo', "png", 1, 0), 'custom_logo',
$config["custom_logo"], '', '', '',true,false,true,'',$open,'width:240px');
$ent_files = list_files('enterprise/images/custom_logo', "png", 1, 0);
$open_files = list_files('images/custom_logo', "png", 1, 0);
$table_styles->data[$row][1] = html_print_select(
array_merge($ent_files, $open_files), 'custom_logo',
$config["custom_logo"], '', '', '',true,false,true,'',$open,'width:240px');
}
else{
$table_styles->data[$row][1] = html_print_select(
list_files('images/custom_logo', "png", 1, 0), 'custom_logo',
$config["custom_logo"], '', '', '',true,false,true,'',$open,'width:240px');