aboutsummaryrefslogtreecommitdiffstats
path: root/include/widgets.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-09 00:41:49 -0800
committerfriendica <info@friendica.com>2013-12-09 00:41:49 -0800
commitd8c632ada202f4552e85796008837c293a323a31 (patch)
treed033b06db75383adf4b66b5e30c7cbe535972789 /include/widgets.php
parent00f4ee271789b61393edd384f12cda1c14af4b94 (diff)
downloadvolse-hubzilla-d8c632ada202f4552e85796008837c293a323a31.tar.gz
volse-hubzilla-d8c632ada202f4552e85796008837c293a323a31.tar.bz2
volse-hubzilla-d8c632ada202f4552e85796008837c293a323a31.zip
more comanchisation (I declare this to be a word)
Diffstat (limited to 'include/widgets.php')
-rw-r--r--include/widgets.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/widgets.php b/include/widgets.php
index 6e3452ac6..632f85436 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -1,5 +1,18 @@
<?php /** @file */
+function list_widgets() {
+ $widgets = array(
+ 'profile' => t('Displays a full channel profile'),
+ 'tagcloud' => t('Tag cloud of webpage categories'),
+ 'collections' => t('List and filter by collection'),
+ 'suggestions' => t('Show a couple of channel suggestion'),
+ 'follow' => t('Provide a channel follow form')
+ );
+ $arr = array('widgets' => $widgets);
+ call_hooks('list_widgets',$arr);
+ return $arr['widgets'];
+}
+
function widget_profile($args) {
$a = get_app();