From: martin Date: Mon, 29 Jul 2002 06:20:27 +0000 (+0000) Subject: Added word count X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=64dc5067fd640ff9749051c940339d756e602704;p=moodle.git Added word count --- diff --git a/mod/journal/view.php b/mod/journal/view.php index b56fd9c041..2fa243371a 100644 --- a/mod/journal/view.php +++ b/mod/journal/view.php @@ -85,7 +85,9 @@ if ($timenow < $timefinish) { if ($entry->modified) { echo "

Last edited: "; - echo userdate($entry->modified)."

"; + echo userdate($entry->modified); + echo " (".count_words($entry->text)." words)"; + echo "

"; } if ($journal->days) { echo "

Editing period ends: ";