From 69ad0d692845fee02abdd9b7d99a6882aef520f9 Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 10 Mar 2005 14:11:07 +0000 Subject: [PATCH] Better logging and recent activity --- lang/en/wiki.php | 3 ++- mod/wiki/view.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lang/en/wiki.php b/lang/en/wiki.php index 3844f413e1f..a0857ca6f83 100644 --- a/lang/en/wiki.php +++ b/lang/en/wiki.php @@ -159,6 +159,7 @@ $string['tabview'] = 'View'; $string['thanksforcontribution'] = 'Thank you for your contribution.'; $string['thispageisntlinkedfromanywhereelse'] = 'This page isn\'t linked from anywhere else.'; $string['updatedpages'] = 'Updated pages'; +$string['updatedwikipages'] = 'Updated wiki pages'; $string['uplerror'] = 'We are sorry, but something went wrong during the file upload.'; $string['uplinsect'] = 'Upload into'; $string['uplnewnam'] = 'Save with different filename'; @@ -186,4 +187,4 @@ $string['withbinaries'] = 'Include binary content'; $string['withvirtualpages'] = 'Include Wiki-Links'; $string['wrongversionrange'] = '$a is not a correct range!'; -?> \ No newline at end of file +?> diff --git a/mod/wiki/view.php b/mod/wiki/view.php index e2e495f14a5..7ad847f0f49 100644 --- a/mod/wiki/view.php +++ b/mod/wiki/view.php @@ -220,7 +220,7 @@ /// Moodle Log add_to_log($course->id, "wiki", $ewiki_action, - addslashes("view.php?id=$cm->id&groupid=$groupid&userid=$userid&page=$page"), + addslashes("view.php?id=$cm->id&groupid=$groupid&userid=$userid&page=$ewiki_title"), $wiki->name.": ".$ewiki_title, $cm->id, $userid); /// Print the page header