[svn r10499] add pictures for invisible LP and visioconference.

Remove the get_lang() when these tools are invisible
skala
Eric Marguin 19 years ago
parent 5f72fc7ebd
commit d370067f0d
  1. 2
      main/course_home/activity.php
  2. BIN
      main/img/scormbuilder_na.gif
  3. BIN
      main/img/visio_na.gif

@ -290,7 +290,7 @@ 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'] == 'external.gif' || $toolsRow['image'] == 'external_na.gif' || $toolsRow['image'] == 'scormbuilder.gif' || $toolsRow['image'] == 'blog.gif') ? ' '.stripslashes($toolsRow['name']) : ' '.get_lang($toolsRow['name']);
echo ($toolsRow['image'] == 'external.gif' || $toolsRow['image'] == 'external_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 "\t" . '</a>';
echo '</td>';
if($i%2)

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Loading…
Cancel
Save