From dd8b05b8102834ddfb8cfd80b94a967790653f81 Mon Sep 17 00:00:00 2001 From: Julian Prud'homme Date: Tue, 30 Jan 2007 09:50:52 +0100 Subject: [PATCH] [svn r10991] remove the edit link on invisible tools --- main/course_home/activity.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/main/course_home/activity.php b/main/course_home/activity.php index e70aef433c..45489b8def 100644 --- a/main/course_home/activity.php +++ b/main/course_home/activity.php @@ -261,16 +261,6 @@ function show_tools_category($course_tool_category) } else{ echo '    ';} - // Allow editing of invisible homepage links (modified external_module) - if($toolsRow["added_tool"] == 1 && - api_is_allowed_to_edit() && !$toolsRow["visibility"]) - echo "". get_lang("Edit"). ""; - - - - // NOTE : table contains only the image file name, not full path if(!stristr($toolsRow['link'], 'http://') && !stristr($toolsRow['link'], 'https://') && !stristr($toolsRow['link'],'ftp://')) $toolsRow['link'] = $web_code_path . $toolsRow['link'];