$form = new Form('fileUploadForm');
$form->addInput(array('type'=>'hidden','name'=>'id','value'=>$cl_project_id));
$form = new Form('fileUploadForm');
$form->addInput(array('type'=>'hidden','name'=>'id','value'=>$cl_project_id));
$fields = array('entity_type'=>'project',
'entity_id' => $cl_project_id,
'file_name' => $_FILES['newfile']['name'],
'description'=>$cl_description);
$fields = array('entity_type'=>'project',
'entity_id' => $cl_project_id,
'file_name' => $_FILES['newfile']['name'],
'description'=>$cl_description);
$smarty->assign('forms', array($form->getName()=>$form->toArray()));
$smarty->assign('files', $files);
$smarty->assign('forms', array($form->getName()=>$form->toArray()));
$smarty->assign('files', $files);
-$smarty->assign('title', $i18n->get('title.project_files'));
-$smarty->assign('content_page_name', 'project_files.tpl');
+$smarty->assign('title', $i18n->get('title.project_files').': '.$project['name']);
+$smarty->assign('content_page_name', 'entity_files.tpl');