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

skala
Julian Prud'homme 18 years ago
parent d43fa75f5f
commit 7549f7da7d
  1. 3
      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)

Loading…
Cancel
Save