]> git.mjollnir.org Git - moodle.git/commitdiff
Make the "guest allowed" icon separate from the user icon.
authormoodler <moodler>
Sat, 20 Sep 2003 06:11:39 +0000 (06:11 +0000)
committermoodler <moodler>
Sat, 20 Sep 2003 06:11:39 +0000 (06:11 +0000)
course/info.php
course/lib.php
pix/i/guest.gif [new file with mode: 0755]
theme/cordoroyblue/pix/i/guest.gif [new file with mode: 0755]

index e347c26854897843e9bac161043f61d0aaa68a08..fd36c13a92556d71364410c532683b60ceef7858 100644 (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");
index 63535a6a6c92df61d50ea63379d2672215730078..151c7d59901cbe8cc7f1a51950495918ba611d05 100644 (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");
diff --git a/pix/i/guest.gif b/pix/i/guest.gif
new file mode 100755 (executable)
index 0000000..33b256e
Binary files /dev/null and b/pix/i/guest.gif differ
diff --git a/theme/cordoroyblue/pix/i/guest.gif b/theme/cordoroyblue/pix/i/guest.gif
new file mode 100755 (executable)
index 0000000..33b256e
Binary files /dev/null and b/theme/cordoroyblue/pix/i/guest.gif differ