From: tjhunt Date: Mon, 29 Jun 2009 03:10:06 +0000 (+0000) Subject: Fix deprecated function calls. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d6c5e269b5d4423a367f45d49acd7640734817eb;p=moodle.git Fix deprecated function calls. --- diff --git a/theme/preview.php b/theme/preview.php index 0776667eef..75426dc97a 100644 --- a/theme/preview.php +++ b/theme/preview.php @@ -8,7 +8,7 @@ $preview = 'standard'; } - if (! $site = get_site()) { + if (!$site = get_site()) { print_error('siteisnotdefined', 'debug'); } @@ -34,10 +34,8 @@ $navigation = build_navigation($navlinks); print_header("$site->shortname: $strpreview", $site->fullname, $navigation); - print_simple_box_start('center', '80%'); + print_box_start(); print_heading($preview); - print_simple_box_end(); + print_box_end(); print_footer(); - -?>