]> git.mjollnir.org Git - moodle.git/commitdiff
Give new windows different names so they can be compared more easily
authormoodler <moodler>
Mon, 9 Feb 2004 14:37:45 +0000 (14:37 +0000)
committermoodler <moodler>
Mon, 9 Feb 2004 14:37:45 +0000 (14:37 +0000)
mod/workshop/lib.php

index f40dfe841fc5dfbf5ff9d080bb4ec0c45a1f0a1e..851b46b10765906a24629195f5db6964e98dd269 100644 (file)
@@ -3490,7 +3490,7 @@ function workshop_print_submission_title($workshop, $submission) {
                 $ffurl = "file.php?file=/$filearea/$file";
             }
             return "<IMG SRC=\"$CFG->wwwroot/files/pix/$icon\" HEIGHT=16 WIDTH=16 BORDER=0 ALT=\"File\">".
-                "&nbsp;<A TARGET=\"uploadedfile\" HREF=\"$CFG->wwwroot/$ffurl\">$submission->title</A>";
+                "&nbsp;<A TARGET=\"uploadedfile$submission->id\" HREF=\"$CFG->wwwroot/$ffurl\">$submission->title</A>";
         }
     }
 }