]> git.mxchange.org Git - friendica.git/commitdiff
conversation: add 'thread_level' to $item array
authorFabrixxm <fabrix.xm@gmail.com>
Fri, 10 Aug 2012 09:42:36 +0000 (05:42 -0400)
committerFabrixxm <fabrix.xm@gmail.com>
Fri, 10 Aug 2012 09:42:36 +0000 (05:42 -0400)
include/conversation.php

index 3c4ff29082ce22feba9ee96203429f56a5160ca7..68aa1fa33c3c8399f4df2b4783976ead38344b73 100644 (file)
@@ -588,6 +588,7 @@ function prepare_threads_body($a, $items, $cmnt_tpl, $page_writeable, $mode, $pr
                        'comment' => $comment,
                        'previewing' => $previewing,
                        'wait' => t('Please wait'),
+                       'thread_level' => $thread_level,
                );
 
                $arr = array('item' => $item, 'output' => $tmp_item);
@@ -818,6 +819,7 @@ function conversation(&$a, $items, $mode, $update, $preview = false) {
                                        'conv' => (($preview) ? '' : array('href'=> $a->get_baseurl($ssl_state) . '/display/' . $nickname . '/' . $item['id'], 'title'=> t('View in context'))),
                                        'previewing' => $previewing,
                                        'wait' => t('Please wait'),
+                                       'thread_level' => 1,
                                );
 
                                $arr = array('item' => $item, 'output' => $tmp_item);