notes MDL-19806 Updated print_header and build_navigation to OUTPUT and PAGE equivalents

This commit is contained in:
samhemelryk
2009-09-07 05:43:15 +00:00
parent fb67602416
commit b0ff558ccb
10 changed files with 31 additions and 37 deletions
+2 -1
View File
@@ -47,7 +47,8 @@
$strrating = get_string('rating', 'data');
$strname = get_string('name');
print_header($strratings);
$PAGE->set_title($strratings);
echo $OUTPUT->header();
if (!$ratings = data_get_ratings($record->id, $sqlsort)) {
print_error('noratingforrecord', 'data');