From 00b9edba9a84ae09ea367000b54d97d2d3182363 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 28 Jun 2010 19:01:47 +0000 Subject: [PATCH] Use links according to lang --- htdocs/langs/en_IN/propal.lang | 2 +- htdocs/lib/usergroups.lib.php | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/htdocs/langs/en_IN/propal.lang b/htdocs/langs/en_IN/propal.lang index 96c3f2761b0..8b3fe8debb0 100755 --- a/htdocs/langs/en_IN/propal.lang +++ b/htdocs/langs/en_IN/propal.lang @@ -1,6 +1,6 @@ # Dolibarr language file - en_US - propal CHARSET=UTF-8 -Proposals=Quotationss +Proposals=Quotations Proposal=Quotation ProposalShort=Quotation ProposalsDraft=Draft quotations diff --git a/htdocs/lib/usergroups.lib.php b/htdocs/lib/usergroups.lib.php index 1a22e1291bc..97ac9d09db8 100644 --- a/htdocs/lib/usergroups.lib.php +++ b/htdocs/lib/usergroups.lib.php @@ -137,7 +137,9 @@ function show_theme($fuser,$edit=0,$foruserprofile=false) { print ''.$langs->trans("DefaultSkin").''; print ''; - print ''; + $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 ''; print $langs->trans('DownloadMoreSkins'); print ''; print '';