X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=initialize.php;h=ded539cc25ba9132a2e06378da538395a1e6c54b;hb=774e4b2ef212fffb73c0130b05f205319858c61a;hp=9dc9d7bc58e1d107d9193a806df76d1e1de92c24;hpb=d26c95718cac0a2994ab4e9633b59f420a0816b4;p=timetracker.git diff --git a/initialize.php b/initialize.php index 9dc9d7bc..ded539cc 100644 --- a/initialize.php +++ b/initialize.php @@ -152,8 +152,8 @@ import('html.HttpRequest'); $request = new ttHttpRequest(); import('form.ActionErrors'); -$errors = 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', $errors); -$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.