Fixed some old pix paths

This commit is contained in:
moodler 2004-02-16 09:24:14 +00:00
parent c10a04e82d
commit 096b5432a7
5 changed files with 15 additions and 15 deletions

View file

@ -3033,7 +3033,7 @@ function workshop_print_assessment($workshop, $assessment = false, $allowchanges
}
for ($i=0; $i<=$workshop->nelements; $i++) {
if ($i == $negativecount) {
echo "<TR><TD ALIGN=\"CENTER\"><IMG SRC=\"../../pix/t/right.gif\"> $i</TD><TD ALIGN=\"CENTER\">{$elements[$i]->maxscore}</TD></TR>\n";
echo "<TR><TD ALIGN=\"CENTER\"><IMG SRC=\"$CFG->pixpath/t/right.gif\"> $i</TD><TD ALIGN=\"CENTER\">{$elements[$i]->maxscore}</TD></TR>\n";
}
else {
echo "<TR><TD ALIGN=\"CENTER\">$i</TD><TD ALIGN=\"CENTER\">{$elements[$i]->maxscore}</TD></TR>\n";
@ -3489,7 +3489,7 @@ function workshop_print_submission_title($workshop, $submission) {
} else {
$ffurl = "file.php?file=/$filearea/$file";
}
return "<IMG SRC=\"$CFG->wwwroot/files/pix/$icon\" HEIGHT=16 WIDTH=16 BORDER=0 ALT=\"File\">".
return "<IMG SRC=\"$CFG->pixpath/f/$icon\" HEIGHT=16 WIDTH=16 BORDER=0 ALT=\"File\">".
"&nbsp;<A TARGET=\"uploadedfile$submission->id\" HREF=\"$CFG->wwwroot/$ffurl\">$submission->title</A>";
}
}