mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
Issue MDL-8697
Someone must have fixed this earlier, because there are no more tables. However I found the use of the align attribute which I replaced with inline CSS style=\"text-align:right\"
This commit is contained in:
parent
2ce10f2920
commit
109694fbf9
1 changed files with 4 additions and 4 deletions
|
@ -192,7 +192,7 @@
|
||||||
foreach ($courses as $course) {
|
foreach ($courses as $course) {
|
||||||
$course->fullname = highlight("$search", $course->fullname);
|
$course->fullname = highlight("$search", $course->fullname);
|
||||||
$course->summary = highlight("$search", $course->summary);
|
$course->summary = highlight("$search", $course->summary);
|
||||||
$course->summary .= "<br /><p align=\"right\">";
|
$course->summary .= "<br /><p style=\"text-align:right\">";
|
||||||
$course->summary .= "$strcategory: <a href=\"category.php?id=$course->category\">";
|
$course->summary .= "$strcategory: <a href=\"category.php?id=$course->category\">";
|
||||||
$course->summary .= $displaylist[$course->category];
|
$course->summary .= $displaylist[$course->category];
|
||||||
$course->summary .= "</a></p>";
|
$course->summary .= "</a></p>";
|
||||||
|
@ -206,7 +206,7 @@
|
||||||
echo "<input type=\"hidden\" name=\"search\" value=\"".s($search, true)."\" />";
|
echo "<input type=\"hidden\" name=\"search\" value=\"".s($search, true)."\" />";
|
||||||
echo "<input type=\"hidden\" name=\"page\" value=\"$page\" />";
|
echo "<input type=\"hidden\" name=\"page\" value=\"$page\" />";
|
||||||
echo "<input type=\"hidden\" name=\"perpage\" value=\"$perpage\" />";
|
echo "<input type=\"hidden\" name=\"perpage\" value=\"$perpage\" />";
|
||||||
echo "<table align=\"center\" border=0 cellspacing=2 cellpadding=4 class=\"generalbox\"><tr>";
|
echo "<table style=\"text-align:center\" border=0 cellspacing=2 cellpadding=4 class=\"generalbox\"><tr>";
|
||||||
echo "<th scope=\"col\">$strcourses</th>";
|
echo "<th scope=\"col\">$strcourses</th>";
|
||||||
echo "<th scope=\"col\">$strcategory</th>";
|
echo "<th scope=\"col\">$strcategory</th>";
|
||||||
echo "<th scope=\"col\">$strselect</th>";
|
echo "<th scope=\"col\">$strselect</th>";
|
||||||
|
@ -234,7 +234,7 @@
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
echo "<td><a $linkcss href=\"view.php?id=$course->id\">" . format_string($course->fullname) . "</a></td>";
|
echo "<td><a $linkcss href=\"view.php?id=$course->id\">" . format_string($course->fullname) . "</a></td>";
|
||||||
echo "<td>".$displaylist[$course->category]."</td>";
|
echo "<td>".$displaylist[$course->category]."</td>";
|
||||||
echo "<td align=\"center\">";
|
echo "<td style=\"text-align:center\">";
|
||||||
|
|
||||||
// this is ok since this will get inherited from course category context
|
// this is ok since this will get inherited from course category context
|
||||||
// if it is set
|
// if it is set
|
||||||
|
@ -291,7 +291,7 @@
|
||||||
|
|
||||||
echo "</td></tr>";
|
echo "</td></tr>";
|
||||||
}
|
}
|
||||||
echo "<tr><td colspan=\"4\" align=\"center\">";
|
echo "<tr><td colspan=\"4\" style=\"text-align:center\">";
|
||||||
echo "<br />";
|
echo "<br />";
|
||||||
echo "<input type=\"button\" onclick=\"checkall()\" value=\"$strselectall\" />\n";
|
echo "<input type=\"button\" onclick=\"checkall()\" value=\"$strselectall\" />\n";
|
||||||
echo "<input type=\"button\" onclick=\"uncheckall()\" value=\"$strdeselectall\" />\n";
|
echo "<input type=\"button\" onclick=\"uncheckall()\" value=\"$strdeselectall\" />\n";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue