--- assignment.class.php.orig 2010-04-26 12:06:18.925366057 +0100 +++ assignment.class.php 2010-04-26 12:07:49.143311145 +0100 @@ -363,13 +363,13 @@ $icon = mimeinfo('icon', $file); $ffurl = get_file_url("$filearea/$file"); - $output .= ''.$icon.''.$file.''; + $output .= ''.$icon.''.$file.' ('.date("F d Y", + filemtime("$CFG->dataroot/$filearea/$file")).')'; // jjw added timestamp if ($candelete) { $delurl = "$CFG->wwwroot/mod/assignment/delete.php?id={$this->cm->id}&file=$file&userid={$submission->userid}&mode=$mode&offset=$offset"; $output .= ' ' - .' '; + .'
'; //jjw added br } $output .= '
'; @@ -419,13 +419,13 @@ $ffurl = get_file_url("$filearea/$file"); - $output .= ''.$icon.''.$file.''; + $output .= ''.$icon.''.$file.' ('.date("F d Y", + filemtime("$CFG->dataroot/$filearea/$file")).')'; // jjw added timestamp if ($candelete) { $delurl = "$CFG->wwwroot/mod/assignment/delete.php?id={$this->cm->id}&file=$file&userid=$userid&mode=$mode&offset=$offset&action=response"; $output .= ' ' - .' '; + .'
'; //jjw added br } $output .= ' ';