Browse Source

[svn r10991] remove the edit link on invisible tools

Julian Prud'homme 18 years ago
parent
commit
dd8b05b810
1 changed files with 0 additions and 10 deletions
  1. 0 10
      main/course_home/activity.php

+ 0 - 10
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	"<a class=\"nobold\" href=\"" . api_get_path(WEB_PATH) .
-						'main/external_module/external_module.php' .
-						"?".api_get_cidreq()."&amp;id=".$toolsRow["id"]."\">". get_lang("Edit"). "</a>";
-
-
-
-
 			// 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'];