X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/0513bd3b951b796926e9f65790b8a9bfd8d5f20b..7fafd0cdc53c376b557a5504af53dacdfbcdb533:/initialize.php diff --git a/initialize.php b/initialize.php index 2cb0f5be..ded539cc 100644 --- a/initialize.php +++ b/initialize.php @@ -152,8 +152,8 @@ import('html.HttpRequest'); $request = new ttHttpRequest(); import('form.ActionErrors'); -$err = new ActionErrors(); -$messages = new ActionErrors(); +$err = new ActionErrors(); // Error messages for user. +$msg = new ActionErrors(); // Notification messages (not errrors) for user. // Create an instance of ttUser class. This gets us most of user details. import('ttUser'); @@ -193,8 +193,8 @@ $GLOBALS['USER'] = &$user; // Assign things for smarty to use in template files. $smarty->assign('i18n', $i18n->keys); -$smarty->assign('errors', $err); -$smarty->assign('messages', $messages); +$smarty->assign('err', $err); +$smarty->assign('msg', $msg); // TODO: move this code out of here to the files that use it.