diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index dfe497081e..39b2852a88 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2013-05-17 Miguel de Dios + + * include/functions_ui.php: added first version of function + "ui_print_empty_data" for to show when the page has not data as + list of agents or alerts or somethings. + 2013-05-17 Miguel de Dios * godmode/events/events.php, operation/events/events_list.php, diff --git a/pandora_console/include/functions_ui.php b/pandora_console/include/functions_ui.php index a10ec61073..a2ba97d496 100644 --- a/pandora_console/include/functions_ui.php +++ b/pandora_console/include/functions_ui.php @@ -326,6 +326,10 @@ function ui_print_info_message ($message, $attributes = '', $return = false, $ta return ui_print_message ($message, 'info', $attributes, $return, $tag); } +function ui_print_empty_data($message, $attributes = '', $return = false, $tag = 'h3') { + return ui_print_message ($message, 'info', $attributes, $return, $tag); +} + /** * Evaluates a result using empty() and then prints an error or success message *