From 809e6508dbd3587269ddec16b09b84dfd412e964 Mon Sep 17 00:00:00 2001 From: moodler Date: Sun, 14 Sep 2003 18:51:52 +0000 Subject: [PATCH] Hide labels on topic pages --- course/format/topics.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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); -- 2.39.5