aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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