diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-05 22:46:28 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-05 22:46:28 +0000 |
commit | e5227e9221edbce84eee82af7f2c9903de702f37 (patch) | |
tree | 5e402b5508a8af64ff40761087926dd0f9443303 /views/foaf/page/shells | |
parent | 577eb6f725449fea5738ca122eedb5e4b2c8ff56 (diff) | |
download | elgg-e5227e9221edbce84eee82af7f2c9903de702f37.tar.gz elgg-e5227e9221edbce84eee82af7f2c9903de702f37.tar.bz2 |
Fixes #2559 refs #2475 added ElggEntity:getIconURL() and elgg_view_entity_icon()
git-svn-id: http://code.elgg.org/elgg/trunk@8039 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/foaf/page/shells')
-rw-r--r-- | views/foaf/page/shells/default.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/views/foaf/page/shells/default.php b/views/foaf/page/shells/default.php index 1cd0ed82e..d360f209b 100644 --- a/views/foaf/page/shells/default.php +++ b/views/foaf/page/shells/default.php @@ -1,10 +1,12 @@ <?php /** - * Elgg XML output pageshell + * FOAF pageshell * * @package Elgg * @subpackage Core * + * // @todo removed below because blog is a plugin + * <foaf:weblog rdf:resource="<?php echo elgg_get_site_url(); ?>pg/blog/<?php echo $owner->username; ?>" /> */ header("Content-Type: text/xml"); @@ -39,8 +41,7 @@ if (!$owner = elgg_get_page_owner_entity()) { <foaf:nick><?php echo $owner->username; ?></foaf:nick> <foaf:name><?php echo $owner->name; ?></foaf:name> <foaf:homepage rdf:resource="<?php echo $owner->getURL(); ?>" /> - <foaf:depiction rdf:resource="<?php echo elgg_format_url($owner->getIcon('large')); ?>" /> - <foaf:weblog rdf:resource="<?php echo elgg_get_site_url(); ?>pg/blog/<?php echo $owner->username; ?>" /> + <foaf:depiction rdf:resource="<?php echo elgg_format_url($owner->getIconURL('large')); ?>" /> <?php echo $vars['body']; ?> |