aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-19 02:25:44 -0800
committerfriendica <info@friendica.com>2013-12-19 02:25:44 -0800
commitb28a37c38e3fc68b1d0a59e4f5e6054ce13cb680 (patch)
tree03ba282b64ce7acaaa090dcc0b76ce2e2c3a55af
parent125543adedfe00b3d5cea8548d1a66096a173a6b (diff)
downloadvolse-hubzilla-b28a37c38e3fc68b1d0a59e4f5e6054ce13cb680.tar.gz
volse-hubzilla-b28a37c38e3fc68b1d0a59e4f5e6054ce13cb680.tar.bz2
volse-hubzilla-b28a37c38e3fc68b1d0a59e4f5e6054ce13cb680.zip
more comanche
-rw-r--r--include/widgets.php4
-rw-r--r--mod/suggest.php7
-rw-r--r--view/pdl/mod_suggest.pdl4
3 files changed, 8 insertions, 7 deletions
diff --git a/include/widgets.php b/include/widgets.php
index ed155be9b..5418d6d8e 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -510,4 +510,8 @@ function widget_design_tools($arr) {
return '';
return design_tools();
+}
+
+function widget_findpeople($arr) {
+ return findpeople_widget();
} \ No newline at end of file
diff --git a/mod/suggest.php b/mod/suggest.php
index baccbd38f..8a6b50b22 100644
--- a/mod/suggest.php
+++ b/mod/suggest.php
@@ -19,13 +19,6 @@ function suggest_init(&$a) {
}
-function suggest_aside(&$a) {
-
- $a->set_widget('follow', widget_follow(array()));
- $a->set_widget('findpeople', findpeople_widget());
-}
-
-
function suggest_content(&$a) {
$o = '';
diff --git a/view/pdl/mod_suggest.pdl b/view/pdl/mod_suggest.pdl
new file mode 100644
index 000000000..c2889f2fe
--- /dev/null
+++ b/view/pdl/mod_suggest.pdl
@@ -0,0 +1,4 @@
+[region=aside]
+[widget=follow][/widget]
+[widget=findpeople][/widget]
+[/region] \ No newline at end of file