diff --git a/htdocs/ecm/index.php b/htdocs/ecm/index.php index 115ccd52f8be412a281860e3c0c463091a691e95..393be6d682aeada402159dbe81a20ce7a76fb253 100644 --- a/htdocs/ecm/index.php +++ b/htdocs/ecm/index.php @@ -347,7 +347,7 @@ if ($action == 'refreshmanual') // Define height of file area (depends on $_SESSION["dol_screenheight"]) //print $_SESSION["dol_screenheight"]; -$maxheightwin=(isset($_SESSION["dol_screenheight"]) && $_SESSION["dol_screenheight"] > 466)?($_SESSION["dol_screenheight"]-186):660; // Also into index_auto.php file +$maxheightwin=(isset($_SESSION["dol_screenheight"]) && $_SESSION["dol_screenheight"] > 466)?($_SESSION["dol_screenheight"]-136):660; // Also into index_auto.php file $morejs=array(); if (empty($conf->global->MAIN_ECM_DISABLE_JS)) $morejs=array("/includes/jquery/plugins/jqueryFileTree/jqueryFileTree.js"); @@ -416,7 +416,7 @@ if (! empty($conf->global->ECM_AUTO_TREE_ENABLED)) if (! empty($conf->projet->enabled)) { $rowspan++; $sectionauto[]=array('level'=>1, 'module'=>'project', 'test'=>$conf->projet->enabled, 'label'=>$langs->trans("Projects"), 'desc'=>$langs->trans("ECMDocsByProjects")); } } -print load_fiche_titre($langs->trans("ECMArea").' - '.$langs->trans("ECMFileManager")); +//print load_fiche_titre($langs->trans("ECMArea").' - '.$langs->trans("ECMFileManager")); /* print '<div class="hideonsmartphone">'; @@ -437,11 +437,8 @@ if (! empty($conf->use_javascript_ajax)) $classviewhide='hidden'; else $classviewhide='visible'; -if (empty($conf->dol_use_jmobile)) -{ $head = ecm_prepare_dasboard_head(''); -dol_fiche_head($head, 'index', '', 1, ''); -} +dol_fiche_head($head, 'index', $langs->trans("ECMArea").' - '.$langs->trans("ECMFileManager"), 1, ''); // Start container of all panels ?> @@ -759,7 +756,7 @@ else print ' '; // End of page -//dol_fiche_end(); +dol_fiche_end(); if (! empty($conf->use_javascript_ajax) && empty($conf->global->MAIN_ECM_DISABLE_JS)) { diff --git a/htdocs/ecm/index_auto.php b/htdocs/ecm/index_auto.php index fd4f71c224eea893dee5aaaaa2d7d9e4414489b8..0f7460bf5cfaf2f5fc69b2b96a05e0fab7156d0c 100644 --- a/htdocs/ecm/index_auto.php +++ b/htdocs/ecm/index_auto.php @@ -346,7 +346,7 @@ if ($action == 'refreshmanual') // Define height of file area (depends on $_SESSION["dol_screenheight"]) //print $_SESSION["dol_screenheight"]; -$maxheightwin=(isset($_SESSION["dol_screenheight"]) && $_SESSION["dol_screenheight"] > 466)?($_SESSION["dol_screenheight"]-186):660; // Also into index.php file +$maxheightwin=(isset($_SESSION["dol_screenheight"]) && $_SESSION["dol_screenheight"] > 466)?($_SESSION["dol_screenheight"]-136):660; // Also into index.php file $morejs=array(); if (empty($conf->global->MAIN_ECM_DISABLE_JS)) $morejs=array("/includes/jquery/plugins/jqueryFileTree/jqueryFileTree.js"); @@ -414,7 +414,7 @@ if (! empty($conf->global->ECM_AUTO_TREE_ENABLED)) } -print load_fiche_titre($langs->trans("ECMArea").' - '.$langs->trans("ECMFileManager")); +//print load_fiche_titre($langs->trans("ECMArea").' - '.$langs->trans("ECMFileManager")); $helptext1=''; $helptext2=''; $helptext1.=$langs->trans("ECMAreaDesc"); @@ -441,11 +441,9 @@ if (! empty($conf->use_javascript_ajax)) $classviewhide='hidden'; else $classviewhide='visible'; -if (empty($conf->dol_use_jmobile)) -{ $head = ecm_prepare_dasboard_head(''); -dol_fiche_head($head, 'index_auto', '', 1, ''); -} +dol_fiche_head($head, 'index_auto', $langs->trans("ECMArea").' - '.$langs->trans("ECMFileManager"), 1, ''); + // Start container of all panels ?> @@ -589,7 +587,7 @@ include_once DOL_DOCUMENT_ROOT.'/core/ajax/ajaxdirpreview.php'; // End of page -//dol_fiche_end(); +dol_fiche_end(); if (! empty($conf->use_javascript_ajax) && empty($conf->global->MAIN_ECM_DISABLE_JS)) {