aboutsummaryrefslogtreecommitdiff
path: root/views/foaf
diff options
context:
space:
mode:
Diffstat (limited to 'views/foaf')
-rw-r--r--views/foaf/page_shells/default.php2
-rw-r--r--views/foaf/user/default.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/views/foaf/page_shells/default.php b/views/foaf/page_shells/default.php
index bf8d0b564..7bd69b875 100644
--- a/views/foaf/page_shells/default.php
+++ b/views/foaf/page_shells/default.php
@@ -40,7 +40,7 @@ if (!$owner = elgg_get_page_owner()) {
<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 $vars['url']; ?>pg/blog/<?php echo $owner->username; ?>" />
+ <foaf:weblog rdf:resource="<?php echo elgg_get_site_url(); ?>pg/blog/<?php echo $owner->username; ?>" />
<?php
echo $vars['body'];
?>
diff --git a/views/foaf/user/default.php b/views/foaf/user/default.php
index b2da08f29..3be763a73 100644
--- a/views/foaf/user/default.php
+++ b/views/foaf/user/default.php
@@ -15,7 +15,7 @@ foreach ($friends as $friend) {
<foaf:Person>
<foaf:nick><?php echo $friend->username; ?></foaf:nick>
<foaf:name><?php echo $friend->name; ?></foaf:name>
- <rdfs:seeAlso rdf:resource="<?php echo $vars['url'] . "pg/profile/" . $friend->username . "?view=foaf" ?>" />
+ <rdfs:seeAlso rdf:resource="<?php echo elgg_get_site_url() . "pg/profile/" . $friend->username . "?view=foaf" ?>" />
</foaf:Person>
</foaf:knows>