Make the "guest allowed" icon separate from the user icon.

This commit is contained in:
moodler
2003-09-20 06:11:39 +00:00
parent 30bacddc59
commit a9a070e0fd
4 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -37,7 +37,7 @@
echo "<center>";
if ($course->guest) {
$strallowguests = get_string("allowguests");
echo "<p><font size=1><img align=\"absmiddle\" alt=\"\" height=16 width=16 border=0 src=\"$pixpath/i/user.gif\"></a>&nbsp;$strallowguests</font></p>";
echo "<p><font size=1><img align=\"absmiddle\" alt=\"\" height=16 width=16 border=0 src=\"$pixpath/i/guest.gif\"></a>&nbsp;$strallowguests</font></p>";
}
if ($course->password) {
$strrequireskey = get_string("requireskey");
+2 -2
View File
@@ -995,7 +995,7 @@ function print_category_info($category, $depth) {
echo "</td>\n<td align=\"right\" valign=\"top\" nowrap class=\"coursename\">";
if ($course->guest ) {
echo "<a title=\"$strallowguests\" href=\"$CFG->wwwroot/course/view.php?id=$course->id\">";
echo "<img hspace=1 alt=\"\" height=16 width=16 border=0 src=\"$CFG->pixpath/i/user.gif\"></a>";
echo "<img hspace=1 alt=\"\" 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\">";
}
@@ -1154,7 +1154,7 @@ function print_course($course, $width="100%") {
if ($course->guest) {
$strallowguests = get_string("allowguests");
echo "<a title=\"$strallowguests\" href=\"$CFG->wwwroot/course/view.php?id=$course->id\">";
echo "<img vspace=4 alt=\"$strallowguests\" height=16 width=16 border=0 src=\"$CFG->pixpath/i/user.gif\"></a>&nbsp;&nbsp;";
echo "<img vspace=4 alt=\"$strallowguests\" height=16 width=16 border=0 src=\"$CFG->pixpath/i/guest.gif\"></a>&nbsp;&nbsp;";
}
if ($course->password) {
$strrequireskey = get_string("requireskey");
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 115 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 115 B