New: Enhance help center
This commit is contained in:
parent
28ca4e7e6b
commit
b53d8a68f6
@ -175,7 +175,7 @@ OfficialWebSiteFr=French official web site
|
||||
OfficialWikiFr=French wiki
|
||||
OfficialWiki=Dolibarr Wiki
|
||||
OfficialDemo=Dolibarr online demo
|
||||
ForDocumentationSeeWiki=For a user or developer documentation, for FAQs (Frequently Asked Questions), take a lookt at the Dolibarr Wiki: <b><a href="%s" target="_blank">%s</a></b>
|
||||
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>
|
||||
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>.
|
||||
|
||||
@ -12,3 +12,4 @@ ToGoBackToDolibarr=To go back on Dolibarr, <a href="%s">click here</a>.
|
||||
TypeOfSupport=Nature of support
|
||||
TypeSupportCommunauty=Community (free)
|
||||
TypeSupportCommercial=Commercial
|
||||
NeedHelpCenter=Need help or support ?
|
||||
|
||||
@ -6,9 +6,10 @@ RemoteControlSupport=Assistance en ligne temps réel
|
||||
OtherSupport=Autres type d'assistance
|
||||
ToSeeListOfAvailableRessources=Pour contacter/voir les ressources disponibles:
|
||||
ClickHere=Cliquez ici
|
||||
HelpCenter=Centre d'aide
|
||||
HelpCenter=Centre d'assistance
|
||||
DolibarrHelpCenter=Centre de support et d'aide Dolibarr
|
||||
ToGoBackToDolibarr=Pour aller sur Dolibarr, <a href="%s">cliquer ici</a>.
|
||||
TypeOfSupport=Nature du support
|
||||
TypeSupportCommunauty=Communitaire (gratuit)
|
||||
TypeSupportCommunauty=Communautaire (gratuit)
|
||||
TypeSupportCommercial=Commercial
|
||||
NeedHelpCenter=Besoin d'un support ou aide ?
|
||||
|
||||
@ -181,9 +181,26 @@ function dol_loginfunction($langs,$conf,$mysoc)
|
||||
print '<input type="submit" class="button" value=" '.$langs->trans("Connection").' " tabindex="5" />';
|
||||
print '</td></tr>';
|
||||
|
||||
if (empty($conf->global->MAIN_SECURITY_DISABLEFORGETPASSLINK))
|
||||
if (empty($conf->global->MAIN_SECURITY_DISABLEFORGETPASSLINK) || empty($conf->global->MAIN_HELPCENTER_DISABLELINK))
|
||||
{
|
||||
print '<tr><td colspan="3" align="center"><a style="color: #888888; font-size: 10px" href="'.DOL_URL_ROOT.'/user/passwordforgotten.php">('.$langs->trans("PasswordForgotten").')</a></td></tr>';
|
||||
print '<tr><td colspan="3" align="center">';
|
||||
if (empty($conf->global->MAIN_SECURITY_DISABLEFORGETPASSLINK))
|
||||
{
|
||||
print '<a style="color: #888888; font-size: 10px" href="'.DOL_URL_ROOT.'/user/passwordforgotten.php">(';
|
||||
print $langs->trans("PasswordForgotten");
|
||||
if (! empty($conf->global->MAIN_HELPCENTER_DISABLELINK)) print ')';
|
||||
}
|
||||
|
||||
if (empty($conf->global->MAIN_HELPCENTER_DISABLELINK))
|
||||
{
|
||||
$langs->load("help");
|
||||
print '<a style="color: #888888; font-size: 10px" href="'.DOL_URL_ROOT.'/support/index.php">';
|
||||
if (! empty($conf->global->MAIN_SECURITY_DISABLEFORGETPASSLINK)) print '(';
|
||||
else print ' - ';
|
||||
print $langs->trans("NeedHelpCenter");
|
||||
}
|
||||
print ')</a>';
|
||||
print '</td></tr>';
|
||||
}
|
||||
|
||||
print '</table>'."\n";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user