]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-19792 Migrated calls to print_heading
authornicolasconnault <nicolasconnault>
Thu, 6 Aug 2009 08:26:20 +0000 (08:26 +0000)
committernicolasconnault <nicolasconnault>
Thu, 6 Aug 2009 08:26:20 +0000 (08:26 +0000)
blog/index.php
blog/preferences.php

index 60760c8697b46453d54ad2c5100d8034dcdcda75..675636b9581a91bb16a5e00cb8b1d48c314c655a 100755 (executable)
@@ -145,7 +145,7 @@ if (!empty($user)) {
 
     if ($user->deleted) {
         print_header();
-        print_heading(get_string('userdeleted'));
+        echo $OUTPUT->heading(get_string('userdeleted'));
         print_footer();
         die;
     }
index 0ab87bdb1400db0407f0f97fae9d9645a660424a..fd7034d3f8e8fbfcd579545f9b0e1fbf02827901 100755 (executable)
@@ -47,7 +47,7 @@
     $navigation = build_navigation($navlinks);
 
     print_header("$site->shortname: $strblogs : $strpreferences", $strblogs, $navigation);
-    print_heading($strpreferences);
+    echo $OUTPUT->heading($strpreferences);
 
     print_simple_box_start('center', '', '');
     require('./preferences.html');