aboutsummaryrefslogtreecommitdiffstats
path: root/include/widgets.php
diff options
context:
space:
mode:
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();