rating MDLSITE-1045 changed /rating/index.php page title to be more friendly
authorAndrew Davis <andrew@affinitysoftware.net>
Mon, 11 Oct 2010 08:39:19 +0000 (08:39 +0000)
committerAndrew Davis <andrew@affinitysoftware.net>
Mon, 11 Oct 2010 08:39:19 +0000 (08:39 +0000)
rating/index.php

index 774509f..41d085e 100644 (file)
@@ -62,13 +62,11 @@ switch ($sort) {
 
 $scalemenu = make_grades_menu($scaleid);
 
-$strratings = get_string('ratings', 'rating');
 $strrating  = get_string('rating', 'rating');
 $strname    = get_string('name');
 $strtime    = get_string('time');
 
-//Is there something more meaningful we can put in the title? It used to be forum post title
-$PAGE->set_title("$strratings: ".format_string($itemid));
+$PAGE->set_title(get_string('allratingsforitem','rating'));
 echo $OUTPUT->header();
 
 $ratingoptions = new stdclass();