aboutsummaryrefslogtreecommitdiffstats
path: root/mod/message.php
diff options
context:
space:
mode:
authorhabeascodice <habeascodice@federated.social>2014-10-07 16:13:22 -0700
committerhabeascodice <habeascodice@federated.social>2014-10-07 16:13:22 -0700
commitc01a9839577a5fc3a8965713e206616edc586c74 (patch)
treec9aa6cf42c2146bf5cee0a11a37ba6c93ef401d3 /mod/message.php
parent6b40c2cd090d1c406b3e1cd7ad135baff21bfd54 (diff)
parentd94f6f7c53fbb01a76a6d3beb14968d02ebb3afa (diff)
downloadvolse-hubzilla-c01a9839577a5fc3a8965713e206616edc586c74.tar.gz
volse-hubzilla-c01a9839577a5fc3a8965713e206616edc586c74.tar.bz2
volse-hubzilla-c01a9839577a5fc3a8965713e206616edc586c74.zip
Merge remote branch 'upstream/master'
Diffstat (limited to 'mod/message.php')
-rw-r--r--mod/message.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/mod/message.php b/mod/message.php
index c14bf2161..7f3b6180a 100644
--- a/mod/message.php
+++ b/mod/message.php
@@ -61,18 +61,18 @@ function message_content(&$a) {
foreach($r as $rr) {
$o .= replace_macros($tpl, array(
- '$id' => $rr['id'],
- '$from_name' => $rr['from']['xchan_name'],
- '$from_url' => chanlink_hash($rr['from_xchan']),
+ '$id' => $rr['id'],
+ '$from_name' => $rr['from']['xchan_name'],
+ '$from_url' => chanlink_hash($rr['from_xchan']),
'$from_photo' => $rr['from']['xchan_photo_s'],
- '$to_name' => $rr['to']['xchan_name'],
- '$to_url' => chanlink_hash($rr['to_xchan']),
- '$to_photo' => $rr['to']['xchan_photo_s'],
- '$subject' => (($rr['seen']) ? $rr['title'] : '<strong>' . $rr['title'] . '</strong>'),
- '$delete' => t('Delete message'),
- '$body' => smilies(bbcode($rr['body'])),
- '$date' => datetime_convert('UTC',date_default_timezone_get(),$rr['created'], t('D, d M Y - g:i A')),
- '$seen' => $rr['seen']
+ '$to_name' => $rr['to']['xchan_name'],
+ '$to_url' => chanlink_hash($rr['to_xchan']),
+ '$to_photo' => $rr['to']['xchan_photo_s'],
+ '$subject' => (($rr['seen']) ? $rr['title'] : '<strong>' . $rr['title'] . '</strong>'),
+ '$delete' => t('Delete conversation'),
+ '$body' => smilies(bbcode($rr['body'])),
+ '$date' => datetime_convert('UTC',date_default_timezone_get(),$rr['created'], t('D, d M Y - g:i A')),
+ '$seen' => $rr['seen']
));
}
$o .= alt_pager($a,count($r));