no longer echo out message, we use egw_message/egw_refresh now

This commit is contained in:
Ralf Becker 2014-01-21 15:01:06 +00:00
parent 2f5cc230c8
commit 192bde119b

View File

@ -221,7 +221,7 @@ class calendar_ui
}
/**
* show the egw-framework plus possible messages ($_GET['msg'] and $this->group_warning from check_owner_access)
* show the egw-framework plus evtl. $this->group_warning from check_owner_access
*/
function do_header()
{
@ -237,12 +237,8 @@ class calendar_ui
// load our app.js file
egw_framework::validate_file('/calendar/js/app.js');
// tell egw_framework to include wz_tooltip
$GLOBALS['egw_info']['flags']['include_wz_tooltip'] = true;
common::egw_header();
if ($_GET['msg']) echo '<p class="message" align="center">'.html::htmlspecialchars($_GET['msg'])."</p>\n";
if ($this->bo->warnings) echo '<p class="message" align="center">'.implode('<br />',$this->bo->warnings)."</p>\n";
}