diff options
author | zotlabs <mike@macgirvin.com> | 2018-05-07 18:46:42 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-05-07 18:46:42 -0700 |
commit | eb85d381fdb447d23e568dfecbde24a860879952 (patch) | |
tree | 628df315cd7704a76922157a53ead004ed769207 /Zotlabs/Module | |
parent | aab16123b5188e69b31893263f7074f9e9c7f210 (diff) | |
download | volse-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')
-rw-r--r-- | Zotlabs/Module/Siteinfo.php | 6 |
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'), |