From ce2cec4700f8d4709d130bf618c1a6f184db5c91 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Tue, 12 Feb 2008 22:44:33 +0100 Subject: [PATCH] [svn r14287] Use platform charset as original charset for build links --- main/newscorm/learnpath.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main/newscorm/learnpath.class.php b/main/newscorm/learnpath.class.php index a2d077d19b..d1c3c84dd2 100644 --- a/main/newscorm/learnpath.class.php +++ b/main/newscorm/learnpath.class.php @@ -2410,7 +2410,9 @@ class learnpath { //if(empty($parent)){$parent = $this->ordered_items[$this->items[$this->current]->get_previous_index()];} $html .= '
'."\n" ; if(api_is_allowed_to_edit()){ - $html.="".mb_convert_encoding(get_lang("Build"),$this->encoding)."|".mb_convert_encoding(get_lang("BasicOverview"),$this->encoding)."|".mb_convert_encoding(get_lang("Display"),$this->encoding)."

"; + $mych = api_get_setting('platform_charset'); + $html.="".mb_convert_encoding(get_lang("Build"),$this->encoding,$mych)."|".mb_convert_encoding(get_lang("BasicOverview"),$this->encoding,$mych)."|".mb_convert_encoding(get_lang("Display"),$this->encoding,$mych)."

"; + unset($mych); } // " onchange=\"javascript:document.getElementById('toc_$parent').focus();\">\n"; require_once('resourcelinker.inc.php');