From 7e62329aa034887c984fb29687df202171f2303c Mon Sep 17 00:00:00 2001 From: moodler Date: Sun, 2 May 2004 17:18:48 +0000 Subject: [PATCH] Use the folder icon for Directory resources --- mod/resource/lib.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mod/resource/lib.php b/mod/resource/lib.php index d151b3191f..6a93e0ceba 100644 --- a/mod/resource/lib.php +++ b/mod/resource/lib.php @@ -191,6 +191,8 @@ function resource_get_coursemodule_info($coursemodule) { if ($icon != 'unknown.gif') { $info->icon ="f/$icon"; } + } else if ($resource->type == DIRECTORY) { + $info->icon ="f/folder.gif"; } } -- 2.39.5