X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/10e7c8186a42d71d6494711b562b92f3e5fd5b7b..b0cd6a547ce6a16f0f26667016efce5b66211e54:/admin_groups.php diff --git a/admin_groups.php b/admin_groups.php index bccbb058..78e083ca 100644 --- a/admin_groups.php +++ b/admin_groups.php @@ -29,13 +29,14 @@ require_once('initialize.php'); import('ttGroupHelper'); -// Access check. +// Access checks. if (!ttAccessAllowed('administer_site')) { header('Location: access_denied.php'); exit(); } +// End of access checks. -$smarty->assign('teams', ttGroupHelper::getTopGroups()); +$smarty->assign('groups', ttGroupHelper::getTopGroups()); $smarty->assign('title', $i18n->get('title.groups')); $smarty->assign('content_page_name', 'admin_groups.tpl'); $smarty->display('index.tpl');