diff options
author | Thomas Willingham <founder@kakste.com> | 2013-12-22 20:45:31 +0000 |
---|---|---|
committer | Thomas Willingham <founder@kakste.com> | 2013-12-22 20:45:31 +0000 |
commit | 3502a2e86b1d4924fea3b0eac6c3ce499eea2f16 (patch) | |
tree | 823970af414e5c17ca660fc9cb8d5e6fefa8356d /mod/directory.php | |
parent | 7ac00d02d110ec2f2d33779d8316e17c13cda149 (diff) | |
parent | 7e7b5bfa4930493a8feae10b0550e29797956c70 (diff) | |
download | volse-hubzilla-3502a2e86b1d4924fea3b0eac6c3ce499eea2f16.tar.gz volse-hubzilla-3502a2e86b1d4924fea3b0eac6c3ce499eea2f16.tar.bz2 volse-hubzilla-3502a2e86b1d4924fea3b0eac6c3ce499eea2f16.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'mod/directory.php')
-rw-r--r-- | mod/directory.php | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/mod/directory.php b/mod/directory.php index 92fb36ea7..9e4c37fae 100644 --- a/mod/directory.php +++ b/mod/directory.php @@ -9,22 +9,6 @@ function directory_init(&$a) { } -function directory_aside(&$a) { - - 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()); - -} - - function directory_content(&$a) { if((get_config('system','block_public')) && (! local_user()) && (! remote_user())) { @@ -210,10 +194,8 @@ function directory_content(&$a) { } if($j['keywords']) { - $a->set_widget('dirtagblock',dir_tagblock(z_root() . '/directory',$j['keywords'])); + $a->data['directory_keywords'] = $j['keywords']; } - $a->set_widget('suggest',widget_suggestions(array())); - // logger('mod_directory: entries: ' . print_r($entries,true), LOGGER_DATA); |