Threaded items in every page concerned. Some code cleanup.
This commit is contained in:
parent
cc6e6e53be
commit
ea7db7b7a8
6 changed files with 18 additions and 386 deletions
|
@ -115,7 +115,7 @@ function display_content(&$a) {
|
|||
|
||||
$items = conv_sort($r,"`commented`");
|
||||
|
||||
$o .= conversation($a,$items,'display', false, false, true);
|
||||
$o .= conversation($a,$items,'display', false);
|
||||
|
||||
}
|
||||
else {
|
||||
|
|
|
@ -601,7 +601,7 @@ function item_post(&$a) {
|
|||
|
||||
if($preview) {
|
||||
require_once('include/conversation.php');
|
||||
$o = conversation($a,array(array_merge($contact_record,$datarray)),'search',false,true);
|
||||
$o = conversation($a,array(array_merge($contact_record,$datarray)),'search');
|
||||
logger('preview: ' . $o);
|
||||
echo json_encode(array('preview' => $o));
|
||||
killme();
|
||||
|
|
|
@ -687,7 +687,7 @@ function network_content(&$a, $update = 0) {
|
|||
|
||||
$mode = (($nouveau) ? 'network-new' : 'network');
|
||||
|
||||
$o .= conversation($a,$items,$mode,$update, false, true);
|
||||
$o .= conversation($a,$items,$mode,$update);
|
||||
|
||||
if(! $update) {
|
||||
if(! get_pconfig(local_user(),'system','alt_pager')) {
|
||||
|
|
|
@ -133,7 +133,7 @@ function notes_content(&$a,$update = false) {
|
|||
if(count($r)) {
|
||||
$items = conv_sort($r,"`commented`");
|
||||
|
||||
$o .= conversation($a,$items,'notes',$update, false, true);
|
||||
$o .= conversation($a,$items,'notes',$update);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -310,7 +310,7 @@ function profile_content(&$a, $update = 0) {
|
|||
);
|
||||
}
|
||||
|
||||
$o .= conversation($a,$items,'profile',$update, false, true);
|
||||
$o .= conversation($a,$items,'profile',$update);
|
||||
|
||||
if(! $update) {
|
||||
if(! get_pconfig($a->profile['profile_uid'],'system','alt_pager')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue