diff --git a/pandora_console/godmode/reporting/reporting_builder.list_items.php b/pandora_console/godmode/reporting/reporting_builder.list_items.php index 4a459a52c6..468985f61d 100644 --- a/pandora_console/godmode/reporting/reporting_builder.list_items.php +++ b/pandora_console/godmode/reporting/reporting_builder.list_items.php @@ -212,12 +212,6 @@ $table = null; $table->style[0] = 'text-align: right;'; -// Build link for sort actions: metaconsole and normal console -$variable_link = ui_get_full_url(false); -// Metaconsole -if ($config['metaconsole'] == 1 and defined('METACONSOLE')) - $variable_link .= '/enterprise/meta/'; - if ($items) { $table->width = '100%'; @@ -231,19 +225,19 @@ if ($items) { $table->head[0] = '' . __('P.') . ''; $table->head[1] = __('Type'); if (!$filterEnable) { - $table->head[1] .= ' ' . html_print_image("images/sort_up.png", true, array("title" => __('Ascendent'))) . '' . - '' . html_print_image("images/sort_down.png", true, array("title" => __('Descent'))) . ''; + $table->head[1] .= ' ' . html_print_image("images/sort_up.png", true, array("title" => __('Ascendent'))) . '' . + '' . html_print_image("images/sort_down.png", true, array("title" => __('Descent'))) . ''; } $table->head[2] = __('Agent'); if (!$filterEnable) { - $table->head[2] .= ' ' . html_print_image("images/sort_up.png", true, array("title" => __('Ascendent'))) . '' . - '' . html_print_image("images/sort_down.png", true, array("title" => __('Descent'))) . ''; + $table->head[2] .= ' ' . html_print_image("images/sort_up.png", true, array("title" => __('Ascendent'))) . '' . + '' . html_print_image("images/sort_down.png", true, array("title" => __('Descent'))) . ''; } $table->head[3] = __('Module'); if (!$filterEnable) { - $table->head[3] .= ' ' . html_print_image("images/sort_up.png", true, array("title" => __('Ascendent'))) . '' . - '' . html_print_image("images/sort_down.png", true, array("title" => __('Descent'))) . ''; + $table->head[3] .= ' ' . html_print_image("images/sort_up.png", true, array("title" => __('Ascendent'))) . '' . + '' . html_print_image("images/sort_down.png", true, array("title" => __('Descent'))) . ''; } $table->head[4] = __('Period'); $table->head[5] = __('Description'); @@ -341,9 +335,9 @@ foreach ($items as $item) { $row[6] = ''; - $row[6] .= '' . html_print_image("images/wrench_orange.png", true, array("title" => __('Edit'))) . ''; + $row[6] .= '' . html_print_image("images/wrench_orange.png", true, array("title" => __('Edit'))) . ''; $row[6] .= ' '; - $row[6] .= '' . html_print_image("images/cross.png", true, array("title" => __('Delete'))) .''; + $row[6] .= '' . html_print_image("images/cross.png", true, array("title" => __('Delete'))) .''; $row[6] .= html_print_checkbox_extended ('delete_multiple[]', $item['id_rc'], false, false, '', 'class="check_delete"', true); $row[7] = ''; @@ -358,11 +352,11 @@ foreach ($items as $item) { metaconsole_restore_db(); } } -ui_pagination ($countItems, $variable_link . 'index.php?sec=reporting&sec2=' . $config['homedir'] . '/godmode/reporting/reporting_builder&tab=list_items&action=edit&id_report=' . $idReport . $urlFilter); +ui_pagination ($countItems, 'index.php?sec=reporting&sec2=' . $config['homedir'] . '/godmode/reporting/reporting_builder&tab=list_items&action=edit&id_report=' . $idReport . $urlFilter); html_print_table($table); -ui_pagination ($countItems, $variable_link . 'index.php?sec=reporting&sec2=' . $config['homedir'] . '/godmode/reporting/reporting_builder&tab=list_items&action=edit&id_report=' . $idReport . $urlFilter); +ui_pagination ($countItems, 'index.php?sec=reporting&sec2=' . $config['homedir'] . '/godmode/reporting/reporting_builder&tab=list_items&action=edit&id_report=' . $idReport . $urlFilter); -echo "