]> git.mjollnir.org Git - moodle.git/commitdiff
closed some br and img tags
authorgustav_delius <gustav_delius>
Sun, 12 Sep 2004 22:39:20 +0000 (22:39 +0000)
committergustav_delius <gustav_delius>
Sun, 12 Sep 2004 22:39:20 +0000 (22:39 +0000)
course/format/topics/format.php
course/format/weeks/format.php
course/lib.php
course/mod.php
course/recent.php
index.php

index 6bf29d8f54de2a2fe0c201bf1941743f548c8a82..5dd93bbccf56db4c76caf074253dc1f28ad3e1b4 100644 (file)
         if (isediting($course->id)) {
             echo "<a title=\"$streditsummary\" ".
                  " href=\"editsection.php?id=$thissection->id\"><img src=\"$CFG->pixpath/t/edit.gif\" ".
-                 " height=\"11\" width=\"11\" border=\"0\" alt=\"$streditsummary\"></a><br />";
+                 " height=\"11\" width=\"11\" border=\"0\" alt=\"$streditsummary\" /></a><br />";
         }
 
-        echo '<br clear="all">';
+        echo '<br clear="all" />';
 
         print_section($course, $thissection, $mods, $modnamesused);
 
 
                 if (isediting($course->id)) {
                     echo " <a title=\"$streditsummary\" href=\"editsection.php?id=$thissection->id\">".
-                         "<img src=\"$CFG->pixpath/t/edit.gif\" border=\"0\" height=\"11\" width=\"11\"></a><br />";
+                         "<img src=\"$CFG->pixpath/t/edit.gif\" border=\"0\" height=\"11\" width=\"11\" /></a><br />";
                 }
 
-                echo '<br clear="all">';
+                echo '<br clear="all" />';
 
                 print_section($course, $thissection, $mods, $modnamesused);
 
 
             if ($displaysection == $section) {      // Show the zoom boxes
                 echo "<a href=\"view.php?id=$course->id&topic=all\" title=\"$strshowalltopics\">".
-                     "<img src=\"$CFG->pixpath/i/all.gif\" height=\"25\" width=\"16\" border=\"0\"></a><br />";
+                     "<img src=\"$CFG->pixpath/i/all.gif\" height=\"25\" width=\"16\" border=\"0\" /></a><br />";
             } else {
                 $strshowonlytopic = get_string("showonlytopic", "", $section);
                 echo "<a href=\"view.php?id=$course->id&topic=$section\" title=\"$strshowonlytopic\">".
-                     "<img src=\"$CFG->pixpath/i/one.gif\" height=\"16\" width=\"16\" border=\"0\"></a><br />";
+                     "<img src=\"$CFG->pixpath/i/one.gif\" height=\"16\" width=\"16\" border=\"0\" /></a><br />";
             }
 
             if (isediting($course->id)) {
                 if ($course->marker == $section) {  // Show the "light globe" on/off
                     echo "<a href=\"view.php?id=$course->id&marker=0\" title=\"$strmarkedthistopic\">".
-                         "<img src=\"$CFG->pixpath/i/marked.gif\" vspace=\"3\" height=\"16\" width=\"16\" border=\"0\"></a><br />";
+                         "<img src=\"$CFG->pixpath/i/marked.gif\" vspace=\"3\" height=\"16\" width=\"16\" border=\"0\" /></a><br />";
                 } else {
                     echo "<a href=\"view.php?id=$course->id&marker=$section\" title=\"$strmarkthistopic\">".
-                         "<img src=\"$CFG->pixpath/i/marker.gif\" vspace=\"3\" height=\"16\" width=\"16\" border=\"0\"></a><br />";
+                         "<img src=\"$CFG->pixpath/i/marker.gif\" vspace=\"3\" height=\"16\" width=\"16\" border=\"0\" /></a><br />";
                 }
 
                 if ($thissection->visible) {        // Show the hide/show eye
                     echo "<a href=\"view.php?id=$course->id&hide=$section\" title=\"$strtopichide\">".
-                         "<img src=\"$CFG->pixpath/i/hide.gif\" vspace=\"3\" height=\"16\" width=\"16\" border=\"0\"></a><br />";
+                         "<img src=\"$CFG->pixpath/i/hide.gif\" vspace=\"3\" height=\"16\" width=\"16\" border=\"0\" /></a><br />";
                 } else {
                     echo "<a href=\"view.php?id=$course->id&show=$section\" title=\"$strtopicshow\">".
-                         "<img src=\"$CFG->pixpath/i/show.gif\" vspace=\"3\" height=\"16\" width=\"16\" border=\"0\"></a><br />";
+                         "<img src=\"$CFG->pixpath/i/show.gif\" vspace=\"3\" height=\"16\" width=\"16\" border=\"0\" /></a><br />";
                 }
 
                 if ($section > 1) {                       // Add a arrow to move section up
                     echo "<a href=\"view.php?id=$course->id&section=$section&move=-1\" title=\"$strmoveup\">".
-                         "<img src=\"$CFG->pixpath/t/up.gif\" vspace=\"3\" height=\"11\" width=\"11\" border=\"0\"></a><br />";
+                         "<img src=\"$CFG->pixpath/t/up.gif\" vspace=\"3\" height=\"11\" width=\"11\" border=\"0\" /></a><br />";
                 }
 
                 if ($section < $course->numsections) {    // Add a arrow to move section down
                     echo "<a href=\"view.php?id=$course->id&section=$section&move=1\" title=\"$strmovedown\">".
-                         "<img src=\"$CFG->pixpath/t/down.gif\" vspace=\"3\" height=\"11\" width=\"11\" border=\"0\"></a><br />";
+                         "<img src=\"$CFG->pixpath/t/down.gif\" vspace=\"3\" height=\"11\" width=\"11\" border=\"0\" /></a><br />";
                 }
 
             }
index 73d6a2c6ec2551682df824659ced624c2b27b4cc..b71bc4e5298157c01676d23926fc72097865abcb 100644 (file)
         if (isediting($course->id)) {
             echo " <a title=\"$streditsummary\" ".
                  " href=\"editsection.php?id=$thissection->id\"><img height=\"11\" width=\"11\" src=\"$CFG->pixpath/t/edit.gif\" ".
-                 " border=\"0\" alt=\"$streditsummary\"></a><br />";
+                 " border=\"0\" alt=\"$streditsummary\" /></a><br />";
         }
 
-        echo '<br clear="all">';
+        echo '<br clear="all" />';
 
         print_section($course, $thissection, $mods, $modnamesused);
 
     
                 if (isediting($course->id)) {
                     echo " <a title=\"$streditsummary\" href=\"editsection.php?id=$thissection->id\">".
-                         "<img src=\"$CFG->pixpath/t/edit.gif\" height=\"11\" width=\"11\" border=\"0\"></a><br />";
+                         "<img src=\"$CFG->pixpath/t/edit.gif\" height=\"11\" width=\"11\" border=\"0\" /></a><br />";
                 }
     
-                echo '<br clear="all">';
+                echo '<br clear="all" />';
     
                 print_section($course, $thissection, $mods, $modnamesused);
     
 
             if ($displaysection == $section) {
                 echo "<a href=\"view.php?id=$course->id&week=all\" title=\"$strshowallweeks\">".
-                     "<img src=\"$CFG->pixpath/i/all.gif\" height=\"25\" width=\"16\" border=\"0\"></a><br />";
+                     "<img src=\"$CFG->pixpath/i/all.gif\" height=\"25\" width=\"16\" border=\"0\" /></a><br />";
             } else {
                 $strshowonlyweek = get_string("showonlyweek", "", $section);
                 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\"></a><br />";
+                     "<img src=\"$CFG->pixpath/i/one.gif\" height=\"16\" width=\"16\" border=\"0\" /></a><br />";
             }
     
             if (isediting($course->id)) {
                 if ($thissection->visible) {        // Show the hide/show eye
                     echo "<a href=\"view.php?id=$course->id&hide=$section\" title=\"$strweekhide\">".
-                         "<img src=\"$CFG->pixpath/i/hide.gif\" vspace=\"3\" height=\"16\" width=\"16\" border=\"0\"></a><br />";
+                         "<img src=\"$CFG->pixpath/i/hide.gif\" vspace=\"3\" height=\"16\" width=\"16\" border=\"0\" /></a><br />";
                 } else {
                     echo "<a href=\"view.php?id=$course->id&show=$section\" title=\"$strweekshow\">".
-                         "<img src=\"$CFG->pixpath/i/show.gif\" vspace=\"3\" height=\"16\" width=\"16\" border=\"0\"></a><br />";
+                         "<img src=\"$CFG->pixpath/i/show.gif\" vspace=\"3\" height=\"16\" width=\"16\" border=\"0\" /></a><br />";
                 }
     
                 if ($section > 1) {                       // Add a arrow to move section up
                     echo "<a href=\"view.php?id=$course->id&section=$section&move=-1\" title=\"$strmoveup\">".
-                         "<img src=\"$CFG->pixpath/t/up.gif\" vspace=\"3\" height=\"11\" width=\"11\" border=\"0\"></a><br />";
+                         "<img src=\"$CFG->pixpath/t/up.gif\" vspace=\"3\" height=\"11\" width=\"11\" border=\"0\" /></a><br />";
                 }
     
                 if ($section < $course->numsections) {    // Add a arrow to move section down
                     echo "<a href=\"view.php?id=$course->id&section=$section&move=1\" title=\"$strmovedown\">".
-                         "<img src=\"$CFG->pixpath/t/down.gif\" vspace=\"3\" height=\"11\" width=\"11\" border=\"0\"></a><br />";
+                         "<img src=\"$CFG->pixpath/t/down.gif\" vspace=\"3\" height=\"11\" width=\"11\" border=\"0\" /></a><br />";
                 }
     
             }
