mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Accessibility: strict, replaced image border, width... with classes (OU-Bugz: 697, 745)
This commit is contained in:
parent
ced7916cee
commit
dfdcd09b2d
1 changed files with 8 additions and 8 deletions
|
@ -126,7 +126,7 @@
|
||||||
if (isediting($course->id)) {
|
if (isediting($course->id)) {
|
||||||
echo '<a title="'.$streditsummary.'" '.
|
echo '<a title="'.$streditsummary.'" '.
|
||||||
' href="editsection.php?id='.$thissection->id.'"><img src="'.$CFG->pixpath.'/t/edit.gif" '.
|
' href="editsection.php?id='.$thissection->id.'"><img src="'.$CFG->pixpath.'/t/edit.gif" '.
|
||||||
' height="11" width="11" border="0" alt="'.$streditsummary.'" /></a><br /><br />';
|
' class="icon icon11" alt="'.$streditsummary.'" /></a><br /><br />';
|
||||||
}
|
}
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
|
||||||
|
@ -217,7 +217,7 @@
|
||||||
|
|
||||||
if (isediting($course->id)) {
|
if (isediting($course->id)) {
|
||||||
echo ' <a title="'.$streditsummary.'" href="editsection.php?id='.$thissection->id.'">'.
|
echo ' <a title="'.$streditsummary.'" href="editsection.php?id='.$thissection->id.'">'.
|
||||||
'<img src="'.$CFG->pixpath.'/t/edit.gif" border="0" height="11" width="11" alt="" /></a><br /><br />';
|
'<img src="'.$CFG->pixpath.'/t/edit.gif" class="icon icon11" alt="" /></a><br /><br />';
|
||||||
}
|
}
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
|
||||||
|
@ -233,29 +233,29 @@
|
||||||
|
|
||||||
if ($displaysection == $section) {
|
if ($displaysection == $section) {
|
||||||
echo '<a href="view.php?id='.$course->id.'&week=all#section-'.$section.'" title="'.$strshowallweeks.'">'.
|
echo '<a href="view.php?id='.$course->id.'&week=all#section-'.$section.'" title="'.$strshowallweeks.'">'.
|
||||||
'<img src="'.$CFG->pixpath.'/i/all.gif" height="25" width="16" border="0" alt="'.$strshowallweeks.'" /></a><br />';
|
'<img src="'.$CFG->pixpath.'/i/all.gif" class="icon" alt="'.$strshowallweeks.'" /></a><br />';
|
||||||
} else {
|
} else {
|
||||||
$strshowonlyweek = get_string("showonlyweek", "", $section);
|
$strshowonlyweek = get_string("showonlyweek", "", $section);
|
||||||
echo '<a href="view.php?id='.$course->id.'&week='.$section.'" title="'.$strshowonlyweek.'">'.
|
echo '<a href="view.php?id='.$course->id.'&week='.$section.'" title="'.$strshowonlyweek.'">'.
|
||||||
'<img src="'.$CFG->pixpath.'/i/one.gif" height="16" width="16" border="0" alt="" /></a><br />';
|
'<img src="'.$CFG->pixpath.'/i/one.gif" class="icon icon16" alt="" /></a><br />';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isediting($course->id)) {
|
if (isediting($course->id)) {
|
||||||
if ($thissection->visible) { // Show the hide/show eye
|
if ($thissection->visible) { // Show the hide/show eye
|
||||||
echo '<a href="view.php?id='.$course->id.'&hide='.$section.'&sesskey='.$USER->sesskey.'#section-'.$section.'" title="'.$strweekhide.'">'.
|
echo '<a href="view.php?id='.$course->id.'&hide='.$section.'&sesskey='.$USER->sesskey.'#section-'.$section.'" title="'.$strweekhide.'">'.
|
||||||
'<img src="'.$CFG->pixpath.'/i/hide.gif" vspace="3" height="16" width="16" border="0" alt="" /></a><br />';
|
'<img src="'.$CFG->pixpath.'/i/hide.gif" class="icon icon16" alt="" /></a><br />';
|
||||||
} else {
|
} else {
|
||||||
echo '<a href="view.php?id='.$course->id.'&show='.$section.'&sesskey='.$USER->sesskey.'#section-'.$section.'" title="'.$strweekhide.'">'.
|
echo '<a href="view.php?id='.$course->id.'&show='.$section.'&sesskey='.$USER->sesskey.'#section-'.$section.'" title="'.$strweekhide.'">'.
|
||||||
'<img src="'.$CFG->pixpath.'/i/show.gif" vspace="3" height="16" width="16" border="0" alt="" /></a><br />';
|
'<img src="'.$CFG->pixpath.'/i/show.gif" class="icon icon16" alt="" /></a><br />';
|
||||||
}
|
}
|
||||||
if ($section > 1) { // Add a arrow to move section up
|
if ($section > 1) { // Add a arrow to move section up
|
||||||
echo '<a href="view.php?id='.$course->id.'&section='.$section.'&move=-1&sesskey='.$USER->sesskey.'#section-'.($section-1).'" title="'.$strmoveup.'">'.
|
echo '<a href="view.php?id='.$course->id.'&section='.$section.'&move=-1&sesskey='.$USER->sesskey.'#section-'.($section-1).'" title="'.$strmoveup.'">'.
|
||||||
'<img src="'.$CFG->pixpath.'/t/up.gif" vspace="3" height="11" width="11" border="0" alt="" /></a><br />';
|
'<img src="'.$CFG->pixpath.'/t/up.gif" class="icon icon11" alt="" /></a><br />';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($section < $course->numsections) { // Add a arrow to move section down
|
if ($section < $course->numsections) { // Add a arrow to move section down
|
||||||
echo '<a href="view.php?id='.$course->id.'&section='.$section.'&move=1&sesskey='.$USER->sesskey.'#section-'.($section+1).'" title="'.$strmovedown.'">'.
|
echo '<a href="view.php?id='.$course->id.'&section='.$section.'&move=1&sesskey='.$USER->sesskey.'#section-'.($section+1).'" title="'.$strmovedown.'">'.
|
||||||
'<img src="'.$CFG->pixpath.'/t/down.gif" vspace="3" height="11" width="11" border="0" alt="" /></a><br />';
|
'<img src="'.$CFG->pixpath.'/t/down.gif" class="icon icon11" alt="" /></a><br />';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue