]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed icon display for submissions when shown in course/recent.php
authorselliott <selliott>
Mon, 16 Feb 2004 14:17:33 +0000 (14:17 +0000)
committerselliott <selliott>
Mon, 16 Feb 2004 14:17:33 +0000 (14:17 +0000)
mod/assignment/lib.php

index d91938bea509b2271c530e52624e3dbddeefdbc2..8f57bf84399b060d10b86fea3a54e95ec51fc26e 100644 (file)
@@ -638,7 +638,7 @@ function assignment_print_recent_mod_activity($activity, $course, $detail=false)
 
         $file = assignment_get_user_file($assignment, $user);
 
-        echo "<IMG SRC=\"$CFG->wwwroot/files/pix/$file->icon\" HEIGHT=16 WIDTH=16 BORDER=0 ALT=\"File\">";
+        echo "<img src=\"$CFG->pixpath/f/$file->icon\" height=16 width=16 border=0 alt=\"file\">";
         echo "&nbsp;<A TARGET=\"uploadedfile\" HREF=\"$CFG->wwwroot/$file->url\">$file->name</A>";
         echo "<BR>";
     }