diff --git a/dev/skeletons/skeleton_page.php b/dev/skeletons/skeleton_page.php index 7030c7d75c1..d093bda318d 100644 --- a/dev/skeletons/skeleton_page.php +++ b/dev/skeletons/skeleton_page.php @@ -89,7 +89,7 @@ if ($_REQUEST["action"] == 'add') * Put here all code to build page ****************************************************/ -llxHeader('MyPageName','',''); +llxHeader('','MyPageName',''); $form=new Form($db); @@ -104,7 +104,7 @@ $form=new Form($db); * Put here code to view linked object ****************************************************/ $myobject->load_object_linked($myobject->id,$myobject->element); - + foreach($myobject->linked_object as $object => $objectid) { if($conf->$object->enabled) diff --git a/htdocs/admin/modules.php b/htdocs/admin/modules.php index 2933d8e3198..74d1fcb22be 100644 --- a/htdocs/admin/modules.php +++ b/htdocs/admin/modules.php @@ -115,7 +115,7 @@ function Activate($value,$withdeps=1) $result=$objMod->init(); if ($result <= 0) $ret=$objMod->error; } - + if ($withdeps) { if (is_array($objMod->depends) && !empty($objMod->depends)) @@ -129,7 +129,7 @@ function Activate($value,$withdeps=1) } } } - + if (is_array($objMod->conflictwith) && !empty($objMod->conflictwith)) { // Desactivation des modules qui entrent en conflit @@ -207,8 +207,8 @@ function UnActivate($value,$requiredby=1) */ $_SESSION["mode"]=$mode; -$wikihelp='EN:First_setup|FR:Premiers_paramétrages|ES:Primeras_configuraciones'; -llxHeader($langs->trans("Setup"),'',$wikihelp); +$help_url='EN:First_setup|FR:Premiers_paramétrages|ES:Primeras_configuraciones'; +llxHeader('',$langs->trans("Setup"),$help_url); print_fiche_titre($langs->trans("ModulesSetup"),'','setup'); @@ -448,7 +448,7 @@ foreach ($orders as $key => $value) if (! empty($conf->global->$const_name)) { $disableSetup = 0; - + // Module actif if (! empty($objMod->always_enabled) || (($conf->global->MAIN_MODULE_MULTICOMPANY && $objMod->core_enabled) && ($user->entity || $conf->entity!=1))) { @@ -514,7 +514,7 @@ foreach ($orders as $key => $value) // Module non actif print ''; - print img_picto($langs->trans("Disabled"),'off'); + print img_picto($langs->trans("Disabled"),'off'); print "\n  \n"; }