X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=projects.php;h=236291cdbceda06f88ef980be4f808be8f782435;hb=26dd5629ee5f2c3de36ff44e65529e4ca491cab1;hp=5b562366e4d9eb2134b86a5a207bf9f3af8fc5fc;hpb=337ae7c9f4cf2cabcbf20f6844a6e71562263500;p=timetracker.git 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');