MDL-32533 tool_customlang: don't use h3 for notification
authorDan Poltawski <dan@moodle.com>
Fri, 7 Jun 2013 06:06:33 +0000 (14:06 +0800)
committerDan Poltawski <dan@moodle.com>
Fri, 7 Jun 2013 06:06:33 +0000 (14:06 +0800)
Thanks to Juho Viitasalo for the suggestion.

admin/tool/customlang/renderer.php

index f96f83b..c733dda 100644 (file)
@@ -53,7 +53,7 @@ class tool_customlang_renderer extends plugin_renderer_base {
         $output = '';
 
         if (empty($translator->strings)) {
-            return $this->heading(get_string('nostringsfound', 'tool_customlang'), 3);
+            return $this->notification(get_string('nostringsfound', 'tool_customlang'));
         }
 
         $table = new html_table();