소스 검색

[svn r11043] Re-add the link 'link' with language var in the course home page

Julian Prud'homme 18 년 전
부모
커밋
7549f7da7d
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      main/course_home/activity.php

+ 2 - 1
main/course_home/activity.php

@@ -283,7 +283,8 @@ function show_tools_category($course_tool_category)
 					echo "\t" . ' &nbsp <a ' . $class . ' href="' . htmlspecialchars($toolsRow['link']) . '" target="' . $toolsRow['target'] . '">&nbsp;&nbsp;';
 				}
 					echo '<img src="' . $web_code_path . 'img/' . $toolsRow['image'] . '" align="absmiddle" border="0" alt="' . $toolsRow['image'] . '" /> &nbsp;&nbsp;';
-					echo ($toolsRow['image'] == 'links.gif' || $toolsRow['image'] == 'links_na.gif' || $toolsRow['image'] == 'scormbuilder.gif' || $toolsRow['image'] == 'scormbuilder_na.gif' || $toolsRow['image'] == 'blog.gif' || $toolsRow['image'] == 'blog_na.gif') ? '  '.stripslashes($toolsRow['name']) : '  '.get_lang($toolsRow['name']);
+					
+					echo ($toolsRow['image'] == 'scormbuilder.gif' || $toolsRow['image'] == 'scormbuilder_na.gif' || $toolsRow['image'] == 'blog.gif' || $toolsRow['image'] == 'blog_na.gif') ? '  '.stripslashes($toolsRow['name']) : '  '.get_lang($toolsRow['name']);
 				echo "\t" . '</a>';
 				echo '</td>';
 			if($i%2)