2013-05-17 Miguel de Dios <miguel.dedios@artica.es>

* 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.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8149 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2013-05-17 12:26:16 +00:00
parent 0d83ea6f27
commit d4e7b1f795
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2013-05-17 Miguel de Dios <miguel.dedios@artica.es>
* 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 <miguel.dedios@artica.es>
* godmode/events/events.php, operation/events/events_list.php,

View File

@ -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
*