diff options
-rw-r--r-- | Zotlabs/Module/Hcard.php | 2 | ||||
-rw-r--r-- | Zotlabs/Module/Xrd.php | 2 | ||||
-rwxr-xr-x | view/tpl/nav.tpl | 2 | ||||
-rwxr-xr-x | 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 @@ </a> <div id="nav-network-menu" class="dropdown-menu" rel="network"> <a class="dropdown-item" id="nav-network-see-all" href="{{$nav.network.all.0}}">{{$nav.network.all.1}}</a> - <a class="dropdown-item" id="nav-network-mark-all"href="#" onclick="markRead('network'); return false;">{{$nav.network.mark.1}}</a> + <a class="dropdown-item" id="nav-network-mark-all" href="#" onclick="markRead('network'); return false;">{{$nav.network.mark.1}}</a> {{$emptynotifications}} </div> </li> 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 @@ <?xml version="1.0" encoding="UTF-8"?> <XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0"> - <Subject>{{$accturi}}</Subject> + <Subject>{{$subject}}</Subject> {{if $aliases}}{{foreach $aliases as $a}} <Alias>{{$a}}</Alias> {{/foreach}}{{/if}} |