aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-09-16 22:40:53 -0700
committerfriendica <info@friendica.com>2013-09-16 22:40:53 -0700
commitc6d6c01fb619b37fa47f19966421a6636155180c (patch)
tree9148ec533df02513857832bf15cc595b8fdfb717 /include/conversation.php
parent1c5d56eedcee971bc52b06b4aae3def672c32e04 (diff)
downloadvolse-hubzilla-c6d6c01fb619b37fa47f19966421a6636155180c.tar.gz
volse-hubzilla-c6d6c01fb619b37fa47f19966421a6636155180c.tar.bz2
volse-hubzilla-c6d6c01fb619b37fa47f19966421a6636155180c.zip
use prepare_body in api calls to properly render content, add 'mode' to conversation templates so that themes can use the module context to suppress or show comments as desired
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/conversation.php b/include/conversation.php
index e7c7831c0..c3f29295e 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -651,6 +651,7 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional') {
$tmp_item = array(
'template' => $tpl,
'toplevel' => 'toplevel_item',
+ 'mode' => $mode,
'id' => (($preview) ? 'P0' : $item['item_id']),
'linktitle' => sprintf( t('View %s\'s profile @ %s'), $profile_name, $profile_url),
'profile_url' => $profile_link,