X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/995feb6c9e97991e5b9d9803fbc3c8a41ac48922..HEAD:/admin_groups.php diff --git a/admin_groups.php b/admin_groups.php index a5521ad9..ae66d150 100644 --- a/admin_groups.php +++ b/admin_groups.php @@ -27,15 +27,16 @@ // +----------------------------------------------------------------------+ require_once('initialize.php'); -import('ttGroupHelper'); +import('ttOrgHelper'); -// 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', ttOrgHelper::getOrgs()); $smarty->assign('title', $i18n->get('title.groups')); -$smarty->assign('content_page_name', 'admin_teams.tpl'); +$smarty->assign('content_page_name', 'admin_groups.tpl'); $smarty->display('index.tpl');