aboutsummaryrefslogtreecommitdiff
path: root/views/foaf/user/default.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/foaf/user/default.php')
-rw-r--r--views/foaf/user/default.php39
1 files changed, 18 insertions, 21 deletions
diff --git a/views/foaf/user/default.php b/views/foaf/user/default.php
index 01b9298e3..86ed8619f 100644
--- a/views/foaf/user/default.php
+++ b/views/foaf/user/default.php
@@ -1,26 +1,23 @@
<?php
+/**
+ * Elgg default user view
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @author Curverider Ltd
+ * @link http://elgg.org/
+ */
- /**
- * Elgg default user view
- *
- * @package Elgg
- * @subpackage Core
-
- * @author Curverider Ltd
-
- * @link http://elgg.org/
- */
-
- $friend = $vars['entity'];
+$friend = $vars['entity'];
?>
- <foaf:knows>
- <foaf:Person>
- <foaf:nick><?php echo $friend->username; ?></foaf:nick>
- <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'] . "pg/friends/" . $friend->username . "/?view=foaf" ?>" />
- <foaf:homepage rdf:resource="<?php echo $friend->getURL(); ?>?view=foaf"/>
- </foaf:Person>
- </foaf:knows>
+<foaf:knows>
+<foaf:Person>
+ <foaf:nick><?php echo $friend->username; ?></foaf:nick>
+ <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'] . "pg/friends/" . $friend->username . "/?view=foaf" ?>" />
+ <foaf:homepage rdf:resource="<?php echo $friend->getURL(); ?>?view=foaf"/>
+</foaf:Person>
+</foaf:knows>