X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=admin_groups.php;h=ae66d15016d2df54f797cbfa60d06ecd5b0ec213;hb=be5e813f87f627d207c8d2606da4c9fea1fe36a8;hp=a5521ad99a0ec34baaa06164b2344bca581bf7b3;hpb=995feb6c9e97991e5b9d9803fbc3c8a41ac48922;p=timetracker.git 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');