forked from Wavyzz/dolibarr
Use links according to lang
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# Dolibarr language file - en_US - propal
|
# Dolibarr language file - en_US - propal
|
||||||
CHARSET=UTF-8
|
CHARSET=UTF-8
|
||||||
Proposals=Quotationss
|
Proposals=Quotations
|
||||||
Proposal=Quotation
|
Proposal=Quotation
|
||||||
ProposalShort=Quotation
|
ProposalShort=Quotation
|
||||||
ProposalsDraft=Draft quotations
|
ProposalsDraft=Draft quotations
|
||||||
|
|||||||
@@ -137,7 +137,9 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|||||||
{
|
{
|
||||||
print '<tr class="liste_titre"><td>'.$langs->trans("DefaultSkin").'</td>';
|
print '<tr class="liste_titre"><td>'.$langs->trans("DefaultSkin").'</td>';
|
||||||
print '<td align="right">';
|
print '<td align="right">';
|
||||||
print '<a href="http://www.dolistore.com/4-themes" target="_blank">';
|
$url='http://www.dolistore.com/lang-en/4-skins';
|
||||||
|
if (preg_match('/fr/i',$langs->defaultlang)) $url='http://www.dolistore.com/lang-fr/4-themes';
|
||||||
|
print '<a href="'.$url.'" target="_blank">';
|
||||||
print $langs->trans('DownloadMoreSkins');
|
print $langs->trans('DownloadMoreSkins');
|
||||||
print '</a>';
|
print '</a>';
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|||||||
Reference in New Issue
Block a user