]> git.mjollnir.org Git - moodle.git/commitdiff
add anchors to week/topics on course homepage
authorgustav_delius <gustav_delius>
Thu, 6 May 2004 19:02:25 +0000 (19:02 +0000)
committergustav_delius <gustav_delius>
Thu, 6 May 2004 19:02:25 +0000 (19:02 +0000)
course/format/topics/format.php
course/format/weeks/format.php

index 865b47c6b64670358bb2833a4bb5cfe21af69a29..f696d4b14b328dc0ab34145d0eb2e6eddddb6c82 100644 (file)
 
             echo "<tr>";
             echo "<td nowrap $colorsides valign=top width=20>";
-            echo "<p align=center><font size=3><b>$section</b></font></p>";
+            echo "<p align=center><font size=3><b><a name=\"$section\">$section</a></b></font></p>";
             echo "</td>";
 
             if (!isteacher($course->id) and !$thissection->visible) {   // Hidden for students
index ca26ccf258b342014df85e652b94bfda7c80ebf4..5f16a28353566b7948bd67928de67ec4ad5e1486 100644 (file)
 
             echo "<tr>";
             echo "<td nowrap $colorsides valign=top width=20>";
-            echo "<p align=center><font size=3><b>$section</b></font></p>";
+            echo "<p align=center><font size=3><a name=\"$section\">$section</a></font></p>";
             echo "</td>";
     
             echo "<td valign=top $colormain width=\"100%\">";