aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-02-04 00:03:19 -0800
committerfriendica <info@friendica.com>2013-02-04 00:03:19 -0800
commit421921d4d0f0327b2d62d4e1a169771a3feb7db3 (patch)
treef84575ea48a7d7bec1a38bb798f5a4f120ae7260 /include/conversation.php
parent13ff4b9f0150ae9118368d00d3dcc458f32ba68e (diff)
downloadvolse-hubzilla-421921d4d0f0327b2d62d4e1a169771a3feb7db3.tar.gz
volse-hubzilla-421921d4d0f0327b2d62d4e1a169771a3feb7db3.tar.bz2
volse-hubzilla-421921d4d0f0327b2d62d4e1a169771a3feb7db3.zip
debugging mark all seen for various notification types
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php22
1 files changed, 13 insertions, 9 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 94865e783..179bc8e0f 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -588,15 +588,15 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional') {
'linktitle' => sprintf( t('View %s\'s profile @ %s'), $profile_name, $profile_url),
'profile_url' => $profile_link,
'item_photo_menu' => item_photo_menu($item),
- 'name' => template_escape($profile_name),
+ 'name' => $profile_name,
'sparkle' => $sparkle,
'lock' => $lock,
'thumb' => $profile_avatar,
- 'title' => template_escape($item['title']),
- 'body' => template_escape($body),
- 'tags' => template_escape($tags),
- 'hashtags' => template_escape($hashtags),
- 'mentions' => template_escape($mentions),
+ 'title' => $item['title'],
+ 'body' => $body,
+ 'tags' => $tags,
+ 'hashtags' => $hashtags,
+ 'mentions' => $mentions,
'txt_cats' => t('Categories:'),
'txt_folders' => t('Filed under:'),
'has_cats' => ((count($categories)) ? 'true' : ''),
@@ -604,14 +604,14 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional') {
'categories' => $categories,
'folders' => $folders,
- 'text' => strip_tags(template_escape($body)),
+ 'text' => strip_tags($body),
'ago' => relative_date($item['created']),
'app' => $item['app'],
'str_app' => sprintf( t(' from %s'), $item['app']),
'localtime' => datetime_convert('UTC', date_default_timezone_get(), $item['created'], 'c'),
- 'location' => template_escape($location),
+ 'location' => $location,
'indent' => '',
- 'owner_name' => template_escape($owner_name),
+ 'owner_name' => $owner_name,
'owner_url' => $owner_url,
'owner_photo' => $owner_photo,
'plink' => get_plink($item),
@@ -705,6 +705,10 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional') {
if($page_mode === 'preview')
logger('preview: ' . print_r($threads,true));
+
+// logger('nouveau: ' . print_r($threads,true));
+
+
$o = replace_macros($page_template, array(
'$baseurl' => $a->get_baseurl($ssl_state),
'$live_update' => $live_update_div,