X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=initialize.php;h=ded539cc25ba9132a2e06378da538395a1e6c54b;hb=ff71ab051012b2ac0664f08603b8c6455feba5db;hp=2cb0f5be3de69bb60b6e3a4ee3feb9d1a9f965ec;hpb=9e82b53fc5d8cb1e54b5fde774fa68a916f28b4c;p=timetracker.git 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.