index e101f97080a91ab13a28386ee2b14245448664c0..3f7a33435fbedadf72e90d58ba1cf42518dafc33 100644 (file)
@@ -1170,22 +1170,22 @@ function print_category_info($category, $depth) {
                 echo "</td>\n<td align=\"right\" valign=\"top\" nowrap=\"nowrap\" class=\"coursename\">";
                 if ($course->guest ) {
                     echo "<a title=\"$strallowguests\" href=\"$CFG->wwwroot/course/view.php?id=$course->id\">";
-                    echo "<img hspace=\"1\" alt=\"$strallowguests\" height=\"16\" width=\"16\" border=\"0\" src=\"$CFG->pixpath/i/guest.gif\"></a>";
+                    echo "<img hspace=\"1\" alt=\"$strallowguests\" height=\"16\" width=\"16\" border=\"0\" src=\"$CFG->pixpath/i/guest.gif\" /></a>";
                 } else {
-                    echo "<img alt=\"\" height=\"16\" width=\"18\" border=\"0\" src=\"$CFG->pixpath/spacer.gif\">";
+                    echo "<img alt=\"\" height=\"16\" width=\"18\" border=\"0\" src=\"$CFG->pixpath/spacer.gif\" />";
                 }
                 if ($course->password) {
                     echo "<a title=\"$strrequireskey\" href=\"$CFG->wwwroot/course/view.php?id=$course->id\">";
-                    echo "<img hspace=\"1\" alt=\"$strrequireskey\" height=\"16\" width=\"16\" border=\"0\" src=\"$CFG->pixpath/i/key.gif\"></a>";
+                    echo "<img hspace=\"1\" alt=\"$strrequireskey\" height=\"16\" width=\"16\" border=\"0\" src=\"$CFG->pixpath/i/key.gif\" /></a>";
                 } else {
-                    echo "<img alt=\"\" height=\"16\" width=\"18\" border=\"0\" src=\"$CFG->pixpath/spacer.gif\">";
+                    echo "<img alt=\"\" height=\"16\" width=\"18\" border=\"0\" src=\"$CFG->pixpath/spacer.gif\" />";
                 }
                 if ($course->summary) {
                     link_to_popup_window ("/course/info.php?id=$course->id", "courseinfo",
-                                          "<img hspace=\"1\" alt=\"$strsummary\" height=\"16\" width=\"16\" border=\"0\" src=\"$CFG->pixpath/i/info.gif\">",
+                                          "<img hspace=\"1\" alt=\"$strsummary\" height=\"16\" width=\"16\" border=\"0\" src=\"$CFG->pixpath/i/info.gif\" />",
                                            400, 500, $strsummary);
                 } else {
-                    echo "<img alt=\"\" height=\"16\" width=\"18\" border=\"0\" src=\"$CFG->pixpath/spacer.gif\">";
+                    echo "<img alt=\"\" height=\"16\" width=\"18\" border=\"0\" src=\"$CFG->pixpath/spacer.gif\" />";
                 }
                 echo "</td></tr>\n";
             }
