Fix: Title of page is second parameter
This commit is contained in:
parent
be52d8b46f
commit
4c6a3a0fdc
@ -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)
|
||||
|
||||
@ -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 '<a href="modules.php?id='.$objMod->numero.'&action=set&value=' . $modName . '&mode=' . $mode . '">';
|
||||
print img_picto($langs->trans("Disabled"),'off');
|
||||
print img_picto($langs->trans("Disabled"),'off');
|
||||
print "</a></td>\n <td> </td>\n";
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user