From 34c4775916f824755b4545f8d6f0ec2b8a653a88 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Wed, 28 Jun 2017 16:45:48 -0700 Subject: missing space in nav tpl --- Zotlabs/Module/Hcard.php | 2 ++ Zotlabs/Module/Xrd.php | 2 ++ view/tpl/nav.tpl | 2 +- view/tpl/xrd_person.tpl | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Zotlabs/Module/Hcard.php b/Zotlabs/Module/Hcard.php index 13097939e..912c84fd2 100644 --- a/Zotlabs/Module/Hcard.php +++ b/Zotlabs/Module/Hcard.php @@ -14,6 +14,8 @@ class Hcard extends \Zotlabs\Web\Controller { return; } + logger('hcard_request: ' . $which, LOGGER_DEBUG); + $profile = ''; $channel = \App::get_channel(); diff --git a/Zotlabs/Module/Xrd.php b/Zotlabs/Module/Xrd.php index 17c0faa78..9630e9ab4 100644 --- a/Zotlabs/Module/Xrd.php +++ b/Zotlabs/Module/Xrd.php @@ -9,6 +9,7 @@ class Xrd extends \Zotlabs\Web\Controller { function init() { $uri = urldecode(notags(trim($_GET['uri']))); + $subject = $uri; logger('xrd: ' . $uri,LOGGER_DEBUG); $resource = $uri; @@ -47,6 +48,7 @@ class Xrd extends \Zotlabs\Web\Controller { $o = replace_macros(get_markup_template('xrd_person.tpl'), array( '$nick' => $r[0]['channel_address'], '$accturi' => $resource, + '$subject' => $subject, '$aliases' => $aliases, '$profile_url' => z_root() . '/channel/' . $r[0]['channel_address'], '$hcard_url' => z_root() . '/hcard/' . $r[0]['channel_address'], diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl index 4719e1b17..e1ee07935 100755 --- a/view/tpl/nav.tpl +++ b/view/tpl/nav.tpl @@ -83,7 +83,7 @@ diff --git a/view/tpl/xrd_person.tpl b/view/tpl/xrd_person.tpl index 225892d70..52adb54e3 100755 --- a/view/tpl/xrd_person.tpl +++ b/view/tpl/xrd_person.tpl @@ -1,7 +1,7 @@ - {{$accturi}} + {{$subject}} {{if $aliases}}{{foreach $aliases as $a}} {{$a}} {{/foreach}}{{/if}} -- cgit v1.2.3