Enhancement of help center
This commit is contained in:
parent
c54e6694dc
commit
41b81f6a3a
@ -19,7 +19,7 @@ TypeHelpOnly = Només ajuda
|
||||
TypeHelpDev = Ajuda+Desenvolupament
|
||||
TypeHelpDevForm = Ajuda+Desenvolupament+Formació
|
||||
ToGetHelpGoOnSparkAngels1 = Algunes empreses o independents ofereixen serveis de suport molt ràpid (de vegades d'immediat) i més eficients gràcies a la capacitat de control remot del seu equip per ajudar a diagnosticar i resoldre els seus problemes. Aquesta assistència es pot trobar a la borsa d'assistents de <b>%s</b>:
|
||||
ToGetHelpGoOnSparkAngels3 = Per accedir a la recerca de <b>assistents disponibles</b> (realitzant a continuació una recerca sobre la paraula clau "dolibarr"), <a href="%s" target="_blank">feu clic aquí</a>.
|
||||
ToGetHelpGoOnSparkAngels3 = Per accedir a la recerca de <b>assistents disponibles</b>, feu clic aquí
|
||||
ToGetHelpGoOnSparkAngels2 = En ocasions, cap operador es troba disponible en el moment de la seva recerca, no oblideu canviar el criteri de cerca indicant "tots els disponibles". Pot, doncs, posar-se en contacte en diferit.
|
||||
BackToHelpCenter = Sinó, feu clic aquí per <a href="%s"> tornar al centre d'assistència</a>.
|
||||
LinkToGoldMember = En cas contrari, podeu trucar immediatament a un dels assistents preseleccionats per Dolibarr per al seu idioma (%s) fent clic en el seu widget (disponibilitat i tarifa màxima actualitzades automàticament):
|
||||
|
||||
@ -19,9 +19,9 @@ TypeHelpOnly=Help only
|
||||
TypeHelpDev=Help+Development
|
||||
TypeHelpDevForm=Help+Development+Formation
|
||||
ToGetHelpGoOnSparkAngels1=Some companies can provide a fast (sometime immediate) and more efficient online support by taking control of your computer. Such helpers can be found on <b>%s</b> web site:
|
||||
ToGetHelpGoOnSparkAngels3=To go to search form (then make a search on "dolibarr" keyword), <a href="%s" target="_blank">click here</a>.
|
||||
ToGetHelpGoOnSparkAngels3=You can also go to list of all available coaches for Dolibarr, for this click on button
|
||||
ToGetHelpGoOnSparkAngels2=Sometimes, there is no company available at the moment you make your search, so think to change the filter to look for "all availability". You will be able to send more requests.
|
||||
BackToHelpCenter=Otherwise, click here to go <a href="%s">back to help center home page</a>.
|
||||
LinkToGoldMember=Also, 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):
|
||||
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
|
||||
@ -19,7 +19,7 @@ TypeHelpOnly = Sólamente ayuda
|
||||
TypeHelpDev = Ayuda+Desarrollo
|
||||
TypeHelpDevForm = Ayuda+Desarrollo+Formación
|
||||
ToGetHelpGoOnSparkAngels1 = Algunas empresas o independientes ofrecen servicios de apoyo muy rápido (a veces de inmediato) y más eficientes gracias a la capacidad de control remoto de su equipo para ayudar a diagnosticar y resolver sus problemas. Esta asistencia se puede encontrar en la bolsa de asistentes de <b>%s</b>:
|
||||
ToGetHelpGoOnSparkAngels3 = Para acceder a la búsqueda de <b>asistentes disponibles</b> (realizando a continuación una búsqueda sobre la palabra clave "dolibarr"), <a href="%s" target="_blank">haga clic aquí</a>.
|
||||
ToGetHelpGoOnSparkAngels3 = Para acceder a la búsqueda de <b>asistentes disponibles</b>, haga clic aquí
|
||||
ToGetHelpGoOnSparkAngels2 = En ocasiones, ningún operador se encuentra disponible en el momento de su búsqueda, no olvide cambiar los criterios de búsqueda indicando "todos los disponibles". Puede, entonces, ponerse en contacto en diferido.
|
||||
BackToHelpCenter = Sino, haga clic aquí para <a href="%s"> volver al centro de asistencia</a>.
|
||||
LinkToGoldMember = En caso contrario, puede llamar inmediatamente a uno de los asistentes preseleccionados por Dolibarr para su idioma (%s) haciendo clic en su widget (disponibilidad y tarifa máxima actualizadas automáticamente):
|
||||
|
||||
@ -19,9 +19,9 @@ TypeHelpOnly=Aide uniquement
|
||||
TypeHelpDev=Aide+Développement
|
||||
TypeHelpDevForm=Aide+Développement+Formation
|
||||
ToGetHelpGoOnSparkAngels1=Certaines sociétés ou indépendants offrent un service de support très rapide (parfois immédiat) et encore plus efficace grâce à la possibilité de prise de contrôle à distance de votre ordinateur pour mieux diagnostiquer et résoudre vos problèmes. Une telle aide peut être trouvée sur la bourse des accompagnateurs de <b>%s</b>.
|
||||
ToGetHelpGoOnSparkAngels3=Pour accéder au formulaire de recherche des <b>accompagnants disponibles</b> (puis lancer une recherche sur le mot clé "dolibarr"), <a href="%s" target="_blank">cliquez ici</a>.
|
||||
ToGetHelpGoOnSparkAngels3=Vous pouvez aussi accéder à la liste complète de tous les <b>accompagnants disponibles</b>, pour cela cliquez sur le bouton
|
||||
ToGetHelpGoOnSparkAngels2=Parfois, aucun intervenant n'est disponible au moment de votre recherche, aussi pensez à modifier vos critères de recherche en indiquant "Toutes disponibilités". Vous pourrez alors prendre contact en différé.
|
||||
BackToHelpCenter=Sinon, cliquez ici pour <a href="%s">retourner au centre d'assistance</a>.
|
||||
LinkToGoldMember=Autrement, vous pouvez aussi appeler immédiatement un des accompagnateurs préselectionnés par Dolibarr pour votre langue (%s) en cliquant son Widget (disponibilité et tarif maximum sont raffraichis automatiquement):
|
||||
LinkToGoldMember=Vous pouvez appeler immédiatement un des accompagnateurs préselectionnés par Dolibarr pour votre langue (%s) en cliquant son Widget (disponibilité et tarif maximum sont raffraichis automatiquement):
|
||||
PossibleLanguages=Langages possibles
|
||||
MakeADonation=Aidez le projet Dolibarr, faites un don
|
||||
@ -1,4 +1,5 @@
|
||||
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2009 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* 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
|
||||
@ -15,7 +16,6 @@
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* $Id$
|
||||
* $Source$
|
||||
*/
|
||||
|
||||
body {
|
||||
@ -188,4 +188,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; }
|
||||
|
||||
@ -182,7 +182,7 @@ function conf($dolibarr_main_document_root)
|
||||
|
||||
|
||||
/**
|
||||
* \brief Affiche entete HTML
|
||||
* \brief Show HTML header
|
||||
*/
|
||||
function pHeader($soutitre,$next,$action='none')
|
||||
{
|
||||
@ -201,21 +201,16 @@ function pHeader($soutitre,$next,$action='none')
|
||||
print '<link rel="stylesheet" type="text/css" href="default.css">'."\n";
|
||||
print '<title>'.$langs->trans("Help").'</title>'."\n";
|
||||
print '</head>'."\n";
|
||||
|
||||
print '<body>'."\n";
|
||||
print '<table class="noborder"><tr valign="middle">';
|
||||
|
||||
print '<table class="noborder" summary="helpcentertitle"><tr valign="middle">';
|
||||
print '<td width="20">';
|
||||
print '<img src="'.DOL_URL_ROOT.'/theme/common/helpcenter.png">';
|
||||
print '<img src="'.DOL_URL_ROOT.'/theme/common/helpcenter.png" alt="logohelpcenter">';
|
||||
print '</td>';
|
||||
print '<td>';
|
||||
print '<span class="titre">'.$soutitre.'</span>'."\n";
|
||||
print '</td></tr></table>';
|
||||
|
||||
print '<form action="'.$next.'" method="POST">'."\n";
|
||||
print '<input type="hidden" name="action" value="'.$action.'">'."\n";
|
||||
|
||||
// print '<table class="main" width="100%"><tr><td>'."\n";
|
||||
|
||||
// print '<table class="main-inside" width="100%"><tr><td>'."\n";
|
||||
}
|
||||
|
||||
/**
|
||||
@ -230,7 +225,6 @@ function pFooter($nonext=0,$setuplang='')
|
||||
$langs->load("main");
|
||||
$langs->load("admin");
|
||||
|
||||
print '</form>'."\n";
|
||||
print '</body>'."\n";
|
||||
print '</html>'."\n";
|
||||
}
|
||||
|
||||
@ -33,6 +33,10 @@ $langs->load("other");
|
||||
$langs->load("help");
|
||||
|
||||
|
||||
/*
|
||||
* View
|
||||
*/
|
||||
|
||||
pHeader($langs->trans("DolibarrHelpCenter"),$_SERVER["PHP_SELF"]);
|
||||
|
||||
$urlsparkengels='http://www.spark-angels.com';
|
||||
@ -41,36 +45,34 @@ $titlesparkangels='Spark-Angels';
|
||||
//print '<br>';
|
||||
|
||||
print $langs->trans("ToGetHelpGoOnSparkAngels1",$titlesparkangels).'<br>';
|
||||
print '<br>';
|
||||
|
||||
print '<table class="noborder"><tr valign="middle"><td>';
|
||||
print '* '.$langs->trans("ToGetHelpGoOnSparkAngels3",$urlsparkengels);
|
||||
print '</td><td>';
|
||||
//print '<a href="'.$urlsparkengels.'" target="_blank">';
|
||||
//print '<img border="0" src="sparkangels.png" alt="SparkAngels web site" title="SparkAngels web site">';
|
||||
//print $titlesparkangels;
|
||||
//print '</a>';
|
||||
print '</td></tr></table><br>';
|
||||
print $langs->trans("ToGetHelpGoOnSparkAngels2",$titlesparkangels).'<br>';
|
||||
print '<br><br>';
|
||||
|
||||
|
||||
// List of predefined coaches
|
||||
// We list here the 4 most active coaches on Dolibarr projects (according to number of commits
|
||||
// found in page http://www.nltechno.com/stats/dolibarr/cvschangelogbuilder_dolibarr.html
|
||||
$limit=4;
|
||||
$arrayofwidgets=array(
|
||||
// Widget for Laurent Destailleur
|
||||
array('name'=>'Laurent Destailleur',
|
||||
'id'=>'4256,4255', // Put of list of sparkangels widget id (for each language)
|
||||
'lang'=>'fr,en'), // Put list of language code of widgets (always english at end)
|
||||
// Widget for Regis Houssin
|
||||
'sort'=>1,
|
||||
'id'=>'4256,4255', // Put of list of sparkangels widget id (for each language)
|
||||
'lang'=>'fr,en'), // Put list of language code of widgets (always english at end)
|
||||
// Widget for Regis Houssin
|
||||
array('name'=>'Régis Houssin',
|
||||
'id'=>'4611',
|
||||
'lang'=>'fr')
|
||||
'sort'=>2,
|
||||
'id'=>'4611',
|
||||
'lang'=>'fr')
|
||||
);
|
||||
$arrayofwidgets=dol_sort_array($arrayofwidgets,'sort','asc',0,0);
|
||||
|
||||
// Preselected widgets
|
||||
$found=0;
|
||||
print '<br><br>';
|
||||
print '* '.$langs->trans("LinkToGoldMember",$langs->defaultlang).'<br><br>';
|
||||
print '<table><tr>';
|
||||
print '<table summary="listofgoldcoaches"><tr>';
|
||||
foreach ($arrayofwidgets as $arraywidget) // Loop on each user
|
||||
{
|
||||
if ($found >= $limit) break;
|
||||
$listofwidgets=split(',',$arraywidget['id']);
|
||||
$listoflangs=split(',',$arraywidget['lang']);
|
||||
$pos=0;
|
||||
@ -95,7 +97,7 @@ foreach ($arrayofwidgets as $arraywidget) // Loop on each user
|
||||
//print 'xx lang qualified='.$langcode.' id='.$widgetid;
|
||||
print '<iframe src="http://dnld0.sparkom.com/static/widget/widgetpro-iframe.html?accountId='.$widgetid.'" width="172" height="123" frameborder="0" scrolling="no" marginheight="0" > </iframe>';
|
||||
print '</td>';
|
||||
$found=1;
|
||||
$found++;
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -103,7 +105,45 @@ foreach ($arrayofwidgets as $arraywidget) // Loop on each user
|
||||
if (! $found) print '<td>'.$langs->trans("SorryNoHelpForYourLanguage").'</td>';
|
||||
print '</tr></table>';
|
||||
|
||||
print '<br><br>';
|
||||
|
||||
// List of coaches
|
||||
$sparkangellangcode=substr($langs->defaultlang,0,2);
|
||||
if (! in_array($sparkangellangcode,array('fr','en','sp'))) $sparkangellangcode='en';
|
||||
print '<table class="noborder" summary="ListOfSupport"><tr valign="middle"><td>';
|
||||
print '* '.$langs->trans("ToGetHelpGoOnSparkAngels3",$urlsparkengels);
|
||||
print '<div id="sparkom_bsaHelpersSearch">'."\n";
|
||||
print '<form target="_blank" id="frJSkw" action="http://www.spark-angels.com//rss/action/resultsearch.html" name="fResult" method="get">'."\n";
|
||||
print ' <input type="hidden" value="" title="Rechercher" maxlength="1024" name="kws" id="kws"/> <!-- mots clés pour la recherche dont la ou les compétences matchent avec ces mots -->'."\n";
|
||||
print ' <input id="dhids" name="dhids" type="hidden" value=""><!-- identifiant SHSAPI communiqué par SparkAngels. -->'."\n";
|
||||
print ' <input id="lgSearch" name="lgS" type="hidden" value=""><!-- code langue, les accompagnateurs proposés suite à cette recherche prétendent pouvoir fournir de l assistance dans au moins cette langue-->'."\n";
|
||||
print ' <input id="myLv" name="myLv" type="hidden" value=""><!-- niveau de l internaute dans le domaine de sa recherche.-->'."\n";
|
||||
print ' <input id="catSrv" name="catSrv" type="hidden" value=""><!-- type de catégorie de service demandée.-->'."\n";
|
||||
print ' <input type="submit" value="'.$langs->trans("Search").'" onclick="getSAParams();">'."\n";
|
||||
print '<script type="text/javascript">'."\n";
|
||||
print '<!--'."\n";
|
||||
print ' function getSAParams(){'."\n";
|
||||
print ' document.getElementById(\'dhids\').value= "?????";'."\n";
|
||||
print ' document.getElementById(\'kws\').value= "dolibarr";'."\n";
|
||||
print ' document.getElementById(\'lgSearch\').value= "'.$sparkangellangcode.'";'."\n";
|
||||
print ' document.getElementById(\'myLv\').value= "0";'."\n";
|
||||
print ' document.getElementById(\'catSrv\').value= "1";'."\n";
|
||||
print ' }'."\n";
|
||||
print '-->'."\n";
|
||||
print '</script>'."\n";
|
||||
print '</form>'."\n";
|
||||
print '</div>'."\n";
|
||||
|
||||
print '</td><td>';
|
||||
//print '<a href="'.$urlsparkengels.'" target="_blank">';
|
||||
//print '<img border="0" src="sparkangels.png" alt="SparkAngels web site" title="SparkAngels web site">';
|
||||
//print $titlesparkangels;
|
||||
//print '</a>';
|
||||
print '</td></tr></table>';
|
||||
//print $langs->trans("ToGetHelpGoOnSparkAngels2",$titlesparkangels).'<br>';
|
||||
|
||||
|
||||
// Otherwise, go back to help center home
|
||||
print '<br><br>';
|
||||
print '* '.$langs->trans("BackToHelpCenter",DOL_URL_ROOT.'/support/');
|
||||
print '<br><br>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user