X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=access_denied.php;h=65a5ed72d2878248af225ecd2f66d3e7c686534b;hb=ad98b13400fdc2fa2299a22c9bd54c4cd27960c3;hp=f046a53521781f7b2eec516b762ea3a943da90e4;hpb=251996aed11c648ecaa30f77383e0384bfadf7a5;p=timetracker.git diff --git a/access_denied.php b/access_denied.php index f046a535..65a5ed72 100644 --- a/access_denied.php +++ b/access_denied.php @@ -28,10 +28,9 @@ require_once('initialize.php'); -$errors->add($i18n->getKey('error.access_denied')); -if ($auth->isAuthenticated()) $GLOBALS['SMARTY']->assign('authenticated', true); // Used in header.tpl for menu display. +$err->add($i18n->getKey('error.access_denied')); +if ($auth->isAuthenticated()) $smarty->assign('authenticated', true); // Used in header.tpl for menu display. $smarty->assign('title', $i18n->getKey('label.error')); $smarty->assign('content_page_name', 'access_denied.tpl'); $smarty->display('index.tpl'); -?> \ No newline at end of file