diff --git a/htdocs/ecm/docmine.php b/htdocs/ecm/docmine.php index 779d8bea97c..5a66994088f 100644 --- a/htdocs/ecm/docmine.php +++ b/htdocs/ecm/docmine.php @@ -321,6 +321,15 @@ if ($_GET["action"] != 'edit' && $_GET['action'] != 'delete_dir' && $_GET['actio print ''.$langs->trans('Edit').''; } + if ($user->rights->ecm->setup) + { + print ''.$langs->trans('ECMAddSection').''; + } + else + { + print ''.$langs->trans('ECMAddSection').''; + } + if (sizeof($filearray) == 0) { if ($user->rights->ecm->setup) diff --git a/htdocs/ecm/index.php b/htdocs/ecm/index.php index f75d944135a..cff40b468a5 100644 --- a/htdocs/ecm/index.php +++ b/htdocs/ecm/index.php @@ -231,7 +231,7 @@ $head = ecm_prepare_head_fm($fac); dol_fiche_head($head, 'file_manager', '', 1); -print '
'; +print '
'; // Left area @@ -251,8 +251,9 @@ if (empty($action) || $action == 'file_manager' || preg_match('/refresh/i',$acti // Construit liste des repertoires print ''; + //print ''; print ''; - print ''; + print ''; print ''; @@ -578,7 +579,7 @@ if (empty($action) || $action == 'file_manager' || preg_match('/refresh/i',$acti } -print '
'.$langs->trans("ECMSections").''.$langs->trans("ECMSections").''; print ''.img_picto($langs->trans("Refresh"),'refresh').''; print ''; +print ''; // Right area $relativepath=$ecmdir->getRelativePath();