Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added word count

  • Loading branch information...
commit 64dc5067fd640ff9749051c940339d756e602704 1 parent 58918d1
martin authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 mod/journal/view.php
View
4 mod/journal/view.php
@@ -85,7 +85,9 @@
if ($timenow < $timefinish) {
if ($entry->modified) {
echo "<P><FONT SIZE=-2><B>Last edited:</B> ";
- echo userdate($entry->modified)."</FONT></P>";
+ echo userdate($entry->modified);
+ echo " (".count_words($entry->text)." words)";
+ echo "</FONT></P>";
}
if ($journal->days) {
echo "<P><FONT SIZE=-2><B>Editing period ends:</B> ";
Please sign in to comment.
Something went wrong with that request. Please try again.