diff options
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 ''; - } - -} |