diff options
Diffstat (limited to 'mod/xrd.php')
-rw-r--r-- | mod/xrd.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mod/xrd.php b/mod/xrd.php index a373f8bf5..da4ab51a4 100644 --- a/mod/xrd.php +++ b/mod/xrd.php @@ -35,8 +35,6 @@ function xrd_init(&$a) { header("Content-type: application/xrd+xml"); - $tpl = get_markup_template('view/xrd_person.tpl'); - $o = replace_macros(get_markup_template('xrd_person.tpl'), array( '$nick' => $r[0]['channel_address'], '$accturi' => $uri, @@ -50,7 +48,8 @@ function xrd_init(&$a) { // '$salmon' => $a->get_baseurl() . '/salmon/' . $r[0]['channel_address'], // '$salmen' => $a->get_baseurl() . '/salmon/' . $r[0]['channel_address'] . '/mention', '$modexp' => 'data:application/magic-public-key,' . $salmon_key, -// '$bigkey' => salmon_key($r[0]['pubkey']) + '$subscribe' => $a->get_baseurl() . '/follow?url={uri}', + '$bigkey' => salmon_key($r[0]['channel_pubkey']) )); |