From aa312f72bf48f3ffeb62606541b39e5243ce819e Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 20 Dec 2013 12:43:04 -0800 Subject: comanchify mod_directory. Two modules remaining. Actually three because message needs to be split. --- mod/directory.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'mod/directory.php') diff --git a/mod/directory.php b/mod/directory.php index 92fb36ea7..c5495bc01 100644 --- a/mod/directory.php +++ b/mod/directory.php @@ -8,7 +8,7 @@ function directory_init(&$a) { $a->set_pager_itemspage(80); } - +/* function directory_aside(&$a) { if((get_config('system','block_public')) && (! local_user()) && (! remote_user())) { @@ -23,7 +23,7 @@ function directory_aside(&$a) { $a->set_widget('dir_sort_order',dir_sort_links()); } - +*/ function directory_content(&$a) { @@ -210,9 +210,11 @@ 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('dirtagblock',dir_tagblock(z_root() . '/directory',$j['keywords'])); } - $a->set_widget('suggest',widget_suggestions(array())); +// $a->set_widget('suggest',widget_suggestions(array())); // logger('mod_directory: entries: ' . print_r($entries,true), LOGGER_DATA); -- cgit v1.2.3