From: moodler Date: Sun, 14 Sep 2003 18:51:52 +0000 (+0000) Subject: Hide labels on topic pages X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=809e6508dbd3587269ddec16b09b84dfd412e964;p=moodle.git Hide labels on topic pages --- diff --git a/course/format/topics.php b/course/format/topics.php index a60f88d272..070f52c809 100644 --- a/course/format/topics.php +++ b/course/format/topics.php @@ -70,8 +70,10 @@ $modicon = array(); if ($modnamesused) { foreach ($modnamesused as $modname => $modfullname) { - $moddata[] = "id\">".$modnamesplural[$modname].""; - $modicon[] = "modpixpath/$modname/icon.gif\" height=16 width=16 alt=\"\">"; + if ($modname != "label") { + $moddata[] = "id\">".$modnamesplural[$modname].""; + $modicon[] = "modpixpath/$modname/icon.gif\" height=16 width=16 alt=\"\">"; + } } } print_side_block($stractivities, "", $moddata, $modicon);