aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-20 12:43:04 -0800
committerfriendica <info@friendica.com>2013-12-20 12:43:04 -0800
commitaa312f72bf48f3ffeb62606541b39e5243ce819e (patch)
tree1b50e1b918475d0193c9f0c460d3b09402f90fa7 /mod
parenta084a3fa47879f00a535501f14f32c3ff55f7d29 (diff)
downloadvolse-hubzilla-aa312f72bf48f3ffeb62606541b39e5243ce819e.tar.gz
volse-hubzilla-aa312f72bf48f3ffeb62606541b39e5243ce819e.tar.bz2
volse-hubzilla-aa312f72bf48f3ffeb62606541b39e5243ce819e.zip
comanchify mod_directory. Two modules remaining. Actually three because message needs to be split.
Diffstat (limited to 'mod')
-rw-r--r--mod/directory.php10
1 files changed, 6 insertions, 4 deletions
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);