Permalink
Browse files

Added word count

  • Loading branch information...
1 parent 58918d1 commit 64dc5067fd640ff9749051c940339d756e602704 martin committed Jul 29, 2002
Showing with 3 additions and 1 deletion.
  1. +3 −1 mod/journal/view.php
View
@@ -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> ";

0 comments on commit 64dc506

Please sign in to comment.