X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=admin_groups.php;h=ae66d15016d2df54f797cbfa60d06ecd5b0ec213;hb=9c1005341a3db52333fcb732960acbdf03fbe4e7;hp=bccbb058346669c5dec591a8064c0cce72d8cab2;hpb=10e7c8186a42d71d6494711b562b92f3e5fd5b7b;p=timetracker.git diff --git a/admin_groups.php b/admin_groups.php index bccbb058..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_groups.tpl'); $smarty->display('index.tpl');