]> git.mjollnir.org Git - moodle.git/commitdiff
Put links on the course icons
authormoodler <moodler>
Thu, 21 Aug 2003 02:58:55 +0000 (02:58 +0000)
committermoodler <moodler>
Thu, 21 Aug 2003 02:58:55 +0000 (02:58 +0000)
course/category.php

index 137976f3e2bf84339343cd5519b6467f2cd18aa9..c12853c14a1d49de7e24d70ecb892a25727c6ab6 100644 (file)
                     echo "&nbsp;";
                 }
                 if ($course->guest ) {
-                    echo "<img title=\"$strallowguests\" alt=\"\" height=16 width=16 border=0 src=\"$pixpath/i/user.gif\">&nbsp;";
+                    echo "<a href=\"view.php?id=$course->id\"><img title=\"$strallowguests\" alt=\"\" height=16 width=16 border=0 src=\"$pixpath/i/user.gif\"></a>&nbsp;";
                 }
                 if ($course->password) {
-                    echo "<img title=\"$strrequireskey\" alt=\"\" height=16 width=16 border=0 src=\"$pixpath/i/key.gif\">";
+                    echo "<a href=\"view.php?id=$course->id\"><img title=\"$strrequireskey\" alt=\"\" height=16 width=16 border=0 src=\"$pixpath/i/key.gif\"></a>";
                 }
                 echo "</td>";
             }