' .
html_print_image ("images/visual_console.png", true, array ("title" => __('Visual consoles list'))) .'';
if (check_acl ($config["id_user"], $id_group, "RW")) {
$url_base = 'index.php?sec=reporting&sec2=godmode/reporting/visual_console_builder&action=';
$hash = md5($config["dbpass"] . $id_layout. $config["id_user"]);
$options['public_link']['text'] = ''.
html_print_image ("images/camera_mc.png", true, array ("title" => __('Show link to public Visual Console'))).'';
$options['public_link']['active'] = false;
$options['data']['text'] = '' .
html_print_image ("images/op_reporting.png", true, array ("title" => __('Main data'))) .'';
$options['list_elements']['text'] = '' .
html_print_image ("images/list.png", true, array ("title" => __('List elements'))) .'';
$options['wizard']['text'] = '' .
html_print_image ("images/wand.png", true, array ("title" => __('Wizard'))) .'';
$options['editor']['text'] = '' .
html_print_image ("images/builder.png", true, array ("title" => __('Builder'))) .'';
}
$options['view']['text'] = '' . html_print_image ("images/operation.png", true, array ("title" => __('View'))) .'';
$options['view']['active'] = true;
if (!defined('METACONSOLE')) {
if ($config["pure"] == 0) {
$options['pure']['text'] = '' . html_print_image ("images/full_screen.png", true, array ("title" => __('Full screen mode')))
. "";
}
else {
$options['pure']['text'] = ''
. html_print_image ("images/normal_screen.png", true, array ("title" => __('Back to normal mode')))
. "";
// In full screen, the manage options are not available
$options = array('view' => $options['view'], 'pure' => $options['pure']);
}
$options['pure']['active'] = false;
}
//Set the hidden value for the javascript
if (defined('METACONSOLE')) {
html_print_input_hidden('metaconsole', 1);
}
else {
html_print_input_hidden('metaconsole', 0);
ui_print_page_header ($layout_name, "images/visual_console.png", false, '', false, $options);
}
visual_map_print_visual_map ($id_layout);
if ($config["pure"] && ((int)get_parameter('refr', 0)) != 0) {
ui_require_jquery_file ('countdown');
ui_require_css_file ('countdown');
}
ui_require_javascript_file ('wz_jsgraphics');
ui_require_javascript_file ('pandora_visual_console');
?>