From e66371c6d1db2786380a9c25aa8cefb91603b19a Mon Sep 17 00:00:00 2001 From: simnandez Date: Wed, 13 Nov 2013 16:35:02 +0100 Subject: [PATCH] New: Link to communities. Add official Support links --- htdocs/langs/en_US/help.lang | 3 ++- htdocs/langs/es_ES/help.lang | 2 ++ htdocs/langs/fr_FR/help.lang | 2 ++ htdocs/main.inc.php | 7 ++++++- htdocs/support/index.php | 35 +++++++++++++++++++++++++++++++++++ 5 files changed, 47 insertions(+), 2 deletions(-) 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 '
'; + +// Official support +print ''; +print ''; +print ''; +print ''; +print ''; +print ''; +print ''."\n"; +print "\n"; print '
'; /*