X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/fdaf50116c208e78b6c4de6e6fe263541163c4af..d31bcc34081a36b3f45c080f3a5cd231ec417fa9:/roles.php diff --git a/roles.php b/roles.php index 64a1ee4a..cd17da3c 100644 --- a/roles.php +++ b/roles.php @@ -31,14 +31,15 @@ import('form.Form'); import('ttTeamHelper'); import('ttRoleHelper'); -// Access check. +// Access checks. if (!ttAccessAllowed('manage_roles')) { header('Location: access_denied.php'); exit(); } +// End of access checks. $smarty->assign('active_roles', ttTeamHelper::getActiveRolesForUser()); $smarty->assign('inactive_roles', ttTeamHelper::getInactiveRolesForUser()); -$smarty->assign('title', $i18n->getKey('title.roles')); +$smarty->assign('title', $i18n->get('title.roles')); $smarty->assign('content_page_name', 'roles.tpl'); $smarty->display('index.tpl');