From 018811eedb707cd8e3bdec93811991b7ec905f50 Mon Sep 17 00:00:00 2001 From: vgilc Date: Wed, 23 Apr 2014 07:57:40 +0000 Subject: [PATCH] 2014-04-23 Vanessa Gil * include/functions_ui.php include/ajax/module.php operation/tree.php operation/agentes/estado_monitores.php operation/agentes/status_monitor.php: Changed data view of modules to popup. * include/styles/menu.css: Changed style of menu. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9800 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 11 +++ pandora_console/include/ajax/module.php | 2 +- pandora_console/include/functions_ui.php | 40 +++++++-- pandora_console/include/styles/menu.css | 3 +- .../operation/agentes/estado_monitores.php | 90 ++++++++++++++++++- .../operation/agentes/status_monitor.php | 5 +- pandora_console/operation/tree.php | 6 +- 7 files changed, 141 insertions(+), 16 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index e696c10bc5..7ac864b6d1 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,14 @@ +2014-04-23 Vanessa Gil + + * include/functions_ui.php + include/ajax/module.php + operation/tree.php + operation/agentes/estado_monitores.php + operation/agentes/status_monitor.php: Changed + data view of modules to popup. + + * include/styles/menu.css: Changed style of menu. + 2014-04-22 Sergio Martin * pandoradb.postgreSQL.sql diff --git a/pandora_console/include/ajax/module.php b/pandora_console/include/ajax/module.php index fa8a01681a..20c40197e8 100644 --- a/pandora_console/include/ajax/module.php +++ b/pandora_console/include/ajax/module.php @@ -331,7 +331,7 @@ if ($get_module_detail) { ui_print_error_message(__('No available data to show')); } else { - ui_pagination($count, false, $offset); + ui_pagination ($count, false, $offset, 0, false, 'offset', true, 'binary_dialog'); html_print_table($table); } diff --git a/pandora_console/include/functions_ui.php b/pandora_console/include/functions_ui.php index e3a6defe44..84cff59695 100644 --- a/pandora_console/include/functions_ui.php +++ b/pandora_console/include/functions_ui.php @@ -1487,7 +1487,7 @@ function ui_process_page_body ($string, $bitfield) { * * @return string The pagination div or nothing if no pagination needs to be done */ -function ui_pagination ($count, $url = false, $offset = 0, $pagination = 0, $return = false, $offset_name = 'offset', $print_total_items = true) { +function ui_pagination ($count, $url = false, $offset = 0, $pagination = 0, $return = false, $offset_name = 'offset', $print_total_items = true, $other_class = '') { global $config; if (empty ($pagination)) { @@ -1517,7 +1517,7 @@ function ui_pagination ($count, $url = false, $offset = 0, $pagination = 0, $ret if ($count <= $pagination) { if ($print_total_items) { - $output = '