diff options
author | friendica <info@friendica.com> | 2012-11-13 16:04:22 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-11-13 16:04:22 -0800 |
commit | 4af6d77de3e282002682c28b2709b217b4ae9306 (patch) | |
tree | b9eb0f4049b65cceab22b0e88de381bbd01af432 /include/conversation.php | |
parent | 15c8da101aa8bf0b2362a27279861c58b14596b5 (diff) | |
download | volse-hubzilla-4af6d77de3e282002682c28b2709b217b4ae9306.tar.gz volse-hubzilla-4af6d77de3e282002682c28b2709b217b4ae9306.tar.bz2 volse-hubzilla-4af6d77de3e282002682c28b2709b217b4ae9306.zip |
a bit more progress on the new network/home ajax notifications, at least I've now got a plan
Diffstat (limited to 'include/conversation.php')
-rw-r--r-- | include/conversation.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/conversation.php b/include/conversation.php index be6b3f3ef..74160c309 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -82,7 +82,8 @@ function item_redir_and_replace_images($body, $images, $cid) { /** * Render actions localized */ -function localize_item(&$item){ + +function localize_item(&$item,$brief = false){ $extracted = item_extract_images($item['body']); if($extracted['images']) @@ -123,7 +124,10 @@ function localize_item(&$item){ break; case ACTIVITY_OBJ_NOTE: default: - $post_type = t('status'); + if(! ($item_flags & ITEM_THREAD_TOP)) + $post_type = t('comment'); + else + $post_type = t('status'); break; } |