X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/8aef74b216afaf7d9a19e069a68807b54e71267e..de79fff47f10297d7df2edf34aa6420de71cde5b:/admin_group_edit.php diff --git a/admin_group_edit.php b/admin_group_edit.php index 0efca4f6..8779bc98 100644 --- a/admin_group_edit.php +++ b/admin_group_edit.php @@ -31,11 +31,12 @@ import('form.Form'); import('ttUserHelper'); import('ttTeamHelper'); -// Access check. +// Access checks. if (!ttAccessAllowed('administer_site')) { header('Location: access_denied.php'); exit(); } +// End of access checks. $group_id = $request->getParameter('id'); $team_details = ttTeamHelper::getTeamDetails($group_id); @@ -105,5 +106,5 @@ $smarty->assign('auth_external', $auth->isPasswordExternal()); $smarty->assign('forms', array($form->getName()=>$form->toArray())); $smarty->assign('onload', 'onLoad="document.teamForm.manager_name.focus()"'); $smarty->assign('title', $i18n->get('title.edit_group')); -$smarty->assign('content_page_name', 'admin_team_edit.tpl'); +$smarty->assign('content_page_name', 'admin_group_edit.tpl'); $smarty->display('index.tpl');