mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Added styles and cleaned up some code for XHTML compatibility
This commit is contained in:
parent
82af563584
commit
deb0ab54c3
@ -43,20 +43,21 @@
|
||||
echo "<table border=\"0\" cellpadding=\"3\" cellspacing=\"3\" class=\"generalbox\" width=\"100%\">";
|
||||
echo "<tr>";
|
||||
echo "<th> </th>";
|
||||
echo "<th><a href=\"report.php?id=$entry->id&sort=u.firstname\">$strname</a>";
|
||||
echo "<th width=\"100%\"><a href=\"report.php?id=$entry->id&sort=r.rating\">$strrating</a>";
|
||||
echo "<th><a href=\"report.php?id=$entry->id&sort=r.time\">$strtime</a>";
|
||||
echo "<th><a href=\"report.php?id=$entry->id&sort=u.firstname\">$strname</a></th>";
|
||||
echo "<th width=\"100%\"><a href=\"report.php?id=$entry->id&sort=r.rating\">$strrating</a></th>";
|
||||
echo "<th><a href=\"report.php?id=$entry->id&sort=r.time\">$strtime</a></th>";
|
||||
foreach ($ratings as $rating) {
|
||||
if (isteacher($glossary->course, $rating->id)) {
|
||||
echo "<tr bgcolor=\"$THEME->cellcontent2\">";
|
||||
echo '<tr class="teacher">';
|
||||
} else {
|
||||
echo "<tr bgcolor=\"$THEME->cellcontent\">";
|
||||
echo '<tr>';
|
||||
}
|
||||
echo "<td>";
|
||||
echo '<td class="picture">';
|
||||
print_user_picture($rating->id, $glossary->course, $rating->picture);
|
||||
echo '<td nowrap="nowrap"><p><font size="-1">'.fullname($rating).'</p>';
|
||||
echo '<td nowrap="nowrap" align="center"><p><font size="-1">'.$scalemenu[$rating->rating]."</p>";
|
||||
echo '<td nowrap="nowrap" align="center"><p><font size="-1">'.userdate($rating->time)."</p>";
|
||||
echo '</td>';
|
||||
echo '<td nowrap="nowrap" class="author">'.fullname($rating).'</td>';
|
||||
echo '<td nowrap="nowrap" align="center" class="author">'.$scalemenu[$rating->rating].'</td>';
|
||||
echo '<td nowrap="nowrap" align="center" class="author">'.userdate($rating->time).'</td>';
|
||||
echo "</tr>\n";
|
||||
}
|
||||
echo "</table>";
|
||||
|
Loading…
x
Reference in New Issue
Block a user