aboutsummaryrefslogtreecommitdiffstats
path: root/include/widgets.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-08 16:04:28 -0800
committerfriendica <info@friendica.com>2013-12-08 16:04:28 -0800
commitd32e05fb5e30dc634754e9d2e55cc7702a883ede (patch)
tree58c649e8e404856f4e9a560a583ae24c43927849 /include/widgets.php
parent7c6c036f8a9933f2d9833e30148bee1554d0c87d (diff)
downloadvolse-hubzilla-d32e05fb5e30dc634754e9d2e55cc7702a883ede.tar.gz
volse-hubzilla-d32e05fb5e30dc634754e9d2e55cc7702a883ede.tar.bz2
volse-hubzilla-d32e05fb5e30dc634754e9d2e55cc7702a883ede.zip
starting on the journey to comanche everywhere - beginning with widget conversions. There are approximately 20 which need to be wrapped for accessibility to comanche.
Diffstat (limited to 'include/widgets.php')
-rw-r--r--include/widgets.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/widgets.php b/include/widgets.php
index 87941f40f..5be77498c 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -32,3 +32,11 @@ function widget_tagcloud($args) {
return $o;
}
+function widget_collections($args) {
+ require_once('include/group.php');
+ $page = argv(0);
+ $gid = $_REQUEST['gid'];
+
+ return group_side($page,$page,true,$_REQUEST['gid'],'',0);
+
+} \ No newline at end of file