aboutsummaryrefslogtreecommitdiff
path: root/views/foaf/user/default.php
blob: f063c1d9c5da2002aec22ee293925b01ac2ca0db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php

	/**
	 * Elgg default user view
	 * 
	 * @package Elgg
	 * @subpackage Core
	 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
	 * @author Curverider Ltd
	 * @copyright Curverider Ltd 2008
	 * @link http://elgg.org/
	 */

		$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>
        <rdfs:seeAlso rdf:resource="<?php echo $vars['url'] . "friends/" . $friend->username . "/?view=foaf" ?>" />
        <foaf:homepage rdf:resource="<?php echo $friend->getURL(); ?>"/>
      </foaf:Person>
    </foaf:knows>