Skip to content

Commit

Permalink
FIxed icon display
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Mar 9, 2006
1 parent 256ed9e commit bad3538
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion course/user.php
Original file line number Diff line number Diff line change
Expand Up @@ -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>";
Expand Down

0 comments on commit bad3538

Please sign in to comment.