getTrackingMode() && MODE_PROJECTS_AND_TASKS != $user->getTrackingMode()) { header('Location: feature_disabled.php'); exit(); } $cl_project_id = (int)$request->getParameter('id'); $project = ttProjectHelper::get($cl_project_id); if (!$project) { header('Location: access_denied.php'); exit(); } // End of access checks. $files = null; // $files = ttAttachmentHelper::getProjectFiles(); $smarty->assign('files', $files); $smarty->assign('title', $i18n->get('title.project_files')); $smarty->assign('content_page_name', 'project_files.tpl'); $smarty->display('index.tpl');