NEW The public media browser is stable
This commit is contained in:
parent
c5ea61d9d4
commit
0aa6d4f237
2 changed files with 3 additions and 2 deletions
|
|
@ -32,7 +32,7 @@
|
|||
*/
|
||||
function ecm_prepare_dasboard_head()
|
||||
{
|
||||
global $langs, $conf, $user, $form;
|
||||
global $langs, $conf, $form;
|
||||
|
||||
$h = 0;
|
||||
$head = array();
|
||||
|
|
@ -61,7 +61,7 @@ function ecm_prepare_dasboard_head()
|
|||
$h++;
|
||||
}
|
||||
|
||||
if ($showmediasection && getDolGlobalInt('MAIN_FEATURES_LEVEL') >= 2) {
|
||||
if ($showmediasection) {
|
||||
$head[$h][0] = DOL_URL_ROOT.'/ecm/index_medias.php?file_manager=1';
|
||||
$head[$h][1] = $langs->trans("ECMSectionsMedias").$form->textwithpicto('', $helptext, 1, 'info', '', 0, 3);
|
||||
$head[$h][2] = 'index_medias';
|
||||
|
|
|
|||
|
|
@ -345,6 +345,7 @@ $moreheadjs .= '</script>'."\n";
|
|||
llxHeader($moreheadcss.$moreheadjs, $langs->trans("ECMArea"), '', '', 0, 0, $morejs, '', '', 'mod-ecm page-index');
|
||||
|
||||
$head = ecm_prepare_dasboard_head();
|
||||
|
||||
print dol_get_fiche_head($head, 'index', '', -1, '');
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue