X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/337ae7c9f4cf2cabcbf20f6844a6e71562263500..024e938728d2b436f1f048531d8fd00a246920c6:/projects.php diff --git a/projects.php b/projects.php index 5b562366..236291cd 100644 --- a/projects.php +++ b/projects.php @@ -27,7 +27,6 @@ // +----------------------------------------------------------------------+ require_once('initialize.php'); -import('form.Form'); import('ttGroupHelper'); // Access checks. @@ -49,6 +48,7 @@ if($user->can('manage_projects')) { $smarty->assign('active_projects', $active_projects); $smarty->assign('inactive_projects', $inactive_projects); +$smarty->assign('show_files', $user->isPluginEnabled('at')); $smarty->assign('title', $i18n->get('title.projects')); $smarty->assign('content_page_name', 'projects.tpl'); $smarty->display('index.tpl');