From 61d540fadccba456efed1d200c261b5253021bdc Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 22 Aug 2009 16:35:38 +0000 Subject: [PATCH] New: Link to wiki help --- htdocs/admin/ihm.php | 3 ++- htdocs/admin/menus.php | 13 +++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/htdocs/admin/ihm.php b/htdocs/admin/ihm.php index 437b129c25e..d01f76cb7ae 100644 --- a/htdocs/admin/ihm.php +++ b/htdocs/admin/ihm.php @@ -89,7 +89,8 @@ if (isset($_POST["action"]) && $_POST["action"] == 'update') * View */ -llxHeader(); +$wikihelp='EN:First_setup|FR:Premiers_paramétrages|ES:Primeras_configuraciones'; +llxHeader($langs->trans("Setup"),'',$wikihelp); $html=new Form($db); $formadmin=new FormAdmin($db); diff --git a/htdocs/admin/menus.php b/htdocs/admin/menus.php index 98e2365e4b7..4026c37f25b 100644 --- a/htdocs/admin/menus.php +++ b/htdocs/admin/menus.php @@ -52,10 +52,10 @@ if (isset($_POST["action"]) && $_POST["action"] == 'update') dolibarr_set_const($db, "MAIN_MENU_BARRETOP", $_POST["main_menu_barretop"],'chaine',0,'',$conf->entity); dolibarr_set_const($db, "MAIN_MENU_BARRELEFT", $_POST["main_menu_barreleft"],'chaine',0,'',$conf->entity); - + dolibarr_set_const($db, "MAIN_MENUFRONT_BARRETOP", $_POST["main_menufront_barretop"],'chaine',0,'',$conf->entity); dolibarr_set_const($db, "MAIN_MENUFRONT_BARRELEFT",$_POST["main_menufront_barreleft"],'chaine',0,'',$conf->entity); - + // Define list of menu handlers to initialize $listofmenuhandler=array(); $listofmenuhandler[eregi_replace('((_back|_front)office)?\.php','',$_POST["main_menu_barretop"])]=1; @@ -88,7 +88,8 @@ if (isset($_POST["action"]) && $_POST["action"] == 'update') $html=new Form($db); $htmladmin=new FormAdmin($db); -llxHeader(); +$wikihelp='EN:First_setup|FR:Premiers_paramétrages|ES:Primeras_configuraciones'; +llxHeader($langs->trans("Setup"),'',$wikihelp); print_fiche_titre($langs->trans("Menus"),'','setup'); @@ -155,7 +156,7 @@ if (isset($_GET["action"]) && $_GET["action"] == 'edit') print ''; print ''; - + print '
'; print ''; print '
'; @@ -176,7 +177,7 @@ else print $html->textwithpicto($langs->trans("ExternalUsers"),$langs->trans("InternalExternalDesc")); print ''; print ''; - + $var=!$var; print ''.$langs->trans("DefaultMenuTopManager").''; print ''; @@ -214,7 +215,7 @@ if (! isset($_GET["action"]) || $_GET["action"] != 'edit') print ''.$langs->trans("Modify").''; print ''; } - + $db->close(); llxFooter('$Date$ - $Revision$');