From 52b0dd6759c3a1c726ae81acf5ab430b1ee6f308 Mon Sep 17 00:00:00 2001 From: Guy Brand Date: Wed, 27 Feb 2008 16:50:24 +0100 Subject: Add namespace changes mail notifications This patch lets DokuWiki send mail notifications when any page inside a namespace gets modified. Two actions are introduced: subscribens and unsubscribens and two new buttons also appear in the bundled template. darcs-hash:20080227155024-19e2d-8ce5bd66f4e870db31d6b438516599f294365ce1.gz --- inc/lang/en/lang.php | 6 ++++-- inc/lang/en/subscribermail.txt | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'inc/lang') diff --git a/inc/lang/en/lang.php b/inc/lang/en/lang.php index c2fdaf5db..d7ece398b 100644 --- a/inc/lang/en/lang.php +++ b/inc/lang/en/lang.php @@ -39,8 +39,10 @@ $lang['btn_delete'] = 'Delete'; $lang['btn_back'] = 'Back'; $lang['btn_backlink'] = "Backlinks"; $lang['btn_backtomedia'] = 'Back to Mediafile Selection'; -$lang['btn_subscribe'] = 'Subscribe Changes'; -$lang['btn_unsubscribe'] = 'Unsubscribe Changes'; +$lang['btn_subscribe'] = 'Subscribe Page Changes'; +$lang['btn_unsubscribe'] = 'Unsubscribe Page Changes'; +$lang['btn_subscribens'] = 'Subscribe Namespace Changes'; +$lang['btn_unsubscribens'] = 'Unsubscribe Namespace Changes'; $lang['btn_profile'] = 'Update Profile'; $lang['btn_reset'] = 'Reset'; $lang['btn_resendpwd'] = 'Send new password'; diff --git a/inc/lang/en/subscribermail.txt b/inc/lang/en/subscribermail.txt index bdb2f6c7d..d7c7671c6 100644 --- a/inc/lang/en/subscribermail.txt +++ b/inc/lang/en/subscribermail.txt @@ -7,10 +7,10 @@ Here are the changes: @DIFF@ -------------------------------------------------------- -To unsubscribe from this page log into the wiki at +To cancel the page notifications, log into the wiki at @DOKUWIKIURL@ then visit @NEWPAGE@ -and choose 'Unsubscribe Changes'. +and unsubscribe page and/or namespace changes. -- This mail was generated by DokuWiki at -- cgit v1.2.3