FIxed icon display

This commit is contained in:
moodler 2006-03-09 09:49:34 +00:00
parent 256ed9e4cd
commit bad35380c7

View File

@ -231,7 +231,9 @@
function print_outline_row($mod, $instance, $result) {
$image = "<img src=\"../mod/$mod->modname/icon.gif\" height=\"16\" width=\"16\" alt=\"$mod->modfullname\" />";
global $CFG;
$image = "<img src=\"$CFG->pixpathmod/$mod->modname/icon.gif\" height=\"16\" width=\"16\" alt=\"$mod->modfullname\" />";
echo "<tr>";
echo "<td valign=\"top\">$image</td>";