aboutsummaryrefslogtreecommitdiffstats
path: root/mod/siteinfo.php
diff options
context:
space:
mode:
authorThomas Willingham <founder@kakste.com>2014-01-24 23:58:41 +0000
committerThomas Willingham <founder@kakste.com>2014-01-24 23:58:41 +0000
commitd3a0d37b0ddb73fed81fa71d355d6cb596e139ca (patch)
tree57e86cd76d6d06f3486e673ff754a7e1a6c8ff98 /mod/siteinfo.php
parent3869b16298041887d0c90c884ffb5b22df8d56e9 (diff)
downloadvolse-hubzilla-d3a0d37b0ddb73fed81fa71d355d6cb596e139ca.tar.gz
volse-hubzilla-d3a0d37b0ddb73fed81fa71d355d6cb596e139ca.tar.bz2
volse-hubzilla-d3a0d37b0ddb73fed81fa71d355d6cb596e139ca.zip
Add admin info to admin panel and site info.
Since we can have multiple admins, this is freeform bbcode.
Diffstat (limited to 'mod/siteinfo.php')
-rw-r--r--mod/siteinfo.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/siteinfo.php b/mod/siteinfo.php
index 9f65f59e4..37cba02ec 100644
--- a/mod/siteinfo.php
+++ b/mod/siteinfo.php
@@ -88,6 +88,8 @@ function siteinfo_content(&$a) {
else
$plugins_text = t('No installed plugins/addons/apps');
+ $admininfo = bbcode(get_config('system','admininfo'));
+
$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.'),
@@ -99,6 +101,8 @@ function siteinfo_content(&$a) {
'$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'),
+ '$adminlabel' => t('Site Administrators'),
+ '$admininfo' => $admininfo,
'$plugins_text' => $plugins_text,
'$plugins_list' => $plugins_list
));