aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Siteinfo.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-05-07 18:46:42 -0700
committerzotlabs <mike@macgirvin.com>2018-05-07 18:46:42 -0700
commiteb85d381fdb447d23e568dfecbde24a860879952 (patch)
tree628df315cd7704a76922157a53ead004ed769207 /Zotlabs/Module/Siteinfo.php
parentaab16123b5188e69b31893263f7074f9e9c7f210 (diff)
downloadvolse-hubzilla-eb85d381fdb447d23e568dfecbde24a860879952.tar.gz
volse-hubzilla-eb85d381fdb447d23e568dfecbde24a860879952.tar.bz2
volse-hubzilla-eb85d381fdb447d23e568dfecbde24a860879952.zip
Add supported protocols to siteinfo (not siteinfo.json)
Diffstat (limited to 'Zotlabs/Module/Siteinfo.php')
-rw-r--r--Zotlabs/Module/Siteinfo.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/Zotlabs/Module/Siteinfo.php b/Zotlabs/Module/Siteinfo.php
index 92ee78cc6..25276815d 100644
--- a/Zotlabs/Module/Siteinfo.php
+++ b/Zotlabs/Module/Siteinfo.php
@@ -12,6 +12,9 @@ class Siteinfo extends \Zotlabs\Web\Controller {
}
function get() {
+
+ $federated = [];
+ call_hooks('federated_transports',$federated);
$siteinfo = replace_macros(get_markup_template('siteinfo.tpl'),
[
@@ -27,6 +30,9 @@ class Siteinfo extends \Zotlabs\Web\Controller {
'$prj_name' => t('This site is powered by $Projectname'),
'$prj_transport' => t('Federated and decentralised networking and identity services provided by Zot'),
'$transport_link' => '<a href="https://zotlabs.com">https://zotlabs.com</a>',
+
+ '$additional_text' => t('Additional federated transport protocols:'),
+ '$additional_fed' => implode(',',$federated),
'$prj_version' => ((get_config('system','hidden_version_siteinfo')) ? '' : sprintf( t('Version %s'), \Zotlabs\Lib\System::get_project_version())),
'$prj_linktxt' => t('Project homepage'),
'$prj_srctxt' => t('Developer homepage'),