Skip to content

Commit

Permalink
MDL-19029 fixed validation problem in yui titles; merged from MOODLE_…
Browse files Browse the repository at this point in the history
…19_STABLE
  • Loading branch information
skodak committed May 6, 2009
1 parent 99a3aa3 commit da2818d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions grade/report/grader/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -808,17 +808,17 @@ public function get_studentshtml() {
// $cellclasses .= ' excluded';
}

$grade_title = '<div class="fullname">'.fullname($user).'</div>';
$grade_title .= '<div class="itemname">'.$item->get_name(true).'</div>';
$grade_title = '<div class="fullname">'.fullname($user).'</div>';
$grade_title .= '<div class="itemname">'.$item->get_name(true).'</div>';

if (!empty($grade->feedback) && !$USER->gradeediting[$this->courseid]) {
$grade_title .= '&lt;div class=&quot;feedback&quot;&gt;'
.wordwrap(trim(format_string($grade->feedback, $grade->feedbackformat)), 34, '&lt;br/ &gt;') . '&lt;/div&gt;';
$grade_title .= '<div class="feedback">'
.wordwrap(trim(format_string($grade->feedback, $grade->feedbackformat)), 34, '<br/ >') . '</div>';
} else {

}

$studentshtml .= '<td class="'.$cellclasses.'" title="'.$grade_title.'">';
$studentshtml .= '<td class="'.$cellclasses.'" title="'.s($grade_title).'">';

if ($grade->is_excluded()) {
$studentshtml .= '<span class="excludedfloater">'.get_string('excluded', 'grades') . '</span> ';
Expand Down

0 comments on commit da2818d

Please sign in to comment.