From: nicolasconnault <nicolasconnault> Date: Thu, 6 Aug 2009 08:25:18 +0000 (+0000) Subject: MDL-19824 Migrated calls to print_heading X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=cdc62220772889666a2ce76005204b3d385865f6;p=moodle.git MDL-19824 Migrated calls to print_heading --- diff --git a/theme/index.php b/theme/index.php index a6c6fb7d32..ecc1943b0d 100644 --- a/theme/index.php +++ b/theme/index.php @@ -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'; diff --git a/theme/preview.php b/theme/preview.php index 2bd330a291..955acd604d 100644 --- a/theme/preview.php +++ b/theme/preview.php @@ -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();