mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-25 14:54:52 +02:00
Fix bug icon builder view not legacy mode
This commit is contained in:
parent
cad6889c46
commit
10972a2364
@ -783,10 +783,13 @@ $buttons['wizard'] = [
|
|||||||
'active' => false,
|
'active' => false,
|
||||||
'text' => '<a href="'.$url_base.$action.'&tab=wizard&id_visual_console='.$idVisualConsole.'">'.html_print_image('images/wand.png', true, ['title' => __('Wizard')]).'</a>',
|
'text' => '<a href="'.$url_base.$action.'&tab=wizard&id_visual_console='.$idVisualConsole.'">'.html_print_image('images/wand.png', true, ['title' => __('Wizard')]).'</a>',
|
||||||
];
|
];
|
||||||
$buttons['editor'] = [
|
if ($config['legacy_vc']) {
|
||||||
'active' => false,
|
$buttons['editor'] = [
|
||||||
'text' => '<a href="'.$url_base.$action.'&tab=editor&id_visual_console='.$idVisualConsole.'">'.html_print_image('images/builder.png', true, ['title' => __('Builder')]).'</a>',
|
'active' => false,
|
||||||
];
|
'text' => '<a href="'.$url_base.$action.'&tab=editor&id_visual_console='.$idVisualConsole.'">'.html_print_image('images/builder.png', true, ['title' => __('Builder')]).'</a>',
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
$buttons['view'] = [
|
$buttons['view'] = [
|
||||||
'active' => false,
|
'active' => false,
|
||||||
'text' => '<a href="'.$url_view.'">'.html_print_image('images/operation.png', true, ['title' => __('View')]).'</a>',
|
'text' => '<a href="'.$url_view.'">'.html_print_image('images/operation.png', true, ['title' => __('View')]).'</a>',
|
||||||
|
@ -399,4 +399,4 @@ $ignored_params['refr'] = '';
|
|||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user