diff --git a/htdocs/admin/company.php b/htdocs/admin/company.php
index 190d040c6c7..e32596ba6cb 100644
--- a/htdocs/admin/company.php
+++ b/htdocs/admin/company.php
@@ -191,7 +191,8 @@ if ($_GET["action"] == 'removelogo')
* Affichage page
*/
-llxHeader();
+$wikihelp='EN:First_setup|FR:Premiers_paramétrages|ES:Primeras_configuraciones';
+llxHeader($langs->trans("Setup"),'',$wikihelp);
$form = new Form($db);
$formcompany = new FormCompany($db);
diff --git a/htdocs/admin/index.php b/htdocs/admin/index.php
index a97e70d7bd4..b4f263ca191 100644
--- a/htdocs/admin/index.php
+++ b/htdocs/admin/index.php
@@ -51,16 +51,18 @@ print_fiche_titre($langs->trans("SetupArea"),'','setup');
if ($mesg) print $mesg.'
';
-print $langs->trans("SetupDescription1").'
';
+print $langs->trans("SetupDescription1").' ';
print $langs->trans("AreaForAdminOnly").'
';
print "
";
print $langs->trans("SetupDescription2")."
";
print "
";
print img_picto('','puce').' '.$langs->trans("SetupDescription3")."
";
-//print "
";
+print "
";
print img_picto('','puce').' '.$langs->trans("SetupDescription4")."
";
print "
";
+print img_picto('','puce').' '.$langs->trans("SetupDescription5")."
";
+print "
";
print '
';
print info_admin($langs->trans("OnceSetupFinishedCreateUsers")).'
';
diff --git a/htdocs/admin/modules.php b/htdocs/admin/modules.php
index e4d3c5ce545..2dd77d01c66 100644
--- a/htdocs/admin/modules.php
+++ b/htdocs/admin/modules.php
@@ -185,7 +185,8 @@ function UnActivate($value,$requiredby=1)
*/
$_SESSION["mode"]=$mode;
-llxHeader("","");
+$wikihelp='EN:First_setup|FR:Premiers_paramétrages|ES:Primeras_configuraciones';
+llxHeader($langs->trans("Setup"),'',$wikihelp);
print_fiche_titre($langs->trans("ModulesSetup"),'','setup');
diff --git a/htdocs/install/background.png b/htdocs/install/background.png
new file mode 100644
index 00000000000..b264649fcbc
Binary files /dev/null and b/htdocs/install/background.png differ
diff --git a/htdocs/install/check.php b/htdocs/install/check.php
index f8c4cae085a..34e10e472e7 100644
--- a/htdocs/install/check.php
+++ b/htdocs/install/check.php
@@ -48,16 +48,15 @@ dolibarr_install_syslog("check: Dolibarr install/upgrade process started");
* View
*/
-pHeader($langs->trans("DolibarrWelcome"),""); // Etape suivante = license
+pHeader('',""); // Etape suivante = license
print '
';
print '
';
print DOL_VERSION.'
';
print '';
-print "
\n";
-
-print $langs->trans("InstallEasy")."
\n";
+//print "
\n";
+//print $langs->trans("InstallEasy")."
\n";
print ''.$langs->trans("MiscellanousChecks").":
\n";
@@ -293,14 +292,15 @@ else
# Show title
if (! empty($conf->global->MAIN_VERSION_LAST_UPGRADE))
{
- print $langs->trans("VersionLastUpgrade").": ".$conf->global->MAIN_VERSION_LAST_UPGRADE.'
';
- print $langs->trans("VersionProgram").": ".DOL_VERSION;
+ print $langs->trans("VersionLastUpgrade").': '.$conf->global->MAIN_VERSION_LAST_UPGRADE.'
';
+ print $langs->trans("VersionProgram").': '.DOL_VERSION.'';
//print ' '.img_warning($langs->trans("RunningUpdateProcessMayBeRequired"));
print '
';
print '
';
}
else print "
\n";
+ print $langs->trans("InstallEasy")." ";
print $langs->trans("ChooseYourSetupMode");
print '';
@@ -325,6 +325,7 @@ else
# Show upgrade lines
$allowupgrade=true;
+ if (defined("MAIN_NOT_INSTALLED")) $allowupgrade=false;
$migrationscript=array( //array('from'=>'2.0.0', 'to'=>'2.1.0'),
//array('from'=>'2.1.0', 'to'=>'2.2.0'),
array('from'=>'2.2.0', 'to'=>'2.4.0'),
@@ -352,11 +353,11 @@ else
// If last upgrade was an alpha or beta, we increase target version to 1 to select this one.
if (isset($conf->global->MAIN_VERSION_LAST_UPGRADE) && eregi('beta|alpha',$conf->global->MAIN_VERSION_LAST_UPGRADE)) $dolibarrversiontoarray[2]=(isset($dolibarrversiontoarray[2]) ? ($dolibarrversiontoarray[2]+1) : 1);
// Now we check if this is the first qualified choice
- if (empty($foundrecommandedchoice) && versioncompare($dolibarrversiontoarray,$dolibarrlastupgradeversionarray) > 0)
+ if ($allowupgrade && empty($foundrecommandedchoice) && versioncompare($dolibarrversiontoarray,$dolibarrlastupgradeversionarray) > 0)
{
print '
';
//print $langs->trans("InstallChoiceRecommanded",DOL_VERSION,$conf->global->MAIN_VERSION_LAST_UPGRADE);
- print ''.$langs->trans("InstallChoiceSuggested").'
';
+ print ''.$langs->trans("InstallChoiceSuggested").'
';
//
';
$foundrecommandedchoice=1; // To show only once
}
diff --git a/htdocs/install/default.css b/htdocs/install/default.css
index 85865238376..b8535283898 100644
--- a/htdocs/install/default.css
+++ b/htdocs/install/default.css
@@ -1,4 +1,5 @@
/* Copyright (C) 2004 Rodolphe Quiedeville
+ * Copyright (C) 2009 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -18,98 +19,102 @@
*/
body {
- font-size:13px;
- font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
- background-color: #F4F4F4;
- margin-left: 20px;
- margin-right: 20px;
- margin-top: 20px;
- margin-bottom: 20px;
-}
-
-span.titre {
- font-size:1.1em;
- font-weight: bold;
- background: #dcdcd3;
- color: #4965B3;
- border: 1px solid #8CACBB;
- padding: 5px 5px 5px 5px;
- margin: 0em 0em 0em 0em;
+font-size:13px;
+font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
+background: #f9f9f9 url(headbg.jpg) 0 0 no-repeat;
+/* background-color: #F4F4F4; */
+margin-left: 20px;
+margin-right: 20px;
+margin-top: 20px;
+margin-bottom: 10px;
}
div.titre {
- padding: 5px 5px 5px 5px;
- margin: 0em 0em 0em 0em;
+padding: 5px 5px 5px 5px;
+margin: 0em 0em 0em 0em;
+}
+
+span.titre {
+font-size: 1.1em;
+font-weight: bold;
+background: #FFFFFF;
+color: #4965B3;
+border: 1px solid #8CACBB;
+padding: 5px 5px 5px 5px;
+margin: 0em 0em 0em 0em;
}
div.soustitre {
- font-size: 15px;
- font-weight: bold;
- color: #4965B3;
- padding: 0em 1.2em 0.5em 2em;
- margin: 1.2em 1.2em 1.2em 1.2em;
- border-bottom: 1px solid #8CACBB;
- border-right: 1px solid #8CACBB;
- text-align: right;
+font-size: 15px;
+font-weight: bold;
+color: #4965B3;
+padding: 0em 1.2em 0.5em 2em;
+margin: 1.2em 1.2em 1.2em 1.2em;
+border-bottom: 1px solid #8CACBB;
+border-right: 1px solid #8CACBB;
+text-align: right;
}
inputdisabled
{
- background: #FDFDFD;
- border: 1px solid #ACBCBB;
- padding: 0px 0px 0px 0px;
- margin: 0px 0px 0px 0px;
+background: #FDFDFD;
+border: 1px solid #ACBCBB;
+padding: 0px 0px 0px 0px;
+margin: 0px 0px 0px 0px;
}
table.main {
-background: #dcdcd3;
+background: #F0F0F0 url(background.png) repeat-x;
text-align: left;
border: 1px solid #8CACBB;
+color: #000000;
}
table.main-inside {
padding-left: 10px;
padding-right: 10px;
-margin-bottom: 20px;
+margin-bottom: 10px;
margin-top: 10px;
+color: #000000;
}
+/* OK */
div.ok {
color: #114466;
}
+font.ok {
+color: #114466;
+}
+/* Warning */
div.warning {
color: #777711;
}
+font.warning {
+color: #777711;
+}
+/* Error */
div.error {
color: #550000; font-weight: bold;
padding: 0.2em 0.2em 0.2em 0.2em;
margin: 0.5em 0em 0.5em 0em;
border: 1px solid #6C7C8B;
}
-
font.error {
-color: #550000;
+color: #550000; font-weight: bold;
}
+/* Next button */
div.barrebottom {
text-align: right;
margin-top: 10px;
-padding-top: 10px;
-padding-bottom: 10px;
+padding-top: 5px;
+padding-bottom: 5px;
padding-right: 10px;
}
-div.footer {
-background-color: #dcdff4;
-font-size: 10px;
-border-top: solid black 1px;
-padding-left: 5px;
-text-align: center;
-}
-
div.header {
background-color: #dcdff4;
border-bottom: solid black 1px;
@@ -117,10 +122,6 @@ padding-left: 5px;
text-align: center;
}
-div.footer p {
-margin: 0px;
-}
-
a:link,a:visited,a:active {
text-decoration:none;
}
@@ -139,7 +140,8 @@ color:black;
font-size: 13px;
}
-div.main-inside h2 {
+h3 {
+margin-top: 10px;
font-size:18px;
font-weight: bold;
color: #4965B3;
@@ -153,16 +155,16 @@ tr.bg2 {
background-color: #B5C5C5;
}
+/* Class for parameters key and value */
td.label {
-background: #dcdcd3;
color: #5945A3;
padding: 5px 5px 5px 5px;
margin: 0em 0em 0em 0em;
border-bottom: 1px solid #8CACBB;
}
+/* Class for parameters example */
td.comment {
-background: #dcdcd3;
color: black;
padding: 5px 5px 5px 5px;
margin: 0em 0em 0em 0em;
diff --git a/htdocs/install/etape0.php b/htdocs/install/etape0.php
index 1cc31844d6d..44867a7f99f 100644
--- a/htdocs/install/etape0.php
+++ b/htdocs/install/etape0.php
@@ -18,10 +18,10 @@
*/
/**
- \file htdocs/install/etape0.php
- \ingroup install
- \brief Permet d'afficher et de confirmer le charset par rapport aux informations précédentes -> sélection suite à connexion'
- \version $Id$
+ * \file htdocs/install/etape0.php
+ * \ingroup install
+ * \brief Permet d'afficher et de confirmer le charset par rapport aux informations précédentes -> sélection suite à connexion'
+ * \version $Id$
*/
define('DONOTLOADCONF',1); // To avoid loading conf by file inc.php
@@ -233,7 +233,7 @@ if (! $error && $db->connected)
?>
| trans("CharacterSetDatabase"); ?> |
- ';
@@ -243,7 +243,7 @@ if (! $error && $db->connected)
// We keep only utf8 and iso
$linedisabled=false;
if (! eregi('(utf8|latin1)',$characterSet['charset'])) $linedisabled=true;
-
+
if ($defaultCharacterSet == $characterSet['charset'] )
{
$selected="selected";
@@ -286,7 +286,7 @@ if (! $error && $db->connected)
// We keep only utf8 and iso
$linedisabled=false;
if (! eregi('(utf8_general|latin1_swedish)',$collation['collation'])) $linedisabled=true;
-
+
if ($defaultCollationConnection == $collation['collation'])
{
$selected="selected";
diff --git a/htdocs/install/etape5.php b/htdocs/install/etape5.php
index 3e490170051..12244ec1921 100644
--- a/htdocs/install/etape5.php
+++ b/htdocs/install/etape5.php
@@ -242,15 +242,15 @@ if ($_POST["action"] == "upgrade")
if ($_POST["action"] == "upgrade")
{
- print '';
+ print '';
print $langs->trans("GoToDolibarr");
- print '';
+ print '';
}
else
{
- print '';
+ print '';
print $langs->trans("GoToSetupArea");
- print '';
+ print '';
}
diff --git a/htdocs/install/fileconf.php b/htdocs/install/fileconf.php
index b65a9a1e25d..d045067e2f2 100644
--- a/htdocs/install/fileconf.php
+++ b/htdocs/install/fileconf.php
@@ -66,7 +66,7 @@ if (! empty($force_install_message_doliwamp))
|
-trans("Main"); ?>
+trans("WebServer"); ?>
|
@@ -314,7 +314,7 @@ while (($file = readdir($handle))!==false)
-
+
|
trans("Login"); ?>
|
diff --git a/htdocs/install/headbg.jpg b/htdocs/install/headbg.jpg
new file mode 100644
index 00000000000..5491c6e4acb
Binary files /dev/null and b/htdocs/install/headbg.jpg differ
diff --git a/htdocs/install/upgrade.php b/htdocs/install/upgrade.php
index b893364223a..1e7b92c3b1c 100644
--- a/htdocs/install/upgrade.php
+++ b/htdocs/install/upgrade.php
@@ -65,7 +65,7 @@ if (! is_object($conf)) dolibarr_install_syslog("upgrade2: conf file not initial
* View
*/
-pHeader($langs->trans("DatabaseMigration"),"upgrade2","upgrade");
+pHeader('',"upgrade2","upgrade");
$actiondone=0;
@@ -74,7 +74,7 @@ if (! isset($_GET["action"]) || $_GET["action"] == "upgrade" || $_GET["action"]
{
$actiondone=1;
- print ''.$langs->trans("DatabaseMigration").'';
+ print ''.$langs->trans("DatabaseMigration").'
';
if ($_GET["action"] != "repair" && ! $versionfrom && ! $versionto)
{
@@ -103,7 +103,7 @@ if (! isset($_GET["action"]) || $_GET["action"] == "upgrade" || $_GET["action"]
$db = new DoliDb($conf->db->type,$conf->db->host,$conf->db->user,$conf->db->pass,$conf->db->name,$conf->db->port);
if ($db->connected == 1)
{
- print "| ";
+ print ' |
| ';
print $langs->trans("ServerConnection")." : $dolibarr_main_db_host | ".$langs->trans("OK")." |
";
dolibarr_install_syslog("upgrade: ".$langs->transnoentities("ServerConnection")." : $dolibarr_main_db_host ".$langs->transnoentities("OK"));
$ok = 1;
@@ -119,7 +119,7 @@ if (! isset($_GET["action"]) || $_GET["action"] == "upgrade" || $_GET["action"]
{
if($db->database_selected == 1)
{
- print "| ";
+ print ' |
| ';
print $langs->trans("DatabaseConnection")." : ".$dolibarr_main_db_name." | ".$langs->trans("OK")." |
";
dolibarr_install_syslog("upgrade: Database connection successfull : $dolibarr_main_db_name");
$ok=1;
diff --git a/htdocs/install/upgrade2.php b/htdocs/install/upgrade2.php
index 03058374bc6..cc10370a473 100644
--- a/htdocs/install/upgrade2.php
+++ b/htdocs/install/upgrade2.php
@@ -65,7 +65,7 @@ dolibarr_install_syslog("upgrade2: Entering upgrade2.php page");
if (! is_object($conf)) dolibarr_install_syslog("upgrade2: conf file not initialized",LOG_ERR);
-pHeader($langs->trans('DataMigration'),'etape5','upgrade');
+pHeader('','etape5','upgrade');
if (isset($_POST['action']) && $_POST['action'] == 'upgrade')
diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang
index 6914d32b7ff..c7b0e2fa583 100644
--- a/htdocs/langs/en_US/admin.lang
+++ b/htdocs/langs/en_US/admin.lang
@@ -597,7 +597,7 @@ SummarySystem=System information summary
SummaryConst=List of all Dolibarr setup parameters
SystemUpdate=System update
SystemSuccessfulyUpdate=Your system has been updated successfuly
-MenuCompanySetup=Company/Fundation
+MenuCompanySetup=Company/Foundation
MenuNewUser=New user
MenuTopManager=Top menu manager
MenuLeftManager=Left menu manager
@@ -647,8 +647,9 @@ DelaysOfToleranceMembers=Tolerance delay (in days) before alert on delayed adher
DelaysOfToleranceChequesToDeposit=Tolerance delay (in days) before alert for cheques deposit to do
SetupDescription1=All parameters available in the setup area allow you to setup Dolibarr before starting using it.
SetupDescription2=The 2 most important setup steps are the 2 first ones in the left setup menu, this means Company/foundation setup page and Modules setup page:
-SetupDescription3=Company/fundation setup is required because input information is used on Dolibarr displays and to modify Dolibarr behaviour (for example for features related to your country).
-SetupDescription4=Modules setup is required because Dolibarr is not a simple ERP/CRM but a sum of several modules, all more or less independant. It's only after activating modules you're interesting in that you will see features appeared in Dolibarr menu.
+SetupDescription3=Parameters in menu Setup -> Company/foundation are required because input information is used on Dolibarr displays and to modify Dolibarr behaviour (for example for features related to your country).
+SetupDescription4=Parameters in menu Setup -> Modules are required because Dolibarr is not a fixed ERP/CRM but a sum of several modules, all more or less independant. It's only after activating modules you're interesting in that you will see features appeared in menus.
+SetupDescription5=Other menu entries manage optionnal parameters.
EventsSetup=Setup for events logs
LogEvents=Security audit events
Audit=Audit
diff --git a/htdocs/langs/en_US/install.lang b/htdocs/langs/en_US/install.lang
index ce5f3a1c366..9de3e0ac17c 100644
--- a/htdocs/langs/en_US/install.lang
+++ b/htdocs/langs/en_US/install.lang
@@ -1,6 +1,6 @@
# Dolibarr language file - en_US - install
CHARSET=UTF-8
-InstallEasy=We tried to make the Dolibarr setup as easy as possible. Just follow the instructions step by step.
+InstallEasy=Just follow the instructions step by step.
MiscellanousChecks=Prerequisites check
DolibarrWelcome=Welcome to Dolibarr
ConfFileExists=Configuration file %s exists.
diff --git a/htdocs/langs/fr_FR/admin.lang b/htdocs/langs/fr_FR/admin.lang
index 69167d2ac11..da6b68a894e 100644
--- a/htdocs/langs/fr_FR/admin.lang
+++ b/htdocs/langs/fr_FR/admin.lang
@@ -647,8 +647,9 @@ DelaysOfToleranceMembers = Tolérance de retard avant alerte (en jours) sur coti
DelaysOfToleranceChequesToDeposit = Tolérance de retard avant alerte (en jours) sur chèques à déposer
SetupDescription1 = Toutes les options de l'espace configuration sont des options permettant de configurer Dolibarr avant de commencer son utilisation.
SetupDescription2 = Les 2 étapes indispensables de configuration sont les 2 premières dans le menu gauche, à savoir, la configuration de la société/institution et la configuration des modules:
-SetupDescription3 = La configuration Société/institution à gérer est requise car les informations saisies sont utilisées dans la plupart des écrans, en affichage, ou pour modifier le comportement de Dolibarr (comme par exemple des fonctions qui dépendent de votre pays).
-SetupDescription4 = La configuration Modules est indispensable car Dolibarr n'est pas un ERP/CRM monolithique mais un ensemble de modules tous plus ou moins indépendant. C'est après avoir activé les modules qui vous intéressent que vous verrez apparaitre les fonctionnalités dans les menus de Dolibarr.
+SetupDescription3 = Les données du menu Configuration -> Société/institution sont requises car les informations saisies sont utilisées dans la plupart des écrans, en affichage, ou pour modifier le comportement de Dolibarr (comme par exemple des fonctions qui dépendent de votre pays).
+SetupDescription4 = Les données du menu Configuration -> Modules sont indispensables car Dolibarr ERP/CRM est constitué d'un ensemble de modules tous plus ou moins indépendant. C'est après avoir activé les modules qui vous intéressent que vous verrez apparaitre les fonctionnalités dans les menus.
+SetupDescription5 = Les autres entrées de configuration gèrent des paramètres facultatifs.
EventsSetup = Configuration du traçage des évenements
LogEvents = Evènements d'audit de sécurité
Audit = Audit
diff --git a/htdocs/langs/fr_FR/install.lang b/htdocs/langs/fr_FR/install.lang
index 7c1391596fc..e95b8ea70d7 100644
--- a/htdocs/langs/fr_FR/install.lang
+++ b/htdocs/langs/fr_FR/install.lang
@@ -1,6 +1,6 @@
# Dolibarr language file - fr_FR - install
CHARSET=UTF-8
-InstallEasy=Nous avons fait en sorte que l'installation soit le plus simple possible, vous n'avez qu'à suivre les étapes une à une.
+InstallEasy=Veuillez suivre les étapes une à une.
MiscellanousChecks=Vérification de prérequis
DolibarrWelcome=Bienvenue sur Dolibarr
ConfFileExists=Le fichier de configuration %s existe.
diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php
index 4de3eb60fa9..0159788e605 100644
--- a/htdocs/main.inc.php
+++ b/htdocs/main.inc.php
@@ -139,7 +139,7 @@ if ($conf->file->main_force_https)
{
$newurl=eregi_replace('^http:','https:',$_SERVER["SCRIPT_URI"]);
- dol_syslog("dolibarr_main_force_https is on, we make a redirect to ".$newurl);
+ dol_syslog("main.inc: dolibarr_main_force_https is on, we make a redirect to ".$newurl);
header("Location: ".$newurl);
exit;
}
@@ -155,7 +155,7 @@ if ($conf->file->main_force_https)
$newurl='https://'.$domaineport.$_SERVER["REQUEST_URI"];
//print 'eee'.$newurl; exit;
- dol_syslog("dolibarr_main_force_https is on, we make a redirect to ".$newurl);
+ dol_syslog("main.inc: dolibarr_main_force_https is on, we make a redirect to ".$newurl);
header("Location: ".$newurl);
exit;
}
@@ -169,6 +169,27 @@ if (! defined('NOREQUIREHTML')) require_once(DOL_DOCUMENT_ROOT ."/html.form.clas
if (! defined('NOREQUIREAJAX') && $conf->use_javascript_ajax) require_once(DOL_DOCUMENT_ROOT.'/lib/ajax.lib.php'); // Need 20ko memory
//stopwithmem();
+// If install or upgrade process not done or not completely finished, we call the install page.
+if (! empty($conf->global->MAIN_NOT_INSTALLED) || ! empty($conf->global->MAIN_NOT_UPGRADED))
+{
+ dol_syslog("main.inc: A previous install or upgrade was not complete. Redirect to install page.", LOG_WARNING);
+ Header("Location: ".DOL_URL_ROOT."/install/index.php");
+ exit;
+}
+// If an upgrade process is required, we call the install page.
+if (! empty($conf->global->MAIN_VERSION_LAST_UPGRADE) && ($conf->global->MAIN_VERSION_LAST_UPGRADE != DOL_VERSION))
+{
+ require_once(DOL_DOCUMENT_ROOT ."/lib/admin.lib.php");
+ $dolibarrversionlastupgrade=split('[\.-]',$conf->global->MAIN_VERSION_LAST_UPGRADE);
+ $dolibarrversionprogram=split('[\.-]',DOL_VERSION);
+ if (versioncompare($dolibarrversionprogram,$dolibarrversionlastupgrade) > 0) // Programs have a version higher than database
+ {
+ dol_syslog("main.inc: database version ".$conf->global->MAIN_VERSION_LAST_UPGRADE." is lower than programs version ".DOL_VERSION.". Redirect to install page.", LOG_WARNING);
+ Header("Location: ".DOL_URL_ROOT."/install/index.php");
+ exit;
+ }
+}
+
// Creation d'un jeton contre les failles CSRF
if (! defined('NOTOKENRENEWAL'))
{
@@ -599,12 +620,12 @@ if (sizeof($conf->need_smarty) > 0)
// Tentative de hacking ?
if (! $user->login) accessforbidden();
-// Verifie si user actif
+// Check if user is active
if ($user->statut < 1)
{
// Si non actif, on delogue le user
$langs->load("other");
- dol_syslog ("Authentification ko car login desactive");
+ dol_syslog ("Authentification ko as login is disbaled");
accessforbidden($langs->trans("ErrorLoginDisabled"));
exit;
}
@@ -615,14 +636,6 @@ dol_syslog("Access to ".$_SERVER["PHP_SELF"],LOG_INFO);
// For backward compatibility
if (! defined('MAIN_INFO_SOCIETE_PAYS')) define('MAIN_INFO_SOCIETE_PAYS','1');
-// If install not finished, we start again.
-if (defined("MAIN_NOT_INSTALLED"))
-{
- Header("Location: ".DOL_URL_ROOT."/install/index.php");
- exit;
-}
-
-
// On charge les fichiers lang principaux
$langs->load("main");
$langs->load("dict");
diff --git a/htdocs/support/default.css b/htdocs/support/default.css
index acc7ed481c1..9e34b137ac6 100644
--- a/htdocs/support/default.css
+++ b/htdocs/support/default.css
@@ -44,7 +44,6 @@ margin: 0em 0em 0em 0em;
border: 1px solid #AAAAAA;
}
-
div.soustitre {
font-size: 15px;
font-weight: bold;
@@ -58,10 +57,10 @@ text-align: right;
inputdisabled
{
- background: #FDFDFD;
- border: 1px solid #ACBCBB;
- padding: 0px 0px 0px 0px;
- margin: 0px 0px 0px 0px;
+background: #FDFDFD;
+border: 1px solid #ACBCBB;
+padding: 0px 0px 0px 0px;
+margin: 0px 0px 0px 0px;
}
table.main {
@@ -70,13 +69,6 @@ text-align: left;
border: 1px solid #8CACBB;
}
-table.main-inside {
-padding-left: 10px;
-padding-right: 10px;
-margin-bottom: 20px;
-margin-top: 10px;
-}
-
div.ok {
color: #114466;
}
@@ -96,23 +88,6 @@ font.error {
color: #550000;
}
-div.barrebottom {
-text-align: right;
-margin-top: 10px;
-padding-top: 10px;
-padding-bottom: 10px;
-padding-right: 10px;
-}
-
-
-div.footer {
-background-color: #dcdff4;
-font-size: 10px;
-border-top: solid black 1px;
-padding-left: 5px;
-text-align: center;
-}
-
div.header {
background-color: #dcdff4;
border-bottom: solid black 1px;
@@ -120,10 +95,6 @@ padding-left: 5px;
text-align: center;
}
-div.footer p {
-margin: 0px;
-}
-
a:link,a:visited,a:active {
color: #2266DD;
text-decoration:none;
@@ -138,12 +109,6 @@ text-decoration:none;
}
-div.comment {
-text-decoration:none;
-color:black;
-font-size: 13px;
-}
-
div.main-inside h2 {
font-size:18px;
font-weight: bold;
@@ -188,4 +153,4 @@ background: #DDDFDD;
}
table { font-size: 12px; }
-table.login { border: 1px solid #C0C0C0; background: #F0F0F0 url(background.png) repeat-x;font-size: 12px; }
+table.login { border: 1px solid #C0C0C0; background: #F0F0F0 url(background.png) repeat-x; font-size: 12px; }