From 61cc4de2255b344e9f607ae9fa545f45d7423b56 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 1 Feb 2014 21:03:21 -0800 Subject: provide donation options on siteinfo page --- mod/siteinfo.php | 18 +++++++++++++++++- view/tpl/siteinfo.tpl | 1 + 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/mod/siteinfo.php b/mod/siteinfo.php index 37cba02ec..14ef17516 100644 --- a/mod/siteinfo.php +++ b/mod/siteinfo.php @@ -90,6 +90,21 @@ function siteinfo_content(&$a) { $admininfo = bbcode(get_config('system','admininfo')); + $donate = <<< EOT +

The Red Matrix is provided for you by volunteers working in their spare time. Your support will help us to build a better web. Select the following option for a one-time donation of your choosing

+

+

or

+ +

+ + +
Recurring Donation Options
+

+

+EOT; + + + $o = replace_macros(get_markup_template('siteinfo.tpl'), array( '$title' => t('Red'), '$description' => t('This is a hub of the Red Matrix - a global cooperative network of decentralised privacy enhanced websites.'), @@ -100,7 +115,8 @@ function siteinfo_content(&$a) { '$bug_text' => t('Bug reports and issues: please visit'), '$bug_link_url' => 'https://github.com/friendica/red/issues', '$bug_link_text' => 'redmatrix issues', - '$contact' => t('Suggestions, praise, donations, etc. - please email "redmatrix" at librelist - dot com'), + '$contact' => t('Suggestions, praise, etc. - please email "redmatrix" at librelist - dot com'), + '$donate' => $donate, '$adminlabel' => t('Site Administrators'), '$admininfo' => $admininfo, '$plugins_text' => $plugins_text, diff --git a/view/tpl/siteinfo.tpl b/view/tpl/siteinfo.tpl index 4baa1969b..d956a7228 100755 --- a/view/tpl/siteinfo.tpl +++ b/view/tpl/siteinfo.tpl @@ -14,3 +14,4 @@ {{if $plugins_list}}
{{$plugins_list}}
{{/if}} +

{{$donate}}

-- cgit v1.2.3