X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=roles.php;h=cd17da3c48cc5aa9bd695a18822abb07a32708b9;hb=0f0438db0b69e54af6173e2a73f0434d243ecdf6;hp=64a1ee4a983a3dd86cadd3d229d948162a786bcb;hpb=fdaf50116c208e78b6c4de6e6fe263541163c4af;p=timetracker.git 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');