From 813c841b2376b8c17641331407ddfed819fbfa79 Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 1 Aug 2008 18:35:37 +0000 Subject: Fixed FOAF view git-svn-id: https://code.elgg.org/elgg/trunk@1664 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/foaf/canvas/default.php | 21 ++++++++++++++++++++ views/foaf/friends/list.php | 40 --------------------------------------- views/foaf/search/entity_list.php | 9 +++++++++ views/foaf/user/default.php | 25 ++++++++++++++++++++++++ 4 files changed, 55 insertions(+), 40 deletions(-) create mode 100644 views/foaf/canvas/default.php delete mode 100644 views/foaf/friends/list.php create mode 100644 views/foaf/search/entity_list.php create mode 100644 views/foaf/user/default.php (limited to 'views/foaf') diff --git a/views/foaf/canvas/default.php b/views/foaf/canvas/default.php new file mode 100644 index 000000000..2d2707918 --- /dev/null +++ b/views/foaf/canvas/default.php @@ -0,0 +1,21 @@ + \ No newline at end of file diff --git a/views/foaf/friends/list.php b/views/foaf/friends/list.php deleted file mode 100644 index a76a4d508..000000000 --- a/views/foaf/friends/list.php +++ /dev/null @@ -1,40 +0,0 @@ - 0) { - - foreach($vars['friends'] as $friend) { - -?> - - - - - username; ?> - name; ?> - username . "/?view=foaf" ?>" /> - - - - - - \ No newline at end of file diff --git a/views/foaf/search/entity_list.php b/views/foaf/search/entity_list.php new file mode 100644 index 000000000..8864b62da --- /dev/null +++ b/views/foaf/search/entity_list.php @@ -0,0 +1,9 @@ + 0) { + foreach($entities as $entity) + echo elgg_view_entity($entity); + } + +?> \ No newline at end of file diff --git a/views/foaf/user/default.php b/views/foaf/user/default.php new file mode 100644 index 000000000..f063c1d9c --- /dev/null +++ b/views/foaf/user/default.php @@ -0,0 +1,25 @@ + + + + + username; ?> + name; ?> + username . "/?view=foaf" ?>" /> + + + -- cgit v1.2.3