mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
Added open images folder to custom logo edit in setup visual. Ticket #51
This commit is contained in:
parent
f1bdcbd3c0
commit
e7bb60b61d
@ -186,14 +186,14 @@ $row++;
|
|||||||
$table_styles->data[$row][0] = __('Custom logo') . ui_print_help_icon("custom_logo", true);
|
$table_styles->data[$row][0] = __('Custom logo') . ui_print_help_icon("custom_logo", true);
|
||||||
|
|
||||||
if(enterprise_installed()){
|
if(enterprise_installed()){
|
||||||
|
$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(
|
$table_styles->data[$row][1] = html_print_select(
|
||||||
list_files('enterprise/images/custom_logo', "png", 1, 0), 'custom_logo',
|
array_merge($ent_files, $open_files), 'custom_logo',
|
||||||
$config["custom_logo"], '', '', '',true,false,true,'',$open,'width:240px');
|
$config["custom_logo"], '', '', '',true,false,true,'',$open,'width:240px');
|
||||||
|
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
|
||||||
$table_styles->data[$row][1] = html_print_select(
|
$table_styles->data[$row][1] = html_print_select(
|
||||||
list_files('images/custom_logo', "png", 1, 0), 'custom_logo',
|
list_files('images/custom_logo', "png", 1, 0), 'custom_logo',
|
||||||
$config["custom_logo"], '', '', '',true,false,true,'',$open,'width:240px');
|
$config["custom_logo"], '', '', '',true,false,true,'',$open,'width:240px');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user