From d629314bf802040b85e9a5ffd5de2489ce3267cf Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 29 May 2008 16:12:32 +0000 Subject: Added FOAF git-svn-id: https://code.elgg.org/elgg/trunk@760 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/foaf/pageshells/pageshell.php | 36 ++++++++++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) (limited to 'views/foaf/pageshells') diff --git a/views/foaf/pageshells/pageshell.php b/views/foaf/pageshells/pageshell.php index f5c7a4ce0..a5f73db2d 100644 --- a/views/foaf/pageshells/pageshell.php +++ b/views/foaf/pageshells/pageshell.php @@ -12,5 +12,37 @@ */ header("Content-Type: text/xml"); - echo $vars['body']; -?> \ No newline at end of file + // echo $vars['body']; + + echo "\n"; + + if (!$owner = page_owner_entity()) { + if (!isloggedin()) { + exit; + } else { + $owner = $vars['user']; + } + } + +?> + + + username; ?> + name; ?> + + email); ?> + + + + \ No newline at end of file -- cgit v1.2.3