From cdc62220772889666a2ce76005204b3d385865f6 Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Thu, 6 Aug 2009 08:25:18 +0000 Subject: [PATCH] MDL-19824 Migrated calls to print_heading --- theme/index.php | 4 ++-- theme/preview.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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(); -- 2.39.5