]> git.mjollnir.org Git - moodle.git/commitdiff
Removed the non-breaking space   from the section summaries because
authormoodler <moodler>
Mon, 26 May 2003 06:58:10 +0000 (06:58 +0000)
committermoodler <moodler>
Mon, 26 May 2003 06:58:10 +0000 (06:58 +0000)
it would cause problems when the summary ended in a URL

course/topics.php
course/weeks.php

index 234aa0da3d95b3530cb854013e10798f2080b6bf..fb739a163c7f63456e674e003ad247328c8b5f84 100644 (file)
         echo "<td valign=top bgcolor=\"$THEME->cellcontent\" class=\"topicsoutlinecontent\" width=\"100%\">";
     
         if (isediting($course->id)) {
-            $thissection->summary .= "&nbsp;<a title=\"$streditsummary\" ".
+            $thissection->summary .= " <a title=\"$streditsummary\" ".
                                      "href=\"editsection.php?id=$thissection->id\"><img src=\"$pixpath/t/edit.gif\" ".
                                      "height=11 width=11 border=0 alt=\"$streditsummary\"></a></p>";
         }
             echo "<td valign=top $colormain width=\"100%\">";
 
             if (isediting($course->id)) {
-                $thissection->summary .= "&nbsp;<a title=\"$streditsummary\" href=editsection.php?id=$thissection->id>".
+                $thissection->summary .= " <a title=\"$streditsummary\" href=editsection.php?id=$thissection->id>".
                      "<img src=\"$pixpath/t/edit.gif\" border=0 height=11 width=11></a>";
             }
     
index 3e04c04ede80d93d3a8a7f5bdc5f3c51c3a7ed95..daabd6c80ff566841cd6ecf2eaeb95980df234d3 100644 (file)
@@ -89,7 +89,7 @@
         echo "<td valign=top bgcolor=\"$THEME->cellcontent\" class=\"weeklyoutlinecontent\" width=\"100%\">";
 
         if (isediting($course->id)) {
-            $thissection->summary .= "&nbsp;<a title=\"$streditsummary\" ".
+            $thissection->summary .= " <a title=\"$streditsummary\" ".
                                   "href=\"editsection.php?id=$thissection->id\"><img height=11 width=11 src=\"$pixpath/t/edit.gif\" ".
                                   "border=0 alt=\"$streditsummary\"></a></p>";
         }
             echo "<p class=\"weeklydatetext\">$weekday - $endweekday</p>";
 
             if (isediting($course->id)) {
-                $thissection->summary .= "&nbsp;<a title=\"$streditsummary\" href=\"editsection.php?id=$thissection->id\">".
+                $thissection->summary .= " <a title=\"$streditsummary\" href=\"editsection.php?id=$thissection->id\">".
                       "<img src=\"$pixpath/t/edit.gif\" height=11 width=11 border=0></a></p>";
             }