New: Enhance help center
This commit is contained in:
parent
3b636e4c77
commit
437ce6f6ec
@ -175,8 +175,8 @@ OfficialWebSiteFr=French official web site
|
||||
OfficialWikiFr=French wiki
|
||||
OfficialWiki=Dolibarr Wiki
|
||||
OfficialDemo=Dolibarr online demo
|
||||
ForDocumentationSeeWiki=For user's or developer's documentation, for FAQs (Frequently Asked Questions), take a look at the Dolibarr Wiki: <b><a href="%s" target="_blank">%s</a></b>
|
||||
ForAnswersSeeForum=For other questions, help, you can read/ask questions on Dolibarr forum: <b><a href="%s" target="_blank">%s</a></b>
|
||||
ForDocumentationSeeWiki=For user's or developer's documentation (Doc, FAQs...),<br>take a look at the Dolibarr Wiki:<br><b><a href="%s" target="_blank">%s</a></b>
|
||||
ForAnswersSeeForum=For any other questions/help, you can use the Dolibarr forum:<br><b><a href="%s" target="_blank">%s</a></b>
|
||||
HelpCenterDesc1=This area can help you to get a Help support service on Dolibarr.
|
||||
HelpCenterDesc2=Some part of this service are available in <b>english only</b>.
|
||||
CurrentTopMenuHandler=Current top menu handler
|
||||
|
||||
@ -8,7 +8,7 @@ ToSeeListOfAvailableRessources=To contact/see available ressources:
|
||||
ClickHere=Click here
|
||||
HelpCenter=Help center
|
||||
DolibarrHelpCenter=Dolibarr help and support center
|
||||
ToGoBackToDolibarr=To go back on Dolibarr, <a href="%s">click here</a>.
|
||||
ToGoBackToDolibarr=Click <a href="%s">here</a> to use
|
||||
TypeOfSupport=Nature of support
|
||||
TypeSupportCommunauty=Community (free)
|
||||
TypeSupportCommercial=Commercial
|
||||
|
||||
@ -175,8 +175,8 @@ OfficialWebSiteFr = Site web officiel francophone
|
||||
OfficialWikiFr = Wiki francophone
|
||||
OfficialWiki = Wiki 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>
|
||||
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>
|
||||
ForDocumentationSeeWiki = Pour la documentation utilisateur, développeur ou les FAQs,<br>consultez le wiki Dolibarr:<br><b><a href="%s" target="_blank">%s</a></b>
|
||||
ForAnswersSeeForum = Pour tout autre question/aide, vous pouvez utiliser le forum Dolibarr:<br><b><a href="%s" target="_blank">%s</a></b>
|
||||
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>.
|
||||
CurrentTopMenuHandler = Gestionnaire menu haut courant
|
||||
|
||||
@ -8,7 +8,7 @@ ToSeeListOfAvailableRessources=Pour contacter/voir les ressources disponibles:
|
||||
ClickHere=Cliquez ici
|
||||
HelpCenter=Centre d'assistance
|
||||
DolibarrHelpCenter=Centre de support et d'aide Dolibarr
|
||||
ToGoBackToDolibarr=Pour aller sur Dolibarr, <a href="%s">cliquer ici</a>.
|
||||
ToGoBackToDolibarr=Cliquer <a href="%s">ici</a> pour utiliser
|
||||
TypeOfSupport=Nature du support
|
||||
TypeSupportCommunauty=Communautaire (gratuit)
|
||||
TypeSupportCommercial=Commercial
|
||||
|
||||
@ -19,13 +19,14 @@
|
||||
*/
|
||||
|
||||
body {
|
||||
font-size:14px;
|
||||
font-size:12px;
|
||||
font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
|
||||
background-color: #F4F4F4;
|
||||
margin-left: 20px;
|
||||
margin-right: 20px;
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
background: #f9f9f9 url(headbg.jpg) 0 0 no-repeat;
|
||||
/* background-color: #F4F4F4; */
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
div.titre {
|
||||
@ -34,13 +35,13 @@ margin: 0em 0em 0em 0em;
|
||||
}
|
||||
|
||||
span.titre {
|
||||
font-size:1.1em;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
background: #dcdcd3;
|
||||
background: #FFFFFF;
|
||||
color: #4965B3;
|
||||
padding: 5px 5px 5px 5px;
|
||||
margin: 0em 0em 0em 0em;
|
||||
border: 1px solid #8CACBB;
|
||||
border: 1px solid #AAAAAA;
|
||||
}
|
||||
|
||||
|
||||
@ -173,10 +174,6 @@ font-size: 13px;
|
||||
border-bottom: 1px solid #8CACBB;
|
||||
}
|
||||
|
||||
table {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.install
|
||||
{
|
||||
border: 1px solid #8CACBB;
|
||||
@ -187,3 +184,6 @@ tr.title
|
||||
{
|
||||
background: #DDDFDD;
|
||||
}
|
||||
|
||||
table { font-size: 12px; }
|
||||
table.login { border: 1px solid #C0C0C0; background: #F0F0F0 url(background.png) repeat-x;font-size: 12px;}';
|
||||
|
||||
@ -139,7 +139,8 @@ if (function_exists('get_magic_quotes_gpc')) // magic_quotes_* plus pris en comp
|
||||
|
||||
// Defini objet langs
|
||||
$langs = new Translate('..',$conf);
|
||||
$langs->setDefaultLang('auto');
|
||||
if (isset($_GET["lang"])) $langs->setDefaultLang($_GET["lang"]);
|
||||
else $langs->setDefaultLang('auto');
|
||||
$langs->setPhpLang();
|
||||
|
||||
$bc[false]=' class="bg1"';
|
||||
@ -201,14 +202,20 @@ function pHeader($soutitre,$next,$action='none')
|
||||
print '<title>'.$langs->trans("Help").'</title>'."\n";
|
||||
print '</head>'."\n";
|
||||
print '<body>'."\n";
|
||||
print '<table class="noborder"><tr valign="middle">';
|
||||
print '<td width="20">';
|
||||
print '<img src="'.DOL_URL_ROOT.'/theme/common/helpcenter.png">';
|
||||
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" 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";
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -38,48 +38,33 @@ $langs->load("help");
|
||||
|
||||
pHeader($langs->trans("DolibarrHelpCenter"),$_SERVER["PHP_SELF"]);
|
||||
|
||||
print '<table class="noborder"><tr valign="middle">';
|
||||
//print '<td width="20">';
|
||||
//print '<img src="/theme/common/helpcenter_large.png">';
|
||||
//print '</td>';
|
||||
print '<td>';
|
||||
print $langs->trans("HelpCenterDesc1")."<br>\n";
|
||||
print $langs->trans("HelpCenterDesc2")."<br>\n";
|
||||
print '</td></tr></table>';
|
||||
|
||||
print '<br>';
|
||||
|
||||
print $langs->trans("ToGoBackToDolibarr",DOL_URL_ROOT.'/');
|
||||
print '<img src="dolibarr_logo2.png" height="22px" alt="Dolibarr" title="Dolibarr">';
|
||||
|
||||
print '<br><br>';
|
||||
|
||||
$style1='color: #333344; font-size: 16px; font-weight: bold';
|
||||
$style2='color: #5D4455; font-weight: bold;';
|
||||
|
||||
print "\n";
|
||||
print '<table border="0" style="spacing: 4px; padding: 0px" width="100%">';
|
||||
print '<tr><td width="50%" valign="top">';
|
||||
|
||||
print '<table border="1" style="spacing: 4px; padding: 2px">';
|
||||
|
||||
// Line of possible services
|
||||
print '<tr class="title">';
|
||||
// Forum/wiki support
|
||||
print '<td align="center" valign="middle">';
|
||||
print '<table class="login" width="100%">';
|
||||
print '<tr class="title" valign="top">';
|
||||
print '<td width="100%" align="center" valign="top">';
|
||||
//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>';
|
||||
// EMail support
|
||||
print '<td align="center">';
|
||||
//print img_picto('','/theme/common/mail.png','',1).'<br>';
|
||||
print '<font style="'.$style1.'">'.$langs->trans("EMailSupport").'</font>';
|
||||
print '<br>'.$langs->trans("TypeOfSupport").': <font style="'.$style2.'">'.$langs->trans("TypeSupportCommercial").'</font>';
|
||||
print '</td>';
|
||||
print '</tr>';
|
||||
|
||||
// Area of support cells
|
||||
print '<tr>';
|
||||
|
||||
// Forum/wiki support
|
||||
print '<td width="33%" align="center" valign="top" style="background:#FFFFFF">';
|
||||
print '</tr><tr>';
|
||||
print '<td align="center" valign="top">';
|
||||
print '<table class="nocellnopadd"><tr><td align="center" valign="top">';
|
||||
print img_picto('','/theme/common/who.png','',1);
|
||||
print '</td></tr><tr><td align="center">';
|
||||
@ -91,38 +76,46 @@ print '<br>'.$langs->trans("ForAnswersSeeForum",'http://www.dolibarr.org/forum/'
|
||||
print '<br>';
|
||||
print '</td></tr></table>';
|
||||
print '</td>';
|
||||
print '</tr>';
|
||||
print '</table>';
|
||||
|
||||
|
||||
print '</td><td width="50%" valign="top">';
|
||||
|
||||
// EMail support
|
||||
print '<td width="34%" align="center" valign="top" style="background:#FFFFFF">';
|
||||
print '<table class="login" width="100%">';
|
||||
print '<tr class="title" valign="top">';
|
||||
print '<td width="100%" align="center" valign="top">';
|
||||
//print img_picto('','/theme/common/mail.png','',1).'<br>';
|
||||
print '<font style="'.$style1.'">'.$langs->trans("EMailSupport").'</font>';
|
||||
print '<br>'.$langs->trans("TypeOfSupport").': <font style="'.$style2.'">'.$langs->trans("TypeSupportCommercial").'</font>';
|
||||
print '</td>';
|
||||
print '</tr><tr>';
|
||||
print '<td align="center" valign="top">';
|
||||
print '<table class="nocellnopadd"><tr><td align="center" valign="top">';
|
||||
print img_picto('','/theme/common/mail.png','',1);
|
||||
print '</td></tr><tr><td align="center">';
|
||||
print '<br>'.$langs->trans("FeatureNotYetAvailable").'.';
|
||||
print '</td></tr></table>';
|
||||
print '<br><br>';
|
||||
print '<br><br>';
|
||||
print '<br><br>';
|
||||
print '</td>';
|
||||
|
||||
print '</tr>';
|
||||
print '</table>';
|
||||
|
||||
print '</td></tr>';
|
||||
print '<tr><td width="50%" valign="top">';
|
||||
|
||||
// Line of possible services
|
||||
// Online support
|
||||
print '<table class="login" width="100%">';
|
||||
print '<tr class="title">';
|
||||
// Forum/wiki support
|
||||
print '<td align="center">';
|
||||
print '<td width="100%" align="center" valign="top">';
|
||||
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 '</tr>';
|
||||
|
||||
// Area of support cells
|
||||
print '<tr>';
|
||||
|
||||
// Online support
|
||||
print '<td width="33%" align="center" valign="top" style="background:#FFFFFF">';
|
||||
print '</tr><tr>';
|
||||
print '<td align="center" valign="top">';
|
||||
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">';
|
||||
@ -133,22 +126,36 @@ print '<br><br>';
|
||||
print '<br><br>';
|
||||
print '</td></tr></table>';
|
||||
print '</td>';
|
||||
print '</tr>';
|
||||
print '</table>';
|
||||
|
||||
print '</td><td width="50%" valign="top">';
|
||||
|
||||
// Other support
|
||||
print '<table class="login" width="100%">';
|
||||
print '<tr class="title">';
|
||||
print '<td width="100%" align="center" valign="top">';
|
||||
print '<font style="'.$style1.'">'.$langs->trans("OtherSupport").'</font>';
|
||||
print '<br>'.$langs->trans("TypeOfSupport").': <font style="'.$style2.'">'.$langs->trans("TypeSupportCommercial").'</font>';
|
||||
print '</td>';
|
||||
print '</tr><tr>';
|
||||
$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 '<td align="center" valign="top">';
|
||||
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 '<br><br>';
|
||||
print '<br><br>';
|
||||
print '</td></tr></table>';
|
||||
print '</td>';
|
||||
|
||||
print '</tr>';
|
||||
print '</table>';
|
||||
|
||||
|
||||
print '</td>';
|
||||
print '</tr>';
|
||||
print '</table>';
|
||||
|
||||
pFooter();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user