265
264
"workshop")."\" onclick=\"getElementById('editform').action.value='removeattachments';
266
265
getElementById('editform').submit();\"/></div></td></tr>\n";
268
268
foreach ($files as $file) {
269
269
$icon = mimeinfo("icon", $file);
275
271
// removed target=\"uploadedfile\"
276
272
// as it does not validate MDL_7861
277
273
echo "<tr><td>".get_string("attachment", "workshop")." $n: <img src=\"$CFG->pixpath/f/$icon\"
278
274
class=\"icon\" alt=\"".get_string('file')."\" />".
282
278
echo "<tr><td><b>".get_string("noattachments", "workshop")."</b></td></tr>\n";