Fix url of local web sites
This commit is contained in:
parent
9aa60e1ae1
commit
441bb83e64
@ -63,11 +63,35 @@ print '<ul>';
|
|||||||
print '<li>';
|
print '<li>';
|
||||||
print '<a target="_blank" href="http://www.dolibarr.org/" rel="external">'.$langs->trans("OfficialWebSite").'</a>';
|
print '<a target="_blank" href="http://www.dolibarr.org/" rel="external">'.$langs->trans("OfficialWebSite").'</a>';
|
||||||
print '</li>';
|
print '</li>';
|
||||||
// If the French language, it displays French website
|
// Show local site
|
||||||
if (preg_match('/^fr_/i',$langs->getDefaultLang()))
|
if (preg_match('/^fr_/i',$langs->getDefaultLang()))
|
||||||
{
|
{
|
||||||
print '<li>';
|
print '<li>';
|
||||||
print '<a target="_blank" href="http://www.dolibarr.fr/" rel="external">'.$langs->trans("OfficialWebSiteFr").'</a>';
|
print '<a target="_blank" href="http://www.dolibarr.fr/" rel="external">'.$langs->trans("OfficialWebSiteLocal", $langs->transnoentitiesnoconv("France")).'</a>';
|
||||||
|
print '</li>';
|
||||||
|
}
|
||||||
|
if (preg_match('/^el_/i',$langs->getDefaultLang()))
|
||||||
|
{
|
||||||
|
print '<li>';
|
||||||
|
print '<a target="_blank" href="http://www.dolibarr.gr/" rel="external">'.$langs->trans("OfficialWebSiteLocal", $langs->transnoentitiesnoconv("Greece")).'</a>';
|
||||||
|
print '</li>';
|
||||||
|
}
|
||||||
|
if (preg_match('/^es_/i',$langs->getDefaultLang()))
|
||||||
|
{
|
||||||
|
print '<li>';
|
||||||
|
print '<a target="_blank" href="http://www.dolibarr.es/" rel="external">'.$langs->trans("OfficialWebSiteLocal", $langs->transnoentitiesnoconv("Spain")).'</a>';
|
||||||
|
print '</li>';
|
||||||
|
}
|
||||||
|
if (preg_match('/^it_/i',$langs->getDefaultLang()))
|
||||||
|
{
|
||||||
|
print '<li>';
|
||||||
|
print '<a target="_blank" href="http://www.dolibarr.it/" rel="external">'.$langs->trans("OfficialWebSiteLocal", $langs->transnoentitiesnoconv("Italy")).'</a>';
|
||||||
|
print '</li>';
|
||||||
|
}
|
||||||
|
if (preg_match('/^de_/i',$langs->getDefaultLang()))
|
||||||
|
{
|
||||||
|
print '<li>';
|
||||||
|
print '<a target="_blank" href="http://www.dolibarr.de/" rel="external">'.$langs->trans("OfficialWebSiteLocal", $langs->transnoentitiesnoconv("Germany")).'</a>';
|
||||||
print '</li>';
|
print '</li>';
|
||||||
}
|
}
|
||||||
print '<li>';
|
print '<li>';
|
||||||
|
|||||||
@ -241,7 +241,7 @@ DolibarrProjectLeader=Project leader
|
|||||||
Developpers=Developers/contributors
|
Developpers=Developers/contributors
|
||||||
OtherDeveloppers=Other developers/contributors
|
OtherDeveloppers=Other developers/contributors
|
||||||
OfficialWebSite=Dolibarr international official web site
|
OfficialWebSite=Dolibarr international official web site
|
||||||
OfficialWebSiteFr=French official web site
|
OfficialWebSiteLocal=Local web site (%s)
|
||||||
OfficialWiki=Dolibarr documentation on Wiki
|
OfficialWiki=Dolibarr documentation on Wiki
|
||||||
OfficialDemo=Dolibarr online demo
|
OfficialDemo=Dolibarr online demo
|
||||||
OfficialMarketPlace=Official market place for external modules/addons
|
OfficialMarketPlace=Official market place for external modules/addons
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user