Merge branch 'ent-7126-recuperar-selector-de-temas-en-setup-visual' into 'develop'
revert selector theme See merge request artica/pandorafms!3915
This commit is contained in:
commit
aa1e5022a2
|
@ -218,7 +218,7 @@ $buttons['websocket_engine'] = [
|
|||
|
||||
$buttons['external_tools'] = [
|
||||
'active' => false,
|
||||
'text' => '<a href="'.ui_get_full_url('index.php?sec=gsetup&sec2=godmode/setup/setup§ion=external_tools').'">'.html_print_image('images/nettool.png', true, ['title' => __('External Tools')]).'</a>',
|
||||
'text' => '<a href="'.ui_get_full_url('index.php?sec=gsetup&sec2=godmode/setup/setup§ion=external_tools').'">'.html_print_image('images/nettool.png', true, ['title' => __('External Tools'), 'class' => 'invert_filter']).'</a>',
|
||||
];
|
||||
|
||||
if ($config['activate_gis']) {
|
||||
|
|
|
@ -131,6 +131,20 @@ $table_styles->style[0] = 'font-weight: bold;';
|
|||
$table_styles->size[0] = '50%';
|
||||
$table_styles->data = [];
|
||||
|
||||
|
||||
$table_styles->data[$row][0] = __('Style template');
|
||||
$table_styles->data[$row][1] = html_print_select(
|
||||
themes_get_css(),
|
||||
'style',
|
||||
$config['style'].'.css',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
true
|
||||
);
|
||||
$row++;
|
||||
|
||||
|
||||
$table_styles->data[$row][0] = __('Status icon set');
|
||||
$iconsets['default'] = __('Colors');
|
||||
$iconsets['faces'] = __('Faces');
|
||||
|
|
|
@ -43,7 +43,11 @@ function themes_get_css($path=false)
|
|||
|
||||
$retval = [];
|
||||
foreach ($files as $file) {
|
||||
// Skip '..' and '.' entries and files not ended in '.css'
|
||||
if ($file === 'pandora_green_old.css') {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Skip '..' and '.' entries and files not ended in '.css'.
|
||||
if ($path && ($file == '.' || $file == '..' || strtolower(substr($file, (strlen($file) - 4))) !== '.css')) {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue