projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a capability to add attachment on project_add.php.
[timetracker.git]
/
admin_groups.php
diff --git
a/admin_groups.php
b/admin_groups.php
index
a5521ad
..
ae66d15
100644
(file)
--- a/
admin_groups.php
+++ b/
admin_groups.php
@@
-27,15
+27,16
@@
// +----------------------------------------------------------------------+
require_once('initialize.php');
// +----------------------------------------------------------------------+
require_once('initialize.php');
-import('tt
Group
Helper');
+import('tt
Org
Helper');
-// Access check.
+// Access check
s
.
if (!ttAccessAllowed('administer_site')) {
header('Location: access_denied.php');
exit();
}
if (!ttAccessAllowed('administer_site')) {
header('Location: access_denied.php');
exit();
}
+// End of access checks.
-$smarty->assign('
teams', ttGroupHelper::getTopGroup
s());
+$smarty->assign('
groups', ttOrgHelper::getOrg
s());
$smarty->assign('title', $i18n->get('title.groups'));
$smarty->assign('title', $i18n->get('title.groups'));
-$smarty->assign('content_page_name', 'admin_
team
s.tpl');
+$smarty->assign('content_page_name', 'admin_
group
s.tpl');
$smarty->display('index.tpl');
$smarty->display('index.tpl');