]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-19824 Migrated calls to print_heading
authornicolasconnault <nicolasconnault>
Thu, 6 Aug 2009 08:25:18 +0000 (08:25 +0000)
committernicolasconnault <nicolasconnault>
Thu, 6 Aug 2009 08:25:18 +0000 (08:25 +0000)
theme/index.php
theme/preview.php

index a6c6fb7d3213478c9afba618f19b3323cbe4d199..ecc1943b0ddd9b133a68ff580dc326049311f45e 100644 (file)
@@ -39,7 +39,7 @@ if ($choose and confirm_sesskey()) {
     set_config('theme', $choose);
 
     admin_externalpage_print_header();
-    print_heading(get_string('themesaved'));
+    echo $OUTPUT->heading(get_string('themesaved'));
 
     $readmehtml = $CFG->themedir . '/' . $choose . '/README.html';
     $readmetxt = $CFG->themedir . '/' . $choose . '/README.txt';
@@ -63,7 +63,7 @@ if ($choose and confirm_sesskey()) {
 
 // Otherwise, show a list of themes.
 admin_externalpage_print_header('themeselector');
-print_heading(get_string('themes'));
+echo $OUTPUT->heading(get_string('themes'));
 
 $table = new stdClass;
 $table->id = 'adminthemeselector';
index 2bd330a2917f4260eb8414825a633b118a00ae92..955acd604dc4542b016181c5768136d8748a570c 100644 (file)
@@ -43,7 +43,7 @@ $navigation = build_navigation($navlinks);
 print_header("$SITE->shortname: $strpreview", $SITE->fullname, $navigation);
 
 print_box_start();
-print_heading($preview);
+echo $OUTPUT->heading($preview);
 print_box_end();
 
-print_footer();
\ No newline at end of file
+print_footer();