From 26686b7ae3b963a9bb96832875963a56a486baf6 Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Sun, 12 Sep 2004 22:39:20 +0000 Subject: [PATCH] closed some br and img tags --- course/format/topics/format.php | 24 ++++++++++++------------ course/format/weeks/format.php | 20 ++++++++++---------- course/lib.php | 22 +++++++++++----------- course/mod.php | 2 +- course/recent.php | 2 +- index.php | 2 +- 6 files changed, 36 insertions(+), 36 deletions(-) diff --git a/course/format/topics/format.php b/course/format/topics/format.php index 6bf29d8f54..5dd93bbccf 100644 --- a/course/format/topics/format.php +++ b/course/format/topics/format.php @@ -108,10 +108,10 @@ if (isediting($course->id)) { echo "id\">pixpath/t/edit.gif\" ". - " height=\"11\" width=\"11\" border=\"0\" alt=\"$streditsummary\">
"; + " height=\"11\" width=\"11\" border=\"0\" alt=\"$streditsummary\" />
"; } - echo '
'; + echo '
'; print_section($course, $thissection, $mods, $modnamesused); @@ -199,10 +199,10 @@ if (isediting($course->id)) { echo " id\">". - "pixpath/t/edit.gif\" border=\"0\" height=\"11\" width=\"11\">
"; + "pixpath/t/edit.gif\" border=\"0\" height=\"11\" width=\"11\" />
"; } - echo '
'; + echo '
'; print_section($course, $thissection, $mods, $modnamesused); @@ -217,38 +217,38 @@ if ($displaysection == $section) { // Show the zoom boxes echo "id&topic=all\" title=\"$strshowalltopics\">". - "pixpath/i/all.gif\" height=\"25\" width=\"16\" border=\"0\">
"; + "pixpath/i/all.gif\" height=\"25\" width=\"16\" border=\"0\" />
"; } else { $strshowonlytopic = get_string("showonlytopic", "", $section); echo "id&topic=$section\" title=\"$strshowonlytopic\">". - "pixpath/i/one.gif\" height=\"16\" width=\"16\" border=\"0\">
"; + "pixpath/i/one.gif\" height=\"16\" width=\"16\" border=\"0\" />
"; } if (isediting($course->id)) { if ($course->marker == $section) { // Show the "light globe" on/off echo "id&marker=0\" title=\"$strmarkedthistopic\">". - "pixpath/i/marked.gif\" vspace=\"3\" height=\"16\" width=\"16\" border=\"0\">
"; + "pixpath/i/marked.gif\" vspace=\"3\" height=\"16\" width=\"16\" border=\"0\" />
"; } else { echo "id&marker=$section\" title=\"$strmarkthistopic\">". - "pixpath/i/marker.gif\" vspace=\"3\" height=\"16\" width=\"16\" border=\"0\">
"; + "pixpath/i/marker.gif\" vspace=\"3\" height=\"16\" width=\"16\" border=\"0\" />
"; } if ($thissection->visible) { // Show the hide/show eye echo "id&hide=$section\" title=\"$strtopichide\">". - "pixpath/i/hide.gif\" vspace=\"3\" height=\"16\" width=\"16\" border=\"0\">
"; + "pixpath/i/hide.gif\" vspace=\"3\" height=\"16\" width=\"16\" border=\"0\" />
"; } else { echo "id&show=$section\" title=\"$strtopicshow\">". - "pixpath/i/show.gif\" vspace=\"3\" height=\"16\" width=\"16\" border=\"0\">
"; + "pixpath/i/show.gif\" vspace=\"3\" height=\"16\" width=\"16\" border=\"0\" />
"; } if ($section > 1) { // Add a arrow to move section up echo "id§ion=$section&move=-1\" title=\"$strmoveup\">". - "pixpath/t/up.gif\" vspace=\"3\" height=\"11\" width=\"11\" border=\"0\">
"; + "pixpath/t/up.gif\" vspace=\"3\" height=\"11\" width=\"11\" border=\"0\" />
"; } if ($section < $course->numsections) { // Add a arrow to move section down echo "id§ion=$section&move=1\" title=\"$strmovedown\">". - "pixpath/t/down.gif\" vspace=\"3\" height=\"11\" width=\"11\" border=\"0\">
"; + "pixpath/t/down.gif\" vspace=\"3\" height=\"11\" width=\"11\" border=\"0\" />
"; } } diff --git a/course/format/weeks/format.php b/course/format/weeks/format.php index 73d6a2c6ec..b71bc4e529 100644 --- a/course/format/weeks/format.php +++ b/course/format/weeks/format.php @@ -97,10 +97,10 @@ if (isediting($course->id)) { echo " id\">pixpath/t/edit.gif\" ". - " border=\"0\" alt=\"$streditsummary\">
"; + " border=\"0\" alt=\"$streditsummary\" />
"; } - echo '
'; + echo '
'; print_section($course, $thissection, $mods, $modnamesused); @@ -192,10 +192,10 @@ if (isediting($course->id)) { echo " id\">". - "pixpath/t/edit.gif\" height=\"11\" width=\"11\" border=\"0\">
"; + "pixpath/t/edit.gif\" height=\"11\" width=\"11\" border=\"0\" />
"; } - echo '
'; + echo '
'; print_section($course, $thissection, $mods, $modnamesused); @@ -210,30 +210,30 @@ if ($displaysection == $section) { echo "id&week=all\" title=\"$strshowallweeks\">". - "pixpath/i/all.gif\" height=\"25\" width=\"16\" border=\"0\">
"; + "pixpath/i/all.gif\" height=\"25\" width=\"16\" border=\"0\" />
"; } else { $strshowonlyweek = get_string("showonlyweek", "", $section); echo "id&week=$section\" title=\"$strshowonlyweek\">". - "pixpath/i/one.gif\" height=\"16\" width=\"16\" border=\"0\">
"; + "pixpath/i/one.gif\" height=\"16\" width=\"16\" border=\"0\" />
"; } if (isediting($course->id)) { if ($thissection->visible) { // Show the hide/show eye echo "id&hide=$section\" title=\"$strweekhide\">". - "pixpath/i/hide.gif\" vspace=\"3\" height=\"16\" width=\"16\" border=\"0\">
"; + "pixpath/i/hide.gif\" vspace=\"3\" height=\"16\" width=\"16\" border=\"0\" />
"; } else { echo "id&show=$section\" title=\"$strweekshow\">". - "pixpath/i/show.gif\" vspace=\"3\" height=\"16\" width=\"16\" border=\"0\">
"; + "pixpath/i/show.gif\" vspace=\"3\" height=\"16\" width=\"16\" border=\"0\" />
"; } if ($section > 1) { // Add a arrow to move section up echo "id§ion=$section&move=-1\" title=\"$strmoveup\">". - "pixpath/t/up.gif\" vspace=\"3\" height=\"11\" width=\"11\" border=\"0\">
"; + "pixpath/t/up.gif\" vspace=\"3\" height=\"11\" width=\"11\" border=\"0\" />
"; } if ($section < $course->numsections) { // Add a arrow to move section down echo "id§ion=$section&move=1\" title=\"$strmovedown\">". - "pixpath/t/down.gif\" vspace=\"3\" height=\"11\" width=\"11\" border=\"0\">
"; + "pixpath/t/down.gif\" vspace=\"3\" height=\"11\" width=\"11\" border=\"0\" />
"; } } diff --git a/course/lib.php b/course/lib.php index e101f97080..3f7a33435f 100644 --- a/course/lib.php +++ b/course/lib.php @@ -1170,22 +1170,22 @@ function print_category_info($category, $depth) { echo "\n"; if ($course->guest ) { echo "wwwroot/course/view.php?id=$course->id\">"; - echo "\"$strallowguests\"pixpath/i/guest.gif\">"; + echo "\"$strallowguests\"pixpath/i/guest.gif\" />"; } else { - echo "\"\"pixpath/spacer.gif\">"; + echo "\"\"pixpath/spacer.gif\" />"; } if ($course->password) { echo "wwwroot/course/view.php?id=$course->id\">"; - echo "\"$strrequireskey\"pixpath/i/key.gif\">"; + echo "\"$strrequireskey\"pixpath/i/key.gif\" />"; } else { - echo "\"\"pixpath/spacer.gif\">"; + echo "\"\"pixpath/spacer.gif\" />"; } if ($course->summary) { link_to_popup_window ("/course/info.php?id=$course->id", "courseinfo", - "\"$strsummary\"pixpath/i/info.gif\">", + "\"$strsummary\"pixpath/i/info.gif\" />", 400, 500, $strsummary); } else { - echo "\"\"pixpath/spacer.gif\">"; + echo "\"\"pixpath/spacer.gif\" />"; } echo "\n"; } @@ -1712,11 +1712,11 @@ function make_editing_buttons($mod, $absolute=false, $moveselect=true, $indent=- if ($mod->groupmodelink) { $groupmode = "clicktochange)\" href=\"$grouplink\">". "\"$grouptitle\""; + "border=\"0\" alt=\"$grouptitle\" />"; } else { $groupmode = "forcedmode)\" ". " src=\"$groupimage\" hspace=\"2\" height=\"11\" width=\"11\" ". - "border=\"0\" alt=\"$grouptitle\">"; + "border=\"0\" alt=\"$grouptitle\" />"; } } else { $groupmode = ""; @@ -1725,14 +1725,14 @@ function make_editing_buttons($mod, $absolute=false, $moveselect=true, $indent=- if ($moveselect) { $move = "move\" href=\"$path/mod.php?copy=$mod->id\">move\">"; + " border=\"0\" alt=\"$str->move\" />"; } else { $move = "moveup\" href=\"$path/mod.php?id=$mod->id&move=-1\">moveup\">". + " border=\"0\" alt=\"$str->moveup\" />". "movedown\" href=\"$path/mod.php?id=$mod->id&move=1\">movedown\">"; + " border=\"0\" alt=\"$str->movedown\" />"; } $leftright = ""; diff --git a/course/mod.php b/course/mod.php index 9f55fcc559..162d199653 100644 --- a/course/mod.php +++ b/course/mod.php @@ -600,7 +600,7 @@ $defaultformat = FORMAT_MOODLE; } - $icon = "modpixpath/$module->name/icon.gif\"> "; + $icon = "modpixpath/$module->name/icon.gif\" /> "; print_heading_with_help($pageheading, "mods", $module->name, $icon); print_simple_box_start("center", "", "$THEME->cellheading"); diff --git a/course/recent.php b/course/recent.php index 5aff27f8bc..f625fa4911 100644 --- a/course/recent.php +++ b/course/recent.php @@ -266,7 +266,7 @@ $linkformat = ''; } $image = "modpixpath/" . $activity->content->modname . "/icon.gif\"" . - "height=\"16\" width=\"16\" alt=\"" . $activity->content->modfullname . "\">"; + "height=\"16\" width=\"16\" alt=\"" . $activity->content->modfullname . "\" />"; echo "