From: <sy...@us...> - 2007-01-22 17:43:11
|
Update of /cvsroot/tikiwiki/tiki In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv18837 Modified Files: Tag: BRANCH-1-9 tiki-setup.php Log Message: [FIX]lang: when using wiki-discussion, the site lang was loaded in and not the user lang (the tra function with another lang than the default does not work Index: tiki-setup.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/tiki-setup.php,v retrieving revision 1.240.2.145 retrieving revision 1.240.2.146 diff -u -d -r1.240.2.145 -r1.240.2.146 --- tiki-setup.php 17 Jan 2007 16:23:53 -0000 1.240.2.145 +++ tiki-setup.php 17 Jan 2007 19:41:16 -0000 1.240.2.146 @@ -1966,7 +1966,7 @@ } if ($feature_wiki_discuss == 'y') { - $wiki_discussion_string = tra ("Use this thread to discuss the page:", $tikilib->get_preference('language', 'en')); + $wiki_discussion_string = $smarty->fetchLang($tikilib->get_preference('language', 'en'), 'wiki-discussion.tpl'); $smarty->assign('wiki_discussion_string', $wiki_discussion_string); } // ------------------------------------------------------ |