====== sendpagecontent Plugin ====== ---- plugin ---- description: Send the raw page content to a given mail address author : Matthias Schulte email : dokuwiki@lupo49.de type : action lastupdate : 2016-02-03 compatible : Rincewind depends : conflicts : similar : tags : email, transfer downloadurl: https://github.com/lupo49/dokuwiki-plugin-sendpagecontent/tarball/master bugtracker : https://github.com/lupo49/dokuwiki-plugin-sendpagecontent/issues sourcerepo : https://github.com/lupo49/dokuwiki-plugin-sendpagecontent donationurl: ---- ===== Installation ===== Download and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. ===== Description ===== This plugin allows to send the raw page content (Wiki syntax) to a given mail address. You can add a button, which triggers mail sending, to your template: diff --git a/lib/tpl/default/main.php b/lib/tpl/default/main.php index 3e85c58..f6abc0c 100644 --- a/lib/tpl/default/main.php +++ b/lib/tpl/default/main.php @@ -57,6 +57,7 @@ if (!defined('DOKU_INC')) die();
+ 'sendpagecontent')) ?>
Unfortunately, the label which describes the button must be added manually to the localizations diff --git a/inc/lang/en/lang.php b/inc/lang/en/lang.php index 89a7c4d..3d9e80b 100644 --- a/inc/lang/en/lang.php +++ b/inc/lang/en/lang.php @@ -51,6 +51,7 @@ $lang['btn_revert'] = 'Restore'; $lang['btn_register'] = 'Register'; $lang['btn_apply'] = 'Apply'; $lang['btn_media'] = 'Media Manager'; +$lang['btn_sendpagecontent'] = 'Send Mail'; $lang['loggedinas'] = 'Logged in as'; $lang['user'] = 'Username'; ===== Configuration and Settings ===== FIXME ===== Development ===== === Change Log === {{rss>https://github.com/lupo49/dokuwiki-plugin-sendpagecontent/commits/master.atom date}} === ToDo/Wish List === ===== Discussion =====