]> git.mjollnir.org Git - moodle.git/commitdiff
Added date stamp on journal entries
authormartin <martin>
Mon, 7 Jan 2002 15:00:15 +0000 (15:00 +0000)
committermartin <martin>
Mon, 7 Jan 2002 15:00:15 +0000 (15:00 +0000)
mod/journal/user.php

index 7e12fb2770367dee3e5ddf62254ccaaa59119451..ffd95151b597dcf9ac3fe88422e0a2779dddc695 100644 (file)
@@ -44,6 +44,9 @@
             echo "$journal->week</TD>";
             echo "<TD BGCOLOR=\"$THEME->cellcontent\">";
             echo "<P><A HREF=\"$CFG->wwwroot/mod/journal/view.php?id=$journal->coursemodule\">$journal->name</A></P>";
+            if ($entry->modified) {
+                echo "<P><FONT SIZE=1>Last edited: ".moodledate($entry->modified)."</FONT></P>";
+            }
             echo text_to_html($entry->text);
             if ($entry->teacher) {
                 echo "\n<BR CLEAR=ALL><TABLE><TR>";