]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-14111, multilang html-block title, merged from MOODLE_19_STABLE, thanks Gordon...
authordongsheng <dongsheng>
Tue, 1 Apr 2008 01:39:44 +0000 (01:39 +0000)
committerdongsheng <dongsheng>
Tue, 1 Apr 2008 01:39:44 +0000 (01:39 +0000)
blocks/moodleblock.class.php

index 4afe7d797573b7c8ae421c7543e4528e3e342ca5..efba6e7ae5a1e33928810eaef266a945362285bd 100644 (file)
@@ -387,7 +387,7 @@ class block_base {
         }
 
         //Accesssibility: added H2 (was in, weblib.php: print_side_block)
-        $title .= '<h2>'.$this->title.'</h2>';
+        $title .= '<h1>'.filter_text($this->title).'</h2>';
 
         if ($this->edit_controls !== NULL) {
             $title .= $this->edit_controls;