MDL-25561 Gradebook : fixed whitespaces

This commit is contained in:
Aparup Banerjee 2011-12-20 16:02:55 +08:00
parent 8f43b3990d
commit e59a1dd670
2 changed files with 2 additions and 2 deletions

View File

@ -678,7 +678,7 @@ function print_grade_page_head($courseid, $active_type, $active_plugin=null,
if ($return) {
$returnval .= $OUTPUT->heading($heading);
} else {
echo $OUTPUT->heading($heading);
echo $OUTPUT->heading($heading);
}
if ($CFG->grade_navmethod == GRADE_NAVMETHOD_COMBO || $CFG->grade_navmethod == GRADE_NAVMETHOD_TABS) {

View File

@ -109,7 +109,7 @@ if (has_capability('moodle/grade:viewall', $context)) { //Teachers will see all
while ($userdata = $gui->next_user()) {
$user = $userdata->user;
$report = new grade_report_user($courseid, $gpr, $context, $user->id);
$studentnamelink = html_writer::link(new moodle_url('/user/view.php', array('id' => $report->user->id, 'course' => $courseid)), fullname($report->user));
echo $OUTPUT->heading(get_string('pluginname', 'gradereport_user') . ' - ' . $studentnamelink);