2009-12-09 Raul Mateos <raulofpandora@gmail.com>

* godmode/reporting/map_builder.php: Changed H1 to H3, to maintain coherence.

	* operation/visual_console/render_view.php: Added title.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2187 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
raulmateos 2009-12-09 14:48:26 +00:00
parent 3383036f83
commit 5b038b6276
3 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2009-12-09 Raul Mateos <raulofpandora@gmail.com>
* godmode/reporting/map_builder.php: Changed H1 to H3, to maintain coherence.
* operation/visual_console/render_view.php: Added title.
2009-12-09 Raul Mateos <raulofpandora@gmail.com> 2009-12-09 Raul Mateos <raulofpandora@gmail.com>
* godmode/reporting/reporting_builder.php: Print table of items only * godmode/reporting/reporting_builder.php: Print table of items only

View File

@ -387,7 +387,7 @@ if (! $edit_layout && ! $id_layout) {
if ($id_layout) { if ($id_layout) {
/* Show visual map preview */ /* Show visual map preview */
echo '<h1>'.__('preview').'</h1>'; echo '<h3>'.__('preview').'</h3>';
print_pandora_visual_map ($id_layout, false, true); print_pandora_visual_map ($id_layout, false, true);
$images_list = array (); $images_list = array ();
@ -407,7 +407,7 @@ if (! $edit_layout && ! $id_layout) {
/* Layout data trash */ /* Layout data trash */
echo '<form id="form_layout_data_trash" action="" method="post">'; echo '<form id="form_layout_data_trash" action="" method="post">';
echo '<div id="layout_trash_drop">'; echo '<div id="layout_trash_drop">';
echo '<h1>'.__('Map element trash').'</h1>'; echo '<h3>'.__('Map element trash').'</h3>';
// DISABLE UNTIL FIX THE BUG WITH ELEMENTS WITH BIG DIMENSIONS // DISABLE UNTIL FIX THE BUG WITH ELEMENTS WITH BIG DIMENSIONS
// echo __('Drag an element here to delete from the map'); // echo __('Drag an element here to delete from the map');
echo '<span id="elements"> </span>'; echo '<span id="elements"> </span>';
@ -463,7 +463,7 @@ if (! $edit_layout && ! $id_layout) {
$agents = get_group_agents ($id_group); $agents = get_group_agents ($id_group);
echo '<div id="layout_editor_drop">'; echo '<div id="layout_editor_drop">';
echo '<h1>'.__('Map element editor').'</h1>'; echo '<h3>'.__('Map element editor').'</h3>';
echo __('Drag an element here to edit the properties'); echo __('Drag an element here to edit the properties');
$table->data = array (); $table->data = array ();

View File

@ -52,7 +52,8 @@ if (! give_acl ($config["id_user"], $id_group, "AR")) {
} }
// Render map // Render map
echo "<h1>".$layout_name."&nbsp;&nbsp;"; echo "<h2>".__('Visual console')." &raquo; ".__('Map');
echo "&nbsp;".$layout_name."&nbsp;&nbsp;";
if ($config["pure"] == 0) { if ($config["pure"] == 0) {
echo '<a href="index.php?sec=visualc&amp;sec2=operation/visual_console/render_view&amp;id='.$id_layout.'&amp;refr='.$config["refr"].'&amp;pure=1">'; echo '<a href="index.php?sec=visualc&amp;sec2=operation/visual_console/render_view&amp;id='.$id_layout.'&amp;refr='.$config["refr"].'&amp;pure=1">';
@ -67,7 +68,7 @@ if ($config["pure"] == 0) {
if (give_acl ($config["id_user"], $id_group, "AW")) if (give_acl ($config["id_user"], $id_group, "AW"))
echo '<a href="index.php?sec=greporting&amp;sec2=godmode/reporting/map_builder&amp;id_layout='.$id_layout.'">'.print_image ("images/setup.png", true, array ("title" => __('Setup'))).'</a>'; echo '<a href="index.php?sec=greporting&amp;sec2=godmode/reporting/map_builder&amp;id_layout='.$id_layout.'">'.print_image ("images/setup.png", true, array ("title" => __('Setup'))).'</a>';
echo '</h1>'; echo '</h2>';
print_pandora_visual_map ($id_layout); print_pandora_visual_map ($id_layout);