Put links on the course icons
This commit is contained in:
+2
-2
@@ -324,10 +324,10 @@
|
||||
echo " ";
|
||||
}
|
||||
if ($course->guest ) {
|
||||
echo "<img title=\"$strallowguests\" alt=\"\" height=16 width=16 border=0 src=\"$pixpath/i/user.gif\"> ";
|
||||
echo "<a href=\"view.php?id=$course->id\"><img title=\"$strallowguests\" alt=\"\" height=16 width=16 border=0 src=\"$pixpath/i/user.gif\"></a> ";
|
||||
}
|
||||
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>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user