From a9a070e0fd2a41d1f36799ce111dd697548e7e97 Mon Sep 17 00:00:00 2001 From: moodler Date: Sat, 20 Sep 2003 06:11:39 +0000 Subject: [PATCH] Make the "guest allowed" icon separate from the user icon. --- course/info.php | 2 +- course/lib.php | 4 ++-- pix/i/guest.gif | Bin 0 -> 115 bytes theme/cordoroyblue/pix/i/guest.gif | Bin 0 -> 115 bytes 4 files changed, 3 insertions(+), 3 deletions(-) create mode 100755 pix/i/guest.gif create mode 100755 theme/cordoroyblue/pix/i/guest.gif diff --git a/course/info.php b/course/info.php index e347c26854..fd36c13a92 100644 --- a/course/info.php +++ b/course/info.php @@ -37,7 +37,7 @@ echo "
"; if ($course->guest) { $strallowguests = get_string("allowguests"); - echo "

\"\" $strallowguests

"; + echo "

\"\" $strallowguests

"; } if ($course->password) { $strrequireskey = get_string("requireskey"); diff --git a/course/lib.php b/course/lib.php index 63535a6a6c..151c7d5990 100644 --- a/course/lib.php +++ b/course/lib.php @@ -995,7 +995,7 @@ function print_category_info($category, $depth) { echo "\n"; if ($course->guest ) { echo "wwwroot/course/view.php?id=$course->id\">"; - echo "\"\"pixpath/i/user.gif\">"; + echo "\"\"pixpath/i/guest.gif\">"; } else { echo "\"\"pixpath/spacer.gif\">"; } @@ -1154,7 +1154,7 @@ function print_course($course, $width="100%") { if ($course->guest) { $strallowguests = get_string("allowguests"); echo "wwwroot/course/view.php?id=$course->id\">"; - echo "\"$strallowguests\"pixpath/i/user.gif\">  "; + echo "\"$strallowguests\"pixpath/i/guest.gif\">  "; } if ($course->password) { $strrequireskey = get_string("requireskey"); diff --git a/pix/i/guest.gif b/pix/i/guest.gif new file mode 100755 index 0000000000000000000000000000000000000000..33b256ece5d716780ac373ea8c2310ccac48790f GIT binary patch literal 115 zcmZ?wbhEHb6krfwSj51PX3Q`%&G^jBwEt&j{{R1