2012-04-11 Dario Rodriguez <dario.rodriguez@artica.es>

* godmode/reporting/reporting_builder.php
        godmode/reporting/graphs.php: Respored missing tabs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5933 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2012-04-11 08:37:30 +00:00
parent 821a9abee6
commit 97a95199af
3 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2012-04-11 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/reporting/reporting_builder.php
godmode/reporting/graphs.php: Respored missing tabs
2012-04-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/reporting/reporting_builder.item_editor.php: Several

View File

@ -35,7 +35,7 @@ if (enterprise_include_once('include/functions_reporting.php') !== ENTERPRISE_NO
}
$buttons['graph_list'] = array('active' => true,
'text' => '<a href="index.php?sec=greporting&sec2=godmode/reporting/graphs">' .
'text' => '<a href="index.php?sec=reporting&sec2=godmode/reporting/graphs">' .
html_print_image("images/god6.png", true, array ("title" => __('Graph list'))) .'</a>');
if ($enterpriseEnable){
@ -65,7 +65,7 @@ $id = (int) get_parameter ('id');
$multiple_delete = (bool)get_parameter('multiple_delete', 0);
// Header
ui_print_page_header (__('Reporting')." &raquo; ".__('Custom graphs'), "images/reporting", false, "");
ui_print_page_header (__('Reporting')." &raquo; ".__('Custom graphs'), "images/reporting", false, "", false, $buttons);
// Delete module SQL code
if ($delete_graph) {
@ -183,7 +183,7 @@ if (! empty ($graphs)) {
array_push ($table->data, $data);
}
echo "<form method='post' action='index.php?sec=greporting&sec2=godmode/reporting/graphs'>";
echo "<form method='post' action='index.php?sec=reporting&sec2=godmode/reporting/graphs'>";
html_print_input_hidden('multiple_delete', 1);
html_print_table ($table);
echo "<div style='padding-bottom: 20px; text-align: right; width:" . $table->width . "'>";

View File

@ -139,7 +139,7 @@ switch ($action) {
case 'list':
$buttons = array(
'list_reports' => array('active' => false,
'text' => '<a href="index.php?sec=greporting&sec2=godmode/reporting/reporting_builder">' .
'text' => '<a href="index.php?sec=reporting&sec2=godmode/reporting/reporting_builder">' .
html_print_image("images/god6.png", true, array ("title" => __('Main'))) .'</a>')
);
@ -158,7 +158,7 @@ switch ($action) {
}
// Report LIST
ui_print_page_header (__('Reporting').' &raquo; '.__('Custom reporting'), "images/reporting.png", false, "");
ui_print_page_header (__('Reporting').' &raquo; '.__('Custom reporting'), "images/reporting.png", false, "",false, $buttons);
if ($action == 'delete_report') {
$result = reports_delete_report ($idReport);
@ -852,7 +852,7 @@ switch ($action) {
if ($enterpriseEnable){
$buttons = array(
'list_reports' => array('active' => false,
'text' => '<a href="index.php?sec=greporting&sec2=godmode/reporting/reporting_builder">' .
'text' => '<a href="index.php?sec=reporting&sec2=godmode/reporting/reporting_builder">' .
html_print_image("images/god6.png", true, array ("title" => __('Main'))) .'</a>')
);