New: Enhance help center
This commit is contained in:
parent
d33f8a6d63
commit
3ccb9cb0da
@ -1,10 +1,14 @@
|
|||||||
# Dolibarr language file - en_US - help
|
# Dolibarr language file - en_US - help
|
||||||
CHARSET=UTF-8
|
CHARSET=UTF-8
|
||||||
CommunitySupport=Community suuport
|
CommunitySupport=Forum/Wiki support
|
||||||
EMailSupport=Emails support
|
EMailSupport=Emails support
|
||||||
RemoteControlSupport=Real time and remote support
|
RemoteControlSupport=Online real time / remote support
|
||||||
|
OtherSupport=Other support
|
||||||
ToSeeListOfAvailableRessources=To contact/see available ressources:
|
ToSeeListOfAvailableRessources=To contact/see available ressources:
|
||||||
ClickHere=Click here
|
ClickHere=Click here
|
||||||
HelpCenter=Help center
|
HelpCenter=Help center
|
||||||
DolibarrHelpCenter=Dolibarr help and support center
|
DolibarrHelpCenter=Dolibarr help and support center
|
||||||
ToGoBackToDolibarr=To go back on Dolibarr, <a href="%s">click here</a>.
|
ToGoBackToDolibarr=To go back on Dolibarr, <a href="%s">click here</a>.
|
||||||
|
TypeOfSupport=Nature of support
|
||||||
|
TypeSupportCommunauty=Community (free)
|
||||||
|
TypeSupportCommercial=Commercial
|
||||||
|
|||||||
@ -177,7 +177,7 @@ OfficialWiki = Wiki Dolibarr
|
|||||||
OfficialDemo = Démo en ligne Dolibarr
|
OfficialDemo = Démo en ligne Dolibarr
|
||||||
ForDocumentationSeeWiki = Pour la documentation utilisateur, développeur ou les FAQs (questions-réponses fréquentes), consultez le wiki Dolibarr:<br><b><a href="%s" target="_blank">%s</a></b>
|
ForDocumentationSeeWiki = Pour la documentation utilisateur, développeur ou les FAQs (questions-réponses fréquentes), consultez le wiki Dolibarr:<br><b><a href="%s" target="_blank">%s</a></b>
|
||||||
ForAnswersSeeForum = Pour d'autres questions ou poser vos propres questions, vous pouvez utiliser le forum Dolibarr:<br><b><a href="%s" target="_blank">%s</a></b>
|
ForAnswersSeeForum = Pour d'autres questions ou poser vos propres questions, vous pouvez utiliser le forum Dolibarr:<br><b><a href="%s" target="_blank">%s</a></b>
|
||||||
HelpCenterDesc1 = Cet espace permet de vous aider à obtenir un service de support sur Dolibarr.
|
HelpCenterDesc1 = Cette application, indépendante de Dolibarr, vous permet de vous aider à obtenir un service de support sur Dolibarr.
|
||||||
HelpCenterDesc2 = Certain de ces services ne sont disponibles qu'en <b>anglais</b>.
|
HelpCenterDesc2 = Certain de ces services ne sont disponibles qu'en <b>anglais</b>.
|
||||||
CurrentTopMenuHandler = Gestionnaire menu haut courant
|
CurrentTopMenuHandler = Gestionnaire menu haut courant
|
||||||
CurrentLeftMenuHandler = Gestionnaire menu gauche courant
|
CurrentLeftMenuHandler = Gestionnaire menu gauche courant
|
||||||
|
|||||||
@ -1,10 +1,14 @@
|
|||||||
# Dolibarr language file - fr_FR - help
|
# Dolibarr language file - fr_FR - help
|
||||||
CHARSET=UTF-8
|
CHARSET=UTF-8
|
||||||
CommunitySupport=Support communautaire
|
CommunitySupport=Assistance Forums et Wiki
|
||||||
EMailSupport=Support emails
|
EMailSupport=Assistance Emails
|
||||||
RemoteControlSupport=Support temps réel à distance
|
RemoteControlSupport=Assistance en ligne temps réel
|
||||||
|
OtherSupport=Autres type d'assistance
|
||||||
ToSeeListOfAvailableRessources=Pour contacter/voir les ressources disponibles:
|
ToSeeListOfAvailableRessources=Pour contacter/voir les ressources disponibles:
|
||||||
ClickHere=Cliquez ici
|
ClickHere=Cliquez ici
|
||||||
HelpCenter=Centre d'aide
|
HelpCenter=Centre d'aide
|
||||||
DolibarrHelpCenter=Centre de support et d'aide Dolibarr
|
DolibarrHelpCenter=Centre de support et d'aide Dolibarr
|
||||||
ToGoBackToDolibarr=Pour aller sur Dolibarr, <a href="%s">cliquer ici</a>.
|
ToGoBackToDolibarr=Pour aller sur Dolibarr, <a href="%s">cliquer ici</a>.
|
||||||
|
TypeOfSupport=Nature du support
|
||||||
|
TypeSupportCommunauty=Communautaire (gratuit)
|
||||||
|
TypeSupportCommercial=Commercial
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-size:13px;
|
font-size:14px;
|
||||||
font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
|
font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
|
||||||
background-color: #F4F4F4;
|
background-color: #F4F4F4;
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
@ -182,3 +182,8 @@ font-size: 12px;
|
|||||||
border: 1px solid #8CACBB;
|
border: 1px solid #8CACBB;
|
||||||
padding: 4px 4px 4px 4px;
|
padding: 4px 4px 4px 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tr.title
|
||||||
|
{
|
||||||
|
background: #DDDFDD;
|
||||||
|
}
|
||||||
|
|||||||
@ -44,7 +44,7 @@ if (isset($_SERVER["DOCUMENT_URI"]) && $_SERVER["DOCUMENT_URI"])
|
|||||||
// Definition des constantes syslog
|
// Definition des constantes syslog
|
||||||
if (function_exists("define_syslog_variables"))
|
if (function_exists("define_syslog_variables"))
|
||||||
{
|
{
|
||||||
define_syslog_variables();
|
define_syslog_variables();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -122,7 +122,7 @@ if (empty($conf->db->user)) $conf->db->user='';
|
|||||||
// En mode off (recommande il faut juste faire addslashes au moment d'un insert/update.
|
// En mode off (recommande il faut juste faire addslashes au moment d'un insert/update.
|
||||||
function stripslashes_deep($value)
|
function stripslashes_deep($value)
|
||||||
{
|
{
|
||||||
return (is_array($value) ? array_map('stripslashes_deep', $value) : stripslashes($value));
|
return (is_array($value) ? array_map('stripslashes_deep', $value) : stripslashes($value));
|
||||||
}
|
}
|
||||||
//if (! eregi('PHP/6', $_SERVER['SERVER_SOFTWARE']))
|
//if (! eregi('PHP/6', $_SERVER['SERVER_SOFTWARE']))
|
||||||
if (function_exists('get_magic_quotes_gpc')) // magic_quotes_* plus pris en compte dans PHP6
|
if (function_exists('get_magic_quotes_gpc')) // magic_quotes_* plus pris en compte dans PHP6
|
||||||
@ -146,11 +146,11 @@ $bc[false]=' class="bg1"';
|
|||||||
$bc[true]=' class="bg2"';
|
$bc[true]=' class="bg2"';
|
||||||
|
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* \brief Load conf file (file must exists)
|
* \brief Load conf file (file must exists)
|
||||||
* \param dolibarr_main_document_root Root directory of Dolibarr bin files
|
* \param dolibarr_main_document_root Root directory of Dolibarr bin files
|
||||||
* \return int <0 if KO, >0 if OK
|
* \return int <0 if KO, >0 if OK
|
||||||
*/
|
*/
|
||||||
function conf($dolibarr_main_document_root)
|
function conf($dolibarr_main_document_root)
|
||||||
{
|
{
|
||||||
global $conf;
|
global $conf;
|
||||||
@ -162,8 +162,8 @@ function conf($dolibarr_main_document_root)
|
|||||||
global $dolibarr_main_db_pass;
|
global $dolibarr_main_db_pass;
|
||||||
global $character_set_client;
|
global $character_set_client;
|
||||||
|
|
||||||
$return=include_once($dolibarr_main_document_root."/core/conf.class.php");
|
$return=include_once($dolibarr_main_document_root."/core/conf.class.php");
|
||||||
if (! $return) return -1;
|
if (! $return) return -1;
|
||||||
|
|
||||||
$conf=new Conf();
|
$conf=new Conf();
|
||||||
$conf->db->type = trim($dolibarr_main_db_type);
|
$conf->db->type = trim($dolibarr_main_db_type);
|
||||||
@ -180,52 +180,63 @@ function conf($dolibarr_main_document_root)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* \brief Affiche entete HTML
|
* \brief Affiche entete HTML
|
||||||
*/
|
*/
|
||||||
function pHeader($soutitre,$next,$action='none')
|
function pHeader($soutitre,$next,$action='none')
|
||||||
{
|
{
|
||||||
global $conf;
|
global $conf;
|
||||||
global $langs;
|
global $langs;
|
||||||
$langs->load("main");
|
$langs->load("main");
|
||||||
$langs->load("admin");
|
$langs->load("admin");
|
||||||
|
|
||||||
// On force contenu dans format sortie
|
// On force contenu dans format sortie
|
||||||
header("Content-type: text/html; charset=".$conf->file->character_set_client);
|
header("Content-type: text/html; charset=".$conf->file->character_set_client);
|
||||||
|
|
||||||
print '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">'."\n";
|
print '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">'."\n";
|
||||||
print '<html>'."\n";
|
print '<html>'."\n";
|
||||||
print '<head>'."\n";
|
print '<head>'."\n";
|
||||||
print '<meta http-equiv="content-type" content="text/html; charset='.$conf->file->character_set_client.'">'."\n";
|
print '<meta http-equiv="content-type" content="text/html; charset='.$conf->file->character_set_client.'">'."\n";
|
||||||
print '<link rel="stylesheet" type="text/css" href="default.css">'."\n";
|
print '<link rel="stylesheet" type="text/css" href="default.css">'."\n";
|
||||||
print '<title>'.$langs->trans("Help").'</title>'."\n";
|
print '<title>'.$langs->trans("Help").'</title>'."\n";
|
||||||
print '</head>'."\n";
|
print '</head>'."\n";
|
||||||
print '<body>'."\n";
|
print '<body>'."\n";
|
||||||
print '<span class="titre">'.$soutitre.'</span>'."\n";
|
print '<span class="titre">'.$soutitre.'</span>'."\n";
|
||||||
|
|
||||||
print '<form action="'.$next.'" method="POST">'."\n";
|
print '<form action="'.$next.'" method="POST">'."\n";
|
||||||
print '<input type="hidden" name="action" value="'.$action.'">'."\n";
|
print '<input type="hidden" name="action" value="'.$action.'">'."\n";
|
||||||
|
|
||||||
print '<table class="main" width="100%"><tr><td>'."\n";
|
print '<table class="main" width="100%"><tr><td>'."\n";
|
||||||
|
|
||||||
print '<table class="main-inside" width="100%"><tr><td>'."\n";
|
print '<table class="main-inside" width="100%"><tr><td>'."\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Enter description here...
|
||||||
|
*
|
||||||
|
* @param unknown_type $nonext
|
||||||
|
* @param unknown_type $setuplang
|
||||||
|
*/
|
||||||
function pFooter($nonext=0,$setuplang='')
|
function pFooter($nonext=0,$setuplang='')
|
||||||
{
|
{
|
||||||
global $langs;
|
global $langs;
|
||||||
$langs->load("main");
|
$langs->load("main");
|
||||||
$langs->load("admin");
|
$langs->load("admin");
|
||||||
|
|
||||||
print '</td></tr></table>'."\n";
|
print '</td></tr></table>'."\n";
|
||||||
print '</td></tr></table>'."\n";
|
print '</td></tr></table>'."\n";
|
||||||
|
|
||||||
print '</form>'."\n";
|
print '</form>'."\n";
|
||||||
print '</body>'."\n";
|
print '</body>'."\n";
|
||||||
print '</html>'."\n";
|
print '</html>'."\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Enter description here...
|
||||||
|
*
|
||||||
|
* @param unknown_type $message
|
||||||
|
* @param unknown_type $level
|
||||||
|
*/
|
||||||
function dolibarr_support_syslog($message, $level=LOG_DEBUG)
|
function dolibarr_support_syslog($message, $level=LOG_DEBUG)
|
||||||
{
|
{
|
||||||
if (! defined('LOG_DEBUG')) define('LOG_DEBUG',6);
|
if (! defined('LOG_DEBUG')) define('LOG_DEBUG',6);
|
||||||
|
|||||||
@ -23,8 +23,14 @@
|
|||||||
* \version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// Use its own include to not share the include of Dolibarr
|
||||||
|
// This is a standalone feature with no information from Dolibarr to show
|
||||||
|
// and no database access to do.
|
||||||
include_once("./inc.php");
|
include_once("./inc.php");
|
||||||
include_once("../master.inc.php");
|
$uri=eregi_replace('^http(s?)://','',$dolibarr_main_url_root);
|
||||||
|
$pos = strstr ($uri, '/'); // $pos contient alors url sans nom domaine
|
||||||
|
if ($pos == '/') $pos = ''; // si $pos vaut /, on le met a ''
|
||||||
|
define('DOL_URL_ROOT', $pos); // URL racine relative
|
||||||
|
|
||||||
$langs->load("other");
|
$langs->load("other");
|
||||||
$langs->load("help");
|
$langs->load("help");
|
||||||
@ -41,27 +47,33 @@ print $langs->trans("ToGoBackToDolibarr",DOL_URL_ROOT.'/');
|
|||||||
|
|
||||||
print '<br><br>';
|
print '<br><br>';
|
||||||
|
|
||||||
print '<table border="1">';
|
$style1='color: #333344; font-size: 18px; font-weight: bold';
|
||||||
|
$style2='color: #5D4455; font-weight: bold;';
|
||||||
|
|
||||||
|
|
||||||
|
print '<table border="1" style="spacing: 4px; padding: 2px">';
|
||||||
|
|
||||||
// Line of possible services
|
// Line of possible services
|
||||||
print '<tr>';
|
print '<tr class="title">';
|
||||||
print '<td align="center">';
|
// Forum/wiki support
|
||||||
print '<b>'.$langs->trans("CommunitySupport").'</b>';
|
print '<td align="center" valign="middle">';
|
||||||
|
//print img_picto('','/theme/common/who.png','',1).'<br>';
|
||||||
|
print '<font style="'.$style1.'">'.$langs->trans("CommunitySupport").'</font>';
|
||||||
|
print '<br>'.$langs->trans("TypeOfSupport").': <font style="'.$style2.'">'.$langs->trans("TypeSupportCommunauty").'</font>';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
// EMail support
|
||||||
print '<td align="center">';
|
print '<td align="center">';
|
||||||
print '<b>'.$langs->trans("EMailSupport").'</b>';
|
//print img_picto('','/theme/common/mail.png','',1).'<br>';
|
||||||
print '</td>';
|
print '<font style="'.$style1.'">'.$langs->trans("EMailSupport").'</font>';
|
||||||
print '<td align="center">';
|
print '<br>'.$langs->trans("TypeOfSupport").': <font style="'.$style2.'">'.$langs->trans("TypeSupportCommercial").'</font>';
|
||||||
print '<b>'.$langs->trans("RemoteControlSupport").'</b>';
|
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
|
|
||||||
// Area of support cells
|
// Area of support cells
|
||||||
print '<tr>';
|
print '<tr>';
|
||||||
print '<td width="33%" align="center" valign="top" style="background:#FFFFFF">';
|
|
||||||
|
|
||||||
|
// Forum/wiki support
|
||||||
|
print '<td width="33%" align="center" valign="top" style="background:#FFFFFF">';
|
||||||
print '<table class="nocellnopadd"><tr><td align="center" valign="top">';
|
print '<table class="nocellnopadd"><tr><td align="center" valign="top">';
|
||||||
print img_picto('','/theme/common/who.png','',1);
|
print img_picto('','/theme/common/who.png','',1);
|
||||||
print '</td></tr><tr><td align="center">';
|
print '</td></tr><tr><td align="center">';
|
||||||
@ -70,30 +82,65 @@ if ($langs->defaultlang == 'fr_FR') $urlwiki='http://wiki.dolibarr.org/index.php
|
|||||||
if ($langs->defaultlang == 'es_ES') $urlwiki='http://wiki.dolibarr.org/index.php/Portada';
|
if ($langs->defaultlang == 'es_ES') $urlwiki='http://wiki.dolibarr.org/index.php/Portada';
|
||||||
print '<br>'.$langs->trans("ForDocumentationSeeWiki",$urlwiki,$urlwiki).'<br>';
|
print '<br>'.$langs->trans("ForDocumentationSeeWiki",$urlwiki,$urlwiki).'<br>';
|
||||||
print '<br>'.$langs->trans("ForAnswersSeeForum",'http://www.dolibarr.org/forum/','http://www.dolibarr.org/forum/').'<br>';
|
print '<br>'.$langs->trans("ForAnswersSeeForum",'http://www.dolibarr.org/forum/','http://www.dolibarr.org/forum/').'<br>';
|
||||||
|
print '<br>';
|
||||||
print '</td></tr></table>';
|
print '</td></tr></table>';
|
||||||
|
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '<td width="34%" align="center" valign="top" style="background:#FFFFFF">';
|
|
||||||
|
|
||||||
|
// EMail support
|
||||||
|
print '<td width="34%" align="center" valign="top" style="background:#FFFFFF">';
|
||||||
print '<table class="nocellnopadd"><tr><td align="center" valign="top">';
|
print '<table class="nocellnopadd"><tr><td align="center" valign="top">';
|
||||||
print img_picto('','/theme/common/mail.png','',1);
|
print img_picto('','/theme/common/mail.png','',1);
|
||||||
print '</td></tr><tr><td align="center">';
|
print '</td></tr><tr><td align="center">';
|
||||||
print '<br>'.$langs->trans("FeatureNotYetAvailable").'.';
|
print '<br>'.$langs->trans("FeatureNotYetAvailable").'.';
|
||||||
print '</td></tr></table>';
|
print '</td></tr></table>';
|
||||||
|
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '<td width="33%" align="center" valign="top" style="background:#FFFFFF">';
|
|
||||||
|
|
||||||
print '<table class="nocellnopadd"><tr><td align="center" valign="top">';
|
print '</tr>';
|
||||||
print img_picto('','/theme/common/internet.png','',1);
|
|
||||||
print '</td></tr><tr><td align="center">';
|
|
||||||
print '<br>'.$langs->trans("ToSeeListOfAvailableRessources").' ';
|
|
||||||
print '<a href="online.php">'.$langs->trans("ClickHere").'</a>';
|
|
||||||
print '</td></tr></table>';
|
|
||||||
|
|
||||||
|
|
||||||
|
// Line of possible services
|
||||||
|
print '<tr class="title">';
|
||||||
|
// Forum/wiki support
|
||||||
|
print '<td align="center">';
|
||||||
|
print '<font style="'.$style1.'">'.$langs->trans("RemoteControlSupport").'</font>';
|
||||||
|
print '<br>'.$langs->trans("TypeOfSupport").': <font style="'.$style2.'">'.$langs->trans("TypeSupportCommercial").'</font>';
|
||||||
|
print '</td>';
|
||||||
|
// EMail support
|
||||||
|
print '<td align="center">';
|
||||||
|
print '<font style="'.$style1.'">'.$langs->trans("OtherSupport").'</font>';
|
||||||
|
print '<br>'.$langs->trans("TypeOfSupport").': <font style="'.$style2.'">'.$langs->trans("TypeSupportCommercial").'</font>';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
|
// Area of support cells
|
||||||
|
print '<tr>';
|
||||||
|
|
||||||
|
// Online support
|
||||||
|
print '<td width="33%" align="center" valign="top" style="background:#FFFFFF">';
|
||||||
|
print '<table class="nocellnopadd"><tr><td align="center" valign="top">';
|
||||||
|
print img_picto('','/theme/common/internet.png','',1);
|
||||||
|
print '</td></tr><tr><td align="center">';
|
||||||
|
print '<br>';
|
||||||
|
print '<br>'.$langs->trans("ToSeeListOfAvailableRessources").'<br>';
|
||||||
|
print '<b><a href="online.php">'.$langs->trans("ClickHere").'</a></b>';
|
||||||
|
print '<br><br>';
|
||||||
|
print '<br><br>';
|
||||||
|
print '</td></tr></table>';
|
||||||
|
print '</td>';
|
||||||
|
|
||||||
|
// Other support
|
||||||
|
$urlwiki='http://wiki.dolibarr.org/index.php/List_of_OpenSource_Software_companies_and_freelancers';
|
||||||
|
print '<td width="33%" align="center" valign="top" style="background:#FFFFFF">';
|
||||||
|
print '<table class="nocellnopadd"><tr><td align="center" valign="top">';
|
||||||
|
print img_picto('','/theme/common/pagemaster.png','',1);
|
||||||
|
print '</td></tr><tr><td align="center">';
|
||||||
|
print '<br>';
|
||||||
|
print '<br>'.$langs->trans("ToSeeListOfAvailableRessources").'<br>';
|
||||||
|
print '<b><a href="'.$urlwiki.'">'.$langs->trans("ClickHere").'</a></b>';
|
||||||
|
print '</td></tr></table>';
|
||||||
|
print '</td>';
|
||||||
|
|
||||||
|
print '</tr>';
|
||||||
|
|
||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|||||||
@ -24,12 +24,16 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
include_once("./inc.php");
|
include_once("./inc.php");
|
||||||
|
$uri=eregi_replace('^http(s?)://','',$dolibarr_main_url_root);
|
||||||
|
$pos = strstr ($uri, '/'); // $pos contient alors url sans nom domaine
|
||||||
|
if ($pos == '/') $pos = ''; // si $pos vaut /, on le met a ''
|
||||||
|
define('DOL_URL_ROOT', $pos); // URL racine relative
|
||||||
|
|
||||||
$langs->load("other");
|
$langs->load("other");
|
||||||
$langs->load("help");
|
$langs->load("help");
|
||||||
|
|
||||||
|
|
||||||
pHeader("Dolibarr Help Service Center",$_SERVER["PHP_SELF"]);
|
pHeader($langs->trans("DolibarrHelpCenter"),$_SERVER["PHP_SELF"]);
|
||||||
|
|
||||||
|
|
||||||
print '<br><br><br>';
|
print '<br><br><br>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user