mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 20:53:53 +01:00
Fixed some typos and dodgy XHTML.
This commit is contained in:
parent
b7869ef796
commit
ba2afbafe1
@ -202,14 +202,14 @@
|
||||
$upath = urlencode( $path );
|
||||
// get hide/show link
|
||||
if (in_array( $path, $installedfilters )) {
|
||||
$hideshow = "<a href=\"$myurl&action=hide&filterpath=$path\">";
|
||||
$hideshow .= "<img src=\"$img/hide.gif\" alt=\"hide\"></a>";
|
||||
$hideshow = "<a href=\"$myurl&action=hide&filterpath=$upath\">";
|
||||
$hideshow .= "<img src=\"$img/hide.gif\" alt=\"hide\" /></a>";
|
||||
$hidden = false;
|
||||
$displayname = "<span>$name</span>";
|
||||
}
|
||||
else {
|
||||
$hideshow = "<a href=\"$myurl&action=show&filterpath=$path\">";
|
||||
$hideshow .= "<img src=\"$img/show.gif\" alt=\"show\"></a>";
|
||||
$hideshow = "<a href=\"$myurl&action=show&filterpath=$upath\">";
|
||||
$hideshow .= "<img src=\"$img/show.gif\" alt=\"show\" /></a>";
|
||||
$hidden = true;
|
||||
$displayname = "<span class=\"dimmed_text\">$name</span>";
|
||||
}
|
||||
@ -218,18 +218,18 @@
|
||||
$updown = '';
|
||||
if (!$hidden) {
|
||||
if ($updowncount>1) {
|
||||
$updown .= "<a href=\"$myurl&action=up&filterpath=$path\">";
|
||||
$updown .= "<img src=\"$img/up.gif\" alt=\"up\"></a> ";
|
||||
$updown .= "<a href=\"$myurl&action=up&filterpath=$upath\">";
|
||||
$updown .= "<img src=\"$img/up.gif\" alt=\"up\" /></a> ";
|
||||
}
|
||||
else {
|
||||
$updown .= "<img src=\"$CFG->pixpath/spacer.gif\" height=\"16\" width=\"16\" alt=\"\"> ";
|
||||
$updown .= "<img src=\"$CFG->pixpath/spacer.gif\" height=\"16\" width=\"16\" alt=\"\" /> ";
|
||||
}
|
||||
if ($updowncount<$installedfilterscount) {
|
||||
$updown .= "<a href=\"$myurl&action=down&filterpath=$path\">";
|
||||
$updown .= "<img src=\"$img/down.gif\" alt=\"down\"></a>";
|
||||
$updown .= "<a href=\"$myurl&action=down&filterpath=$upath\">";
|
||||
$updown .= "<img src=\"$img/down.gif\" alt=\"down\" /></a>";
|
||||
}
|
||||
else {
|
||||
$updown .= "<img src=\"$CFG->pixpath/spacer.gif\" height=\"16\" width=\"16\" alt=\"\">";
|
||||
$updown .= "<img src=\"$CFG->pixpath/spacer.gif\" height=\"16\" width=\"16\" alt=\"\" />";
|
||||
}
|
||||
++$updowncount;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user