aboutsummaryrefslogtreecommitdiffstats
path: root/mod/directory.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-14 17:03:37 -0800
committerfriendica <info@friendica.com>2013-12-14 17:03:37 -0800
commitd14e2db6b436b3190db0c506cf5f907bd1a7fcc9 (patch)
tree43e04315c97c47e0b75a1048e645e3e5968eeb4b /mod/directory.php
parentc00f0d4b282f2242b9c2e154a5381029cf0dc812 (diff)
downloadvolse-hubzilla-d14e2db6b436b3190db0c506cf5f907bd1a7fcc9.tar.gz
volse-hubzilla-d14e2db6b436b3190db0c506cf5f907bd1a7fcc9.tar.bz2
volse-hubzilla-d14e2db6b436b3190db0c506cf5f907bd1a7fcc9.zip
make home.html fullpage mode - make directory search work for non-logged in, but leave off suggest and invite
Diffstat (limited to 'mod/directory.php')
-rw-r--r--mod/directory.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/mod/directory.php b/mod/directory.php
index 616035339..92fb36ea7 100644
--- a/mod/directory.php
+++ b/mod/directory.php
@@ -11,15 +11,13 @@ function directory_init(&$a) {
function directory_aside(&$a) {
- if(local_user()) {
- require_once('include/contact_widgets.php');
- $a->set_widget('find_people',findpeople_widget());
- }
-
if((get_config('system','block_public')) && (! local_user()) && (! remote_user())) {
return;
}
-
+
+ require_once('include/contact_widgets.php');
+ $a->set_widget('find_people',findpeople_widget());
+
$a->set_widget('safe_search',dir_safe_mode());
$a->set_widget('dir_sort_order',dir_sort_links());