';
// copy in clipboard
$coords = '';
diff --git a/htdocs/core/menus/standard/eldy.lib.php b/htdocs/core/menus/standard/eldy.lib.php
index 5f62b06c868..1581af09a1d 100644
--- a/htdocs/core/menus/standard/eldy.lib.php
+++ b/htdocs/core/menus/standard/eldy.lib.php
@@ -491,7 +491,7 @@ function print_left_eldy_menu($db,$menu_array_before,$menu_array_after,&$tabMenu
}
$newmenu->add("/admin/company.php?mainmenu=home", $langs->trans("MenuCompanySetup").$warnpicto,1);
$warnpicto='';
- if (count($conf->modules) <= 1) // If only user module enabled
+ if (count($conf->modules) <= (empty($conf->global->MAIN_MIN_NB_ENABLED_MODULE_FOR_WARNING)?1:$conf->global->MAIN_MIN_NB_ENABLED_MODULE_FOR_WARNING)) // If only user module enabled
{
$langs->load("errors");
$warnpicto = ' '.img_warning($langs->trans("WarningMandatorySetupNotComplete"));
diff --git a/htdocs/install/mysql/migration/3.4.0-3.5.0.sql b/htdocs/install/mysql/migration/3.4.0-3.5.0.sql
index 81a61afbd81..4b1a16d532d 100755
--- a/htdocs/install/mysql/migration/3.4.0-3.5.0.sql
+++ b/htdocs/install/mysql/migration/3.4.0-3.5.0.sql
@@ -20,6 +20,15 @@
DELETE FROM llx_menu where module='holiday';
+
+-- Fix bad migration of 3.4 that make this text instead of varchar(50)
+alter table llx_don MODIFY COLUMN town varchar(50);
+alter table llx_adherent MODIFY COLUMN town varchar(50);
+alter table llx_entrepot MODIFY COLUMN town varchar(50);
+alter table llx_societe MODIFY COLUMN town varchar(50);
+alter table llx_societe_address MODIFY COLUMN town varchar(50);
+
+
ALTER TABLE llx_projet_task ADD COLUMN planned_workload real DEFAULT 0 NOT NULL AFTER duration_effective;
ALTER TABLE llx_socpeople ADD COLUMN statut tinyint DEFAULT 1 NOT NULL AFTER import_key;
diff --git a/htdocs/langs/en_US/help.lang b/htdocs/langs/en_US/help.lang
index 51bd20a72ca..98406a7c53a 100644
--- a/htdocs/langs/en_US/help.lang
+++ b/htdocs/langs/en_US/help.lang
@@ -24,4 +24,5 @@ BackToHelpCenter=Otherwise, click here to go back to help center ho
LinkToGoldMember=You can call one of the coach preselected by Dolibarr for your language (%s) by clicking his Widget (status and maximum price are automatically updated):
PossibleLanguages=Supported languages
MakeADonation=Help Dolibarr project, make a donation
-SubscribeToFoundation=Help Dolibarr project, subscribe to the foundation
\ No newline at end of file
+SubscribeToFoundation=Help Dolibarr project, subscribe to the foundation
+SeeOfficalSupport=For official Dolibarr support in your language: %s
\ No newline at end of file
diff --git a/htdocs/langs/es_ES/help.lang b/htdocs/langs/es_ES/help.lang
index 9ae200bc52e..e5178751951 100644
--- a/htdocs/langs/es_ES/help.lang
+++ b/htdocs/langs/es_ES/help.lang
@@ -14,6 +14,7 @@ TypeSupportCommercial=Comercial
TypeOfHelp=Tipo
NeedHelpCenter=¿Necesita soporte o ayuda?
Efficiency=Eficacia
+OfficialSupport=Soporte oficial
TypeHelpOnly=Sólamente ayuda
TypeHelpDev=Ayuda+Desarrollo
TypeHelpDevForm=Ayuda+Desarrollo+Formación
@@ -25,3 +26,4 @@ LinkToGoldMember=En caso contrario, puede llamar inmediatamente a uno de los asi
PossibleLanguages=Idiomas disponibles
MakeADonation=Ayude al proyecto Dolibarr, haga una donación
SubscribeToFoundation=Ayude al proyecto Dolibarr, adhiérase a la asociación Dolibarr
+SeeOfficalSupport=Para obtener soporte oficial Dolibarr en su idioma: %s
diff --git a/htdocs/langs/fr_FR/help.lang b/htdocs/langs/fr_FR/help.lang
index e2e55f03943..783d48ae8e3 100644
--- a/htdocs/langs/fr_FR/help.lang
+++ b/htdocs/langs/fr_FR/help.lang
@@ -14,6 +14,7 @@ TypeSupportCommercial=Commercial
TypeOfHelp=Type
NeedHelpCenter=Besoin d'assistance ou aide ?
Efficiency=Efficacité
+OfficialSupport=Assistance officiel
TypeHelpOnly=Aide uniquement
TypeHelpDev=Aide+Développement
TypeHelpDevForm=Aide+Développement+Formation
@@ -25,3 +26,4 @@ LinkToGoldMember=Vous pouvez appeler immédiatement un des quelques accompagnate
PossibleLanguages=Langues disponibles
MakeADonation=Aidez le projet Dolibarr, faites un don
SubscribeToFoundation=Aidez le projet Dolibarr, adhérez à l'association Dolibarr
+SeeOfficalSupport=Pour un accompagnement officielle Dolibarr dans votre langue : %s
\ No newline at end of file
diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php
index 9274004d615..644d8e3464d 100644
--- a/htdocs/main.inc.php
+++ b/htdocs/main.inc.php
@@ -1611,8 +1611,13 @@ function left_menu($menu_array_before, $helppagename='', $moresearchform='', $me
print "\n";
}
- //Dolibarr version
+ //Dolibarr version
$doliurl='http://www.dolibarr.org';
+
+ //local communities
+ if (preg_match('/fr/i',$langs->defaultlang)) $doliurl='http://www.dolibarr.fr';
+ if (preg_match('/es/i',$langs->defaultlang)) $doliurl='http://www.dolibarr.es';
+
$appli='Dolibarr';
if (! empty($conf->global->MAIN_APPLICATION_TITLE)) {
$appli=$conf->global->MAIN_APPLICATION_TITLE; $doliurl='';
diff --git a/htdocs/support/index.php b/htdocs/support/index.php
index bddcd874073..fd574712600 100644
--- a/htdocs/support/index.php
+++ b/htdocs/support/index.php
@@ -1,6 +1,7 @@
* Copyright (C) 2008-2012 Regis Houssin
+ * Copyright (C) 2012 Juanjo Menent
*
* 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
@@ -100,7 +101,41 @@ print '';
print ''."\n";
print "\n";
+print '