@@ -1712,11 +1712,11 @@ function make_editing_buttons($mod, $absolute=false, $moveselect=true, $indent=-
         if ($mod->groupmodelink) {
             $groupmode = "<a title=\"$grouptitle ($str->clicktochange)\" href=\"$grouplink\">".
                          "<img src=\"$groupimage\" hspace=\"2\" height=\"11\" width=\"11\" ".
-                         "border=\"0\" alt=\"$grouptitle\"></a>";
+                         "border=\"0\" alt=\"$grouptitle\" /></a>";
         } else {
             $groupmode = "<img title=\"$grouptitle ($str->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 =     "<a title=\"$str->move\" href=\"$path/mod.php?copy=$mod->id\"><img".
                     " src=\"$pixpath/t/move.gif\" hspace=\"2\" height=\"11\" width=\"11\" ".
-                    " border=\"0\" alt=\"$str->move\"></a>";
+                    " border=\"0\" alt=\"$str->move\" /></a>";
     } else {
         $move =     "<a title=\"$str->moveup\" href=\"$path/mod.php?id=$mod->id&move=-1\"><img".
                     " src=\"$pixpath/t/up.gif\" hspace=\"2\" height=\"11\" width=\"11\" ".
-                    " border=\"0\" alt=\"$str->moveup\"></a>".
+                    " border=\"0\" alt=\"$str->moveup\" /></a>".
                     "<a title=\"$str->movedown\" href=\"$path/mod.php?id=$mod->id&move=1\"><img".
                     " src=\"$pixpath/t/down.gif\" hspace=\"2\" height=\"11\" width=\"11\" ".
-                    " border=\"0\" alt=\"$str->movedown\"></a>";
+                    " border=\"0\" alt=\"$str->movedown\" /></a>";
     }
 
     $leftright = "";
index 9f55fcc5594ba5322da792482eeadc32525a1cbe..162d199653958629f43839b09ca693fc197ffeaf 100644 (file)
             $defaultformat = FORMAT_MOODLE;
         }
 
-        $icon = "<img align=\"absmiddle\" height=\"16\" width=\"16\" src=\"$CFG->modpixpath/$module->name/icon.gif\">&nbsp;";
+        $icon = "<img align=\"absmiddle\" height=\"16\" width=\"16\" src=\"$CFG->modpixpath/$module->name/icon.gif\" />&nbsp;";
 
         print_heading_with_help($pageheading, "mods", $module->name, $icon);
         print_simple_box_start("center", "", "$THEME->cellheading");
index 5aff27f8bcac717e22332b505cc3f24ed8bf94c1..f625fa49115840407980ddbb751dd9c4570f93d9 100644 (file)
                        $linkformat = '';
                    }
                    $image = "<img src=\"$CFG->modpixpath/" . $activity->content->modname . "/icon.gif\"" .
-                            "height=\"16\" width=\"16\" alt=\"" . $activity->content->modfullname . "\">";
+                            "height=\"16\" width=\"16\" alt=\"" . $activity->content->modfullname . "\" />";
                    echo "<ul><h4>$image " . $activity->content->modfullname .
                         " <a href=\"$CFG->wwwroot/mod/" . $activity->content->modname . "/view.php?" .
                         "id=" . $activity->content->modid . "\" $linkformat>" .
index 5efc3daa4b769efab0dce1304a46990f741e9abc..4988b9253aafb2684f8adfc8bfd8e4ac1979891d 100644 (file)
--- a/index.php
+++ b/index.php
                  " height=\"11\" width=\"11\" border=\"0\" alt=\"$streditsummary\" /></a><br />";
         }
 
-        echo '<br clear="all">';
+        echo '<br clear="all" />';
 
         get_all_mods($site->id, $mods, $modnames, $modnamesplural, $modnamesused);
         print_section($site, $section, $mods, $modnamesused, true);