From: nfreear Date: Fri, 2 Jun 2006 13:18:49 +0000 (+0000) Subject: Fix, bug 5614 - added ALT text for link icons (x 5), based on TITLE. Merged from... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b65f13b510d954123ae8c3f7e68bf34d59939e6f;p=moodle.git Fix, bug 5614 - added ALT text for link icons (x 5), based on TITLE. Merged from stable branch. --- diff --git a/course/index.php b/course/index.php index ffcf9bbc5c..74a7ec9c75 100644 --- a/course/index.php +++ b/course/index.php @@ -346,23 +346,23 @@ function print_category_edit($category, $displaylist, $parentslist, $depth=-1, $ echo ""; /// Print little icons echo "delete\" href=\"index.php?delete=$category->id&sesskey=$USER->sesskey\">pixpath/t/delete.gif\" height=\"11\" width=\"11\" border=\"0\" alt=\"\" /> "; + " src=\"$CFG->pixpath/t/delete.gif\" height=\"11\" width=\"11\" border=\"0\" alt=\"$str->delete\" /> "; if (!empty($category->visible)) { echo "hide\" href=\"index.php?hide=$category->id&sesskey=$USER->sesskey\">pixpath/t/hide.gif\" height=\"11\" width=\"11\" border=\"0\" alt=\"\" /> "; + " src=\"$CFG->pixpath/t/hide.gif\" height=\"11\" width=\"11\" border=\"0\" alt=\"$str->hide\" /> "; } else { echo "show\" href=\"index.php?show=$category->id&sesskey=$USER->sesskey\">pixpath/t/show.gif\" height=\"11\" width=\"11\" border=\"0\"alt=\"\" /> "; + " src=\"$CFG->pixpath/t/show.gif\" height=\"11\" width=\"11\" border=\"0\"alt=\"$str->show\" /> "; } if ($up) { echo "moveup\" href=\"index.php?moveup=$category->id&sesskey=$USER->sesskey\">pixpath/t/up.gif\" height=\"11\" width=\"11\" border=\"0\" alt=\"\" /> "; + " src=\"$CFG->pixpath/t/up.gif\" height=\"11\" width=\"11\" border=\"0\" alt=\"$str->moveup\" /> "; } if ($down) { echo "movedown\" href=\"index.php?movedown=$category->id&sesskey=$USER->sesskey\">pixpath/t/down.gif\" height=\"11\" width=\"11\" border=\"0\"alt=\"\" /> "; + " src=\"$CFG->pixpath/t/down.gif\" height=\"11\" width=\"11\" border=\"0\"alt=\"$str->movedown\" /> "; } echo "";