diff options
author | Mario <mario@mariovavti.com> | 2022-05-06 07:29:59 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-05-06 07:29:59 +0000 |
commit | c334fc9d22c7f2633d9b7e8d9e0fae1f2bb40547 (patch) | |
tree | e32853a8c12369c31f20cbb569b198b4d852a63f /Zotlabs/Widget/Wiki_list.php | |
parent | 85200883763bfa3e25dc48f68d0937d3e704d399 (diff) | |
download | volse-hubzilla-c334fc9d22c7f2633d9b7e8d9e0fae1f2bb40547.tar.gz volse-hubzilla-c334fc9d22c7f2633d9b7e8d9e0fae1f2bb40547.tar.bz2 volse-hubzilla-c334fc9d22c7f2633d9b7e8d9e0fae1f2bb40547.zip |
move wiki to addons
Diffstat (limited to 'Zotlabs/Widget/Wiki_list.php')
-rw-r--r-- | Zotlabs/Widget/Wiki_list.php | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/Zotlabs/Widget/Wiki_list.php b/Zotlabs/Widget/Wiki_list.php deleted file mode 100644 index 217ab8706..000000000 --- a/Zotlabs/Widget/Wiki_list.php +++ /dev/null @@ -1,28 +0,0 @@ -<?php - -/** - * * Name: Wiki list - * * Description: A list of existing wikis - */ - -namespace Zotlabs\Widget; - -class Wiki_list { - - function widget($arr) { - - $channel = channelx_by_n(\App::$profile_uid); - - $wikis = \Zotlabs\Lib\NativeWiki::listwikis($channel,get_observer_hash()); - - if($wikis) { - return replace_macros(get_markup_template('wikilist_widget.tpl'), array( - '$header' => t('Wikis'), - '$channel' => $channel['channel_address'], - '$wikis' => $wikis['wikis'] - )); - } - return ''; - } - -} |