Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added date stamp on journal entries

  • Loading branch information...
commit 873f20962dd172b7ef5a34775f29837daa45879e 1 parent 38d0d13
martin authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  mod/journal/user.php
View
3  mod/journal/user.php
@@ -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>";
Please sign in to comment.
Something went wrong with that request. Please try again.