diff options
author | Friendika <info@friendika.com> | 2011-09-27 06:50:18 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-09-27 06:50:18 -0700 |
commit | 75af366122fa472c28a4105553646c53ec0a16e7 (patch) | |
tree | 27a69031074cfd460073c0ceec797b7cc07c3f5e /mod/xrd.php | |
parent | 59525e1e321d4cdac668bfc79dd5de0962ab5f56 (diff) | |
download | volse-hubzilla-75af366122fa472c28a4105553646c53ec0a16e7.tar.gz volse-hubzilla-75af366122fa472c28a4105553646c53ec0a16e7.tar.bz2 volse-hubzilla-75af366122fa472c28a4105553646c53ec0a16e7.zip |
zot/salmon new key format for batch keys
Diffstat (limited to 'mod/xrd.php')
-rw-r--r-- | mod/xrd.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/xrd.php b/mod/xrd.php index dae6e4828..a416a2cf3 100644 --- a/mod/xrd.php +++ b/mod/xrd.php @@ -41,6 +41,7 @@ function xrd_init(&$a) { $tpl = file_get_contents('view/xrd_person.tpl'); $o = replace_macros($tpl, array( + '$nick' => $r[0]['nickname'], '$accturi' => $uri, '$profile_url' => $a->get_baseurl() . '/profile/' . $r[0]['nickname'], '$hcard_url' => $a->get_baseurl() . '/hcard/' . $r[0]['nickname'], @@ -50,7 +51,8 @@ function xrd_init(&$a) { '$dspr' => $dspr, '$salmon' => $a->get_baseurl() . '/salmon/' . $r[0]['nickname'], '$salmen' => $a->get_baseurl() . '/salmon/' . $r[0]['nickname'] . '/mention', - '$modexp' => 'data:application/magic-public-key,' . $salmon_key + '$modexp' => 'data:application/magic-public-key,' . $salmon_key, + '$bigkey' => salmon_key($r[0]['pubkey']) )); |