MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url

and $CFG->modpixpath to $OUTPUT->mod_icon_url
This commit is contained in:
tjhunt
2009-07-02 12:07:58 +00:00
parent c8873c496b
commit e63f88c9a6
29 changed files with 78 additions and 80 deletions
+1 -1
View File
@@ -210,7 +210,7 @@
foreach ($modulebyname as $modulename => $module) {
// took out hspace="\10\", because it does not validate. don't know what to replace with.
$icon = "<img src=\"$CFG->modpixpath/$module->name/icon.gif\" class=\"icon\" alt=\"\" />";
$icon = "<img src=\"" . $OUTPUT->mod_icon_url('icon', $module->name) . "\" class=\"icon\" alt=\"\" />";
$delete = "<a href=\"modules.php?delete=$module->name&amp;sesskey=".sesskey()."\">$strdelete</a>";