MDL-23051 Removed H1 tag which made no sense
authorMartin Dougiamas <martin@moodle.com>
Mon, 12 Jul 2010 12:56:49 +0000 (12:56 +0000)
committerMartin Dougiamas <martin@moodle.com>
Mon, 12 Jul 2010 12:56:49 +0000 (12:56 +0000)
message/lib.php

index cd0b638..db7bb7c 100644 (file)
@@ -1483,7 +1483,7 @@ function message_print_message_history($user1,$user2,$search='',$messagelimit=0,
 
         echo html_writer::nonempty_tag('div', $tablecontents, array('class'=>'mdl-left messagehistory'));
     } else {
-        echo $OUTPUT->heading(get_string('nomessagesfound', 'message'), 1);
+        echo html_writer::nonempty_tag('div', '('.get_string('nomessagesfound', 'message').')', array('class'=>'mdl-align messagehistory'));
     }
 }