mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
rating MDLSITE-1045 changed /rating/index.php page title to be more friendly
This commit is contained in:
parent
16b6aec208
commit
d0c675f774
1 changed files with 1 additions and 3 deletions
|
@ -62,13 +62,11 @@ switch ($sort) {
|
||||||
|
|
||||||
$scalemenu = make_grades_menu($scaleid);
|
$scalemenu = make_grades_menu($scaleid);
|
||||||
|
|
||||||
$strratings = get_string('ratings', 'rating');
|
|
||||||
$strrating = get_string('rating', 'rating');
|
$strrating = get_string('rating', 'rating');
|
||||||
$strname = get_string('name');
|
$strname = get_string('name');
|
||||||
$strtime = get_string('time');
|
$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(get_string('allratingsforitem','rating'));
|
||||||
$PAGE->set_title("$strratings: ".format_string($itemid));
|
|
||||||
echo $OUTPUT->header();
|
echo $OUTPUT->header();
|
||||||
|
|
||||||
$ratingoptions = new stdclass();
|
$ratingoptions = new stdclass();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue