Introduced icons for files, edit, and delete operations.
[timetracker.git] / project_files.php
index 6abd0af..3af70d5 100644 (file)
@@ -78,14 +78,13 @@ if ($request->isPost()) {
     if ($fileHelper->putFile($fields)) {
       header('Location: project_files.php?id='.$cl_project_id);
       exit();
-    } else
-      $err->add($i18n->get('error.file_storage'));
+    }
   }
 } // isPost
 
 $smarty->assign('can_manage', $user->can('manage_projects'));
 $smarty->assign('forms', array($form->getName()=>$form->toArray()));
 $smarty->assign('files', $files);
-$smarty->assign('title', $i18n->get('title.project_files'));
+$smarty->assign('title', $i18n->get('title.project_files').': '.$project['name']);
 $smarty->assign('content_page_name', 'project_files.tpl');
 $smarty->display('index.tpl');