Enhance install messages

This commit is contained in:
Laurent Destailleur 2009-08-05 10:33:49 +00:00
parent e8024562b8
commit 56a1fee850
4 changed files with 16 additions and 6 deletions

View File

@ -46,12 +46,11 @@ $form = new Form($db);
print_fiche_titre($langs->trans("SetupArea"),'','setup'); print_fiche_titre($langs->trans("SetupArea"),'','setup');
print "<br>"; //print '<a href="'.$dolibarr_main_url_root .'/admin/index.php?mainmenu=home&leftmenu=setup'.(isset($_POST["login"])?'&username='.urlencode($_POST["login"]):'').'">';
print '<center><img src="'.DOL_URL_ROOT.'/theme/dolibarr_logo.png" alt="Dolibarr logo"></center><br>'; //print '<center><img src="'.DOL_URL_ROOT.'/theme/dolibarr_logo.png" alt="Dolibarr logo"></center><br>';
if ($mesg) print $mesg.'<br>'; if ($mesg) print $mesg.'<br>';
print "<br>";
print $langs->trans("SetupDescription1").'<br>'; print $langs->trans("SetupDescription1").'<br>';
print $langs->trans("AreaForAdminOnly").'<br>'; print $langs->trans("AreaForAdminOnly").'<br>';

View File

@ -240,9 +240,18 @@ if ($_POST["action"] == "upgrade")
} }
print '<a href="'.$dolibarr_main_url_root .'/admin/index.php?mainmenu=home&leftmenu=setup'.(isset($_POST["login"])?'&username='.urlencode($_POST["login"]):'').'">'; if ($_POST["action"] == "upgrade")
print $langs->trans("GoToSetupArea"); {
print '</a>'; print '<a href="'.$dolibarr_main_url_root .'/index.php?mainmenu=home'.(isset($_POST["login"])?'&username='.urlencode($_POST["login"]):'').'">';
print $langs->trans("GoToSetupArea");
print '</a>';
}
else
{
print '<a href="'.$dolibarr_main_url_root .'/admin/index.php?mainmenu=home&leftmenu=setup'.(isset($_POST["login"])?'&username='.urlencode($_POST["login"]):'').'">';
print $langs->trans("GoToDolSetupArea");
print '</a>';
}
// Clear cache files // Clear cache files

View File

@ -82,6 +82,7 @@ SystemIsInstalled=This installation is complete.
SystemIsUpgraded=Dolibarr has been upgraded successfully. SystemIsUpgraded=Dolibarr has been upgraded successfully.
YouNeedToPersonalizeSetup=You need to configure Dolibarr to match your needs (appearance, features, ...). To do this, please follow the link below: YouNeedToPersonalizeSetup=You need to configure Dolibarr to match your needs (appearance, features, ...). To do this, please follow the link below:
AdminLoginCreatedSuccessfuly=Dolibarr administrator login '<b>%s</b>' created successfuly. AdminLoginCreatedSuccessfuly=Dolibarr administrator login '<b>%s</b>' created successfuly.
GoToDolibarr=Go to Dolibarr
GoToSetupArea=Go to Dolibarr (setup area) GoToSetupArea=Go to Dolibarr (setup area)
Examples=Examples Examples=Examples
WithNoSlashAtTheEnd=Without the slash "/" at the end WithNoSlashAtTheEnd=Without the slash "/" at the end

View File

@ -82,6 +82,7 @@ SystemIsInstalled=Votre système est maintenant installé.
SystemIsUpgraded=Dolibarr a été mis à jour avec succès. SystemIsUpgraded=Dolibarr a été mis à jour avec succès.
YouNeedToPersonalizeSetup=Vous devez maintenant configurer Dolibarr selon vos besoins (Choix de l'apparence, des fonctionnalités, etc.). Pour cela, cliquez sur le lien ci-dessous: YouNeedToPersonalizeSetup=Vous devez maintenant configurer Dolibarr selon vos besoins (Choix de l'apparence, des fonctionnalités, etc.). Pour cela, cliquez sur le lien ci-dessous:
AdminLoginCreatedSuccessfuly=Création du compte administrateur Dolibarr '<b>%s</b>' réussie. AdminLoginCreatedSuccessfuly=Création du compte administrateur Dolibarr '<b>%s</b>' réussie.
GoToDolibarr=Accéder à Dolibarr
GoToSetupArea=Accéder à Dolibarr (espace configuration) GoToSetupArea=Accéder à Dolibarr (espace configuration)
Examples=Exemples Examples=Exemples
WithNoSlashAtTheEnd=Sans le slash "/" à la fin WithNoSlashAtTheEnd=Sans le slash "/" à la fin