aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2023-12-18 13:10:44 +0100
committerHarald Eilertsen <haraldei@anduin.net>2023-12-18 15:05:23 +0100
commite59750e8de72e5d54356d69f68b6590ff17ee84b (patch)
tree5fe93fd807f21fc0f8160226b9ca3fa4eb33c483 /Zotlabs
parent9df6e821d8e9fce7e177166d9d656280c7466a5d (diff)
downloadvolse-hubzilla-e59750e8de72e5d54356d69f68b6590ff17ee84b.tar.gz
volse-hubzilla-e59750e8de72e5d54356d69f68b6590ff17ee84b.tar.bz2
volse-hubzilla-e59750e8de72e5d54356d69f68b6590ff17ee84b.zip
Add active addons and blocked sites to siteinfo (html)
This adds information about addons activated on the hub, as well as which other sites this hub won't federate with in the HTML version of siteinfo. Based on suggestions by @rockyiii@huby.infozoo.de.
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Siteinfo.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zotlabs/Module/Siteinfo.php b/Zotlabs/Module/Siteinfo.php
index ac33747f8..18eb703a2 100644
--- a/Zotlabs/Module/Siteinfo.php
+++ b/Zotlabs/Module/Siteinfo.php
@@ -38,6 +38,8 @@ class Siteinfo extends \Zotlabs\Web\Controller {
'$prj_srctxt' => t('Developer homepage'),
'$prj_link' => \Zotlabs\Lib\System::get_project_link(),
'$prj_src' => \Zotlabs\Lib\System::get_project_srclink(),
+ '$addons' => array( t('Active addons'), \App::$plugins ),
+ '$blocked_sites' => array( t('Blocked sites'), \Zotlabs\Lib\Config::Get('system', 'blacklisted_sites') )
]
);