From 0e60c77287d6c65e6645be779036e9133c42b48b Mon Sep 17 00:00:00 2001 From: stronk7 Date: Tue, 19 Apr 2005 17:26:05 +0000 Subject: [PATCH] Now gradebook supports filterall. --- grade/lib.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/grade/lib.php b/grade/lib.php index 0e68e6224d6..92376025e3f 100644 --- a/grade/lib.php +++ b/grade/lib.php @@ -1173,7 +1173,7 @@ function grade_download($download, $id) { $maxgrade = ""; } - $columns[] = "$mod->modfullname: $instance->name - $maxgrade"; + $columns[] = "$mod->modfullname: ".format_string($instance->name,true)." - $maxgrade"; foreach ($students as $student) { if (!empty($modgrades->grades[$student->id])) { @@ -1700,10 +1700,10 @@ function grade_view_category_grades($view_by_student) { $link = $CFG->wwwroot.'/mod/'.$all_categories[$category][$assignment]['modname'].'/view.php?id='.$link_id->id; if ($all_categories[$category][$assignment]['hidden'] == 0) { - $header .= ''.$assignment.''; + $header .= ''.format_string($assignment,true).''; } else { - $header .= ''.$assignment.''; + $header .= ''.format_string($assignment,true).''; } if ($all_categories[$category][$assignment]['extra_credit'] == 1) { $header .= '('.get_string('extracredit','grades').')'; @@ -2279,7 +2279,7 @@ function grade_set_categories() { echo ''; // get instance name from db. $instance = get_record($mod->modname, 'id', $mod->instance); - echo "$instance->name"; + echo format_string($instance->name).""; // see if the item is already in the category table and if it is call category select with the id so it is selected echo '