From 23a956c47b493595422e590f5818ddc7fe5b480e Mon Sep 17 00:00:00 2001 From: simnandez Date: Mon, 30 Apr 2012 16:23:43 +0200 Subject: [PATCH] Fix: Url to wiki, div message, variable more clear --- htdocs/admin/tools/update.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/htdocs/admin/tools/update.php b/htdocs/admin/tools/update.php index bcf0adbb94d..47e53ace4b2 100644 --- a/htdocs/admin/tools/update.php +++ b/htdocs/admin/tools/update.php @@ -85,7 +85,7 @@ if (GETPOST('action','alpha')=='install') } else { - $mesg = "".$langs->trans("SetupIsReadyForUse").""; + $mesg = '
'.$langs->trans("SetupIsReadyForUse").'
'; } } } @@ -96,10 +96,9 @@ if (GETPOST('action','alpha')=='install') */ $dirins=DOL_DOCUMENT_ROOT_ALT; -$vale=(is_dir($dirins)); -$system=PHP_OS; +$dirins_ok=(is_dir($dirins)); -$wikihelp='EN:Installation_-_Upgrade|FR:Installation_-_Mise_à_jour|ES:Instalaci&omodulon_-_Actualizaci&omodulon'; +$wikihelp='EN:Installation_-_Upgrade|FR:Installation_-_Mise_à_jour|ES:Instalación_-_Actualización'; llxHeader('',$langs->trans("Upgrade"),$wikihelp); print_fiche_titre($langs->trans("Upgrade"),'','setup'); @@ -142,7 +141,7 @@ print ''.$langs->trans("StepNb",3).': '; print $langs->trans("UnpackPackageInDolibarrRoot",$dolibarrroot).'
'; if (! empty($conf->global->MAIN_ONLINE_INSTALL_MODULE)) { - if ($vale == 1 && $dirins != 'DOL_DOCUMENT_ROOT_ALT') + if ($dirins_ok && $dirins != 'DOL_DOCUMENT_ROOT_ALT') { print '
'; print '';