aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dirfind.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-10-11 19:27:58 -0700
committerFriendika <info@friendika.com>2011-10-11 19:27:58 -0700
commit2206d894b3fec7064b91e0420bcc2b16e9e7009b (patch)
treedff69c246dbba923a76e68404e2c012acbb29c07 /mod/dirfind.php
parent557a7d0cec31a36d12898429c479c71671833dfd (diff)
downloadvolse-hubzilla-2206d894b3fec7064b91e0420bcc2b16e9e7009b.tar.gz
volse-hubzilla-2206d894b3fec7064b91e0420bcc2b16e9e7009b.tar.bz2
volse-hubzilla-2206d894b3fec7064b91e0420bcc2b16e9e7009b.zip
add contact_widgets and provide widgets on appropriate pages, fix the saved search widget
fix directory page on testbubble, don't use system theme for community, directory, and search if the viewer is logged in.
Diffstat (limited to 'mod/dirfind.php')
-rw-r--r--mod/dirfind.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/mod/dirfind.php b/mod/dirfind.php
index 2d8479043..801018276 100644
--- a/mod/dirfind.php
+++ b/mod/dirfind.php
@@ -1,5 +1,18 @@
<?php
+function dirfind_init(&$a) {
+
+ require_once('include/contact_widgets.php');
+
+ if(! x($a->page,'aside'))
+ $a->page['aside'] = '';
+
+ $a->page['aside'] .= follow_widget();
+
+ $a->page['aside'] .= findpeople_widget();
+}
+
+
function dirfind_content(&$a) {