aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-02-04 17:46:04 -0800
committerfriendica <info@friendica.com>2013-02-04 17:46:04 -0800
commitda388f4bc5bd3a1aaea3c54b94fe1f8e4cf10561 (patch)
treefe259a2abd9d7e07ecdbc64af822e69f817de7f5 /include
parentff0a73bf40d0503eb5a4d48be60666b73c47d4f9 (diff)
downloadvolse-hubzilla-da388f4bc5bd3a1aaea3c54b94fe1f8e4cf10561.tar.gz
volse-hubzilla-da388f4bc5bd3a1aaea3c54b94fe1f8e4cf10561.tar.bz2
volse-hubzilla-da388f4bc5bd3a1aaea3c54b94fe1f8e4cf10561.zip
fix new/search mod on network page, fix the parent queries on network and channel pages - which you probably didn't even notice were all stuffed up because the endless scroll made things right.
Diffstat (limited to 'include')
-rw-r--r--include/conversation.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 179bc8e0f..03f53980d 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -583,6 +583,7 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional') {
//$tmp_item = replace_macros($tpl,array(
$tmp_item = array(
'template' => $tpl,
+ 'toplevel' => 'toplevel_item',
'tags' => $tags,
'id' => (($preview) ? 'P0' : $item['item_id']),
'linktitle' => sprintf( t('View %s\'s profile @ %s'), $profile_name, $profile_url),
@@ -632,8 +633,8 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional') {
$arr = array('item' => $item, 'output' => $tmp_item);
call_hooks('display_item', $arr);
- $threads[$threadsid]['id'] = $item['item_id'];
- $threads[$threadsid]['items'] = array($arr['output']);
+// $threads[$threadsid]['id'] = $item['item_id'];
+ $threads[] = $arr['output'];
}
@@ -705,6 +706,7 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional') {
if($page_mode === 'preview')
logger('preview: ' . print_r($threads,true));
+// logger('page_template: ' . $page_template);
// logger('nouveau: ' . print_r($threads,true));
@@ -720,8 +722,8 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional') {
'$dropping' => ($page_dropping?t('Delete Selected Items'):False),
));
- if($page_mode === 'preview')
- logger('preview: ' . $o);
+// if($page_mode === 'preview')
+// logger('preview: ' . $o);
return $o;