]> git.mjollnir.org Git - moodle.git/commitdiff
Fix deprecated function calls.
authortjhunt <tjhunt>
Mon, 29 Jun 2009 03:10:06 +0000 (03:10 +0000)
committertjhunt <tjhunt>
Mon, 29 Jun 2009 03:10:06 +0000 (03:10 +0000)
theme/preview.php

index 0776667eefe485fd13b6b6eddb32d1c86b36b718..75426dc97a4f3c07ccd17f49bcb025b2d4f01d2f 100644 (file)
@@ -8,7 +8,7 @@
         $preview = 'standard';
     }
 
-    if (! $site = get_site()) {
+    if (!$site = get_site()) {
         print_error('siteisnotdefined', 'debug');
     }
 
     $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();
-
-?>