aboutsummaryrefslogtreecommitdiff
path: root/views/foaf
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-26 19:04:06 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-26 19:04:06 +0000
commit0fb8db1b7350b37ac50a40b93a4c2e573c4eca6f (patch)
tree8600eaa7bf157f1e9c62c36fcf570671107ac4bb /views/foaf
parent72ba5087f0144bec86adc9094780bfe8decfd6b0 (diff)
downloadelgg-0fb8db1b7350b37ac50a40b93a4c2e573c4eca6f.tar.gz
elgg-0fb8db1b7350b37ac50a40b93a4c2e573c4eca6f.tar.bz2
Foaf ident on mailbox for friends
git-svn-id: https://code.elgg.org/elgg/trunk@2492 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/foaf')
-rw-r--r--views/foaf/user/default.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/foaf/user/default.php b/views/foaf/user/default.php
index f063c1d9c..a586cbdf4 100644
--- a/views/foaf/user/default.php
+++ b/views/foaf/user/default.php
@@ -18,7 +18,8 @@
<foaf:knows>
<foaf:Person>
<foaf:nick><?php echo $friend->username; ?></foaf:nick>
- <foaf:member_name><?php echo $friend->name; ?></foaf:member_name>
+ <foaf:member_name><?php echo $friend->name; ?></foaf:member_name>
+ <foaf:mbox_sha1sum><?php echo sha1("mailto:" . $friend->email); ?></foaf:mbox_sha1sum>
<rdfs:seeAlso rdf:resource="<?php echo $vars['url'] . "friends/" . $friend->username . "/?view=foaf" ?>" />
<foaf:homepage rdf:resource="<?php echo $friend->getURL(); ?>"/>
</foaf:Person>