Enhancement in ecm module

This commit is contained in:
Laurent Destailleur 2008-10-26 01:30:58 +00:00
parent 32801a3655
commit e40543db23
3 changed files with 5 additions and 4 deletions

View File

@ -114,7 +114,7 @@ $formecm=new FormEcm($db);
$head = ecm_prepare_head($ecmdir);
dolibarr_fiche_head($head, 'card', $langs->trans("ECMManualOrg"));
dolibarr_fiche_head($head, 'card', $langs->trans("ECMSectionManual"));
if ($_GET["action"] == 'edit')
{

View File

@ -223,7 +223,7 @@ foreach($filearray as $key => $file)
$head = ecm_prepare_head($ecmdir);
dolibarr_fiche_head($head, 'card', $langs->trans("ECMManualOrg"));
dolibarr_fiche_head($head, 'card', $langs->trans("ECMSectionManual"));
if ($_GET["action"] == 'edit')
{
@ -353,6 +353,7 @@ if ($_GET['action'] == 'delete_dir')
$formfile=new FormFile($db);
/*
// Affiche formulaire upload
if ($user->rights->ecm->create)
{
@ -360,12 +361,12 @@ if ($user->rights->ecm->create)
}
// List of document
// TODO: prevoir un droit sur la suppression des documents
if ($user->rights->ecm->read)
{
$param='&section='.$section;
$formfile->list_of_documents($filearray,'','ecm',$param,1,$relativepath,$user->rights->ecm->create);
}
*/
// End of page
$db->close();

View File

@ -247,7 +247,7 @@ if (eregi('search',$action))
print "<tr ".$bc[false]."><td>".$langs->trans("Keyword").':</td><td align="right"><input type="text" name="search_keyword" class="flat" size="14"></td></tr>';
print "<tr ".$bc[false].'><td colspan="2" align="center"><input type="submit" class="button" value="'.$langs->trans("Search").'"></td></tr>';
print "</table></form>";
//print $langs->trans("ECMManualOrgDesc");
//print $langs->trans("ECMSectionManualDesc");
//print_fiche_titre($langs->trans("ECMSectionAuto"));