Add translation of ECM module

Can not delete a document of permission not owned.
This commit is contained in:
Laurent Destailleur 2008-05-04 16:59:17 +00:00
parent c127a84fd5
commit 0ceeb0f4e6
2 changed files with 2 additions and 2 deletions

View File

@ -352,7 +352,7 @@ if ($user->rights->ecm->create)
if ($user->rights->ecm->read)
{
$param='&section='.$section;
$formfile->list_of_documents($filearray,'','ecm',$param,1,$relativepath);
$formfile->list_of_documents($filearray,'','ecm',$param,1,$relativepath,$user->rights->ecm->create);
}
// End of page

View File

@ -104,7 +104,7 @@ class modECM extends DolibarrModules
$r++;
$this->rights[$r][0] = 2501;
$this->rights[$r][1] = 'Soumettre des documents';
$this->rights[$r][1] = 'Soumettre ou supprimer des documents';
$this->rights[$r][2] = 'w';
$this->rights[$r][3] = 1;
$this->rights[$r][4] = 'create';