Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
This commit is contained in:
+10
-10
@@ -113,18 +113,18 @@ class Mail extends \Zotlabs\Web\Controller {
|
||||
|
||||
if($preview) {
|
||||
$mail = [
|
||||
'mailbox' => 'outbox',
|
||||
'id' => 0,
|
||||
'mid' => 'M0',
|
||||
'from_name' => $channel['xchan_name'],
|
||||
'from_url' => $channel['xchan_url'],
|
||||
'from_photo' => $channel['xchan_photo_s'],
|
||||
'subject' => zidify_links(smilies(bbcode($subject))),
|
||||
'body' => zidify_links(smilies(bbcode($body))),
|
||||
'mailbox' => 'outbox',
|
||||
'id' => 0,
|
||||
'mid' => 'M0',
|
||||
'from_name' => $channel['xchan_name'],
|
||||
'from_url' => $channel['xchan_url'],
|
||||
'from_photo' => $channel['xchan_photo_s'],
|
||||
'subject' => zidify_links(smilies(bbcode($subject))),
|
||||
'body' => zidify_links(smilies(bbcode($body))),
|
||||
'attachments' => '',
|
||||
'can_recall' => false,
|
||||
'can_recall' => false,
|
||||
'is_recalled' => '',
|
||||
'date' => datetime_convert('UTC',date_default_timezone_get(),$message['created'], 'c')
|
||||
'date' => datetime_convert('UTC',date_default_timezone_get(),$message['created'], 'c')
|
||||
];
|
||||
|
||||
echo replace_macros(get_markup_template('mail_conv.tpl'), [ '$mail' => $mail ] );
|
||||
|
||||
@@ -107,7 +107,7 @@ class Wfinger extends \Zotlabs\Web\Controller {
|
||||
[
|
||||
'rel' => 'http://schemas.google.com/g/2010#updates-from',
|
||||
'type' => 'application/atom+xml',
|
||||
'href' => z_root() . '/feed/' . $r[0]['channel_address'] . '?f=&compat=1'
|
||||
'href' => z_root() . '/feed/' . $r[0]['channel_address'] . '/?compat=1'
|
||||
],
|
||||
|
||||
[
|
||||
|
||||
@@ -57,7 +57,7 @@ class Xrd extends \Zotlabs\Web\Controller {
|
||||
'$aliases' => $aliases,
|
||||
'$profile_url' => z_root() . '/channel/' . $r[0]['channel_address'],
|
||||
'$hcard_url' => z_root() . '/hcard/' . $r[0]['channel_address'],
|
||||
'$atom' => z_root() . '/feed/' . $r[0]['channel_address'] . '?f=&compat=1',
|
||||
'$atom' => z_root() . '/feed/' . $r[0]['channel_address'] . '/?compat=1',
|
||||
'$zot_post' => z_root() . '/post/' . $r[0]['channel_address'],
|
||||
'$poco_url' => z_root() . '/poco/' . $r[0]['channel_address'],
|
||||
'$photo' => z_root() . '/photo/profile/l/' . $r[0]['channel_id'],
|
||||
|
||||
Reference in New Issue
Block a user