From 5d16ec11e190abc9846bc9c972a8b78da8b06a34 Mon Sep 17 00:00:00 2001 From: Patrick Cool Date: Tue, 14 Nov 2006 11:28:04 +0100 Subject: [PATCH] [svn r9966] replacing the visible/invisible with the add/remove icons --- main/course_home/2column.php | 4 ++-- main/course_home/activity.php | 4 ++-- main/course_home/btf_functions.php | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/main/course_home/2column.php b/main/course_home/2column.php index 89645193f5..9d9363e6a6 100644 --- a/main/course_home/2column.php +++ b/main/course_home/2column.php @@ -166,14 +166,14 @@ function show_tools($course_tool_category) { if ($toolsRow["visibility"] == '1' && !strpos($toolsRow['link'],'learnpath_handler.php?learnpath_id')) { - $link['name'] = ''.get_lang('; + $link['name'] = ''.get_lang('; $link['cmd'] = "hide=yes"; $lnk[] = $link; } if ($course_tool_category == TOOL_PUBLIC_BUT_HIDDEN) { - $link['name'] = ''.get_lang('; + $link['name'] = ''.get_lang('; $link['cmd'] = "restore=yes"; $lnk[] = $link; diff --git a/main/course_home/activity.php b/main/course_home/activity.php index 0020ac4b50..2c14db7d67 100644 --- a/main/course_home/activity.php +++ b/main/course_home/activity.php @@ -216,7 +216,7 @@ function show_tools_category($course_tool_category) if($toolsRow['visibility'] == '1' && $toolsRow['admin'] !='1' && !strpos($toolsRow['link'],'learnpath_handler.php?learnpath_id')) { - $link['name'] = ''.get_lang('; + $link['name'] = ''.get_lang('; $link['cmd'] = "hide=yes"; $lnk[] = $link; @@ -224,7 +224,7 @@ function show_tools_category($course_tool_category) if($toolsRow['visibility'] == '0' && $toolsRow['admin'] !='1') { - $link['name'] = ''.get_lang('; + $link['name'] = ''.get_lang('; $link['cmd'] = "restore=yes"; $lnk[] = $link; } diff --git a/main/course_home/btf_functions.php b/main/course_home/btf_functions.php index 65ebea27d9..12bb25eb24 100644 --- a/main/course_home/btf_functions.php +++ b/main/course_home/btf_functions.php @@ -1,5 +1,5 @@ '; + $link['name'] = ''.get_lang('Deactivate').''; $link['cmd'] = "hide=yes"; $lnk[] = $link; } else { - $link['name'] = ''.get_lang('Activate').''; + $link['name'] = ''.get_lang('Activate').''; $link['cmd'] = "restore=yes"; $lnk[] = $link;