]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-14111, multilang htmlblock title, merged from MOODLE_19_STABLE
authordongsheng <dongsheng>
Tue, 1 Apr 2008 05:57:00 +0000 (05:57 +0000)
committerdongsheng <dongsheng>
Tue, 1 Apr 2008 05:57:00 +0000 (05:57 +0000)
blocks/html/block_html.php

index 780541f50e4ffc222449fa757c5714fb06673689..e894deae2f788a22ecbf941350a0783e4edda747 100755 (executable)
@@ -12,7 +12,7 @@ class block_html extends block_base {
     }
 
     function specialization() {
-        $this->title = isset($this->config->title) ? $this->config->title : get_string('newhtmlblock', 'block_html');
+        $this->title = isset($this->config->title) ? format_string($this->config->title) : format_string(get_string('newhtmlblock', 'block_html'));
     }
 
     function instance_allow_multiple() {