From 5171ca1beda6a86f13dffe34d6526d82d7b3e061 Mon Sep 17 00:00:00 2001 From: marcus Date: Fri, 1 Aug 2008 18:17:57 +0000 Subject: PHP and JSON entity list views... which should work. git-svn-id: https://code.elgg.org/elgg/trunk@1662 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/json/canvas/default.php | 21 +++++++++++++++++++++ views/json/group/default.php | 21 +++++++++++++++++++++ views/json/object/default.php | 16 ++++++++++++++++ views/json/search/entity_list.php | 20 ++++++++++++++++++++ views/json/site/default.php | 21 +++++++++++++++++++++ views/json/user/default.php | 21 +++++++++++++++++++++ views/php/canvas/default.php | 21 +++++++++++++++++++++ views/php/group/default.php | 16 ++++++++++++++++ views/php/object/default.php | 16 ++++++++++++++++ views/php/search/entity_list.php | 20 ++++++++++++++++++++ views/php/site/default.php | 21 +++++++++++++++++++++ views/php/user/default.php | 16 ++++++++++++++++ 12 files changed, 230 insertions(+) create mode 100644 views/json/canvas/default.php create mode 100644 views/json/group/default.php create mode 100644 views/json/object/default.php create mode 100644 views/json/search/entity_list.php create mode 100644 views/json/site/default.php create mode 100644 views/json/user/default.php create mode 100644 views/php/canvas/default.php create mode 100644 views/php/group/default.php create mode 100644 views/php/object/default.php create mode 100644 views/php/search/entity_list.php create mode 100644 views/php/site/default.php create mode 100644 views/php/user/default.php diff --git a/views/json/canvas/default.php b/views/json/canvas/default.php new file mode 100644 index 000000000..f1fbe6c96 --- /dev/null +++ b/views/json/canvas/default.php @@ -0,0 +1,21 @@ + \ No newline at end of file diff --git a/views/json/group/default.php b/views/json/group/default.php new file mode 100644 index 000000000..f1fbe6c96 --- /dev/null +++ b/views/json/group/default.php @@ -0,0 +1,21 @@ + \ No newline at end of file diff --git a/views/json/object/default.php b/views/json/object/default.php new file mode 100644 index 000000000..8d61afa37 --- /dev/null +++ b/views/json/object/default.php @@ -0,0 +1,16 @@ + \ No newline at end of file diff --git a/views/json/search/entity_list.php b/views/json/search/entity_list.php new file mode 100644 index 000000000..3ad18d371 --- /dev/null +++ b/views/json/search/entity_list.php @@ -0,0 +1,20 @@ + 0) { + foreach($entities as $entity) + echo elgg_view_entity($entity); + } + +?> \ No newline at end of file diff --git a/views/json/site/default.php b/views/json/site/default.php new file mode 100644 index 000000000..f1fbe6c96 --- /dev/null +++ b/views/json/site/default.php @@ -0,0 +1,21 @@ + \ No newline at end of file diff --git a/views/json/user/default.php b/views/json/user/default.php new file mode 100644 index 000000000..f1fbe6c96 --- /dev/null +++ b/views/json/user/default.php @@ -0,0 +1,21 @@ + \ No newline at end of file diff --git a/views/php/canvas/default.php b/views/php/canvas/default.php new file mode 100644 index 000000000..f1fbe6c96 --- /dev/null +++ b/views/php/canvas/default.php @@ -0,0 +1,21 @@ + \ No newline at end of file diff --git a/views/php/group/default.php b/views/php/group/default.php new file mode 100644 index 000000000..8d61afa37 --- /dev/null +++ b/views/php/group/default.php @@ -0,0 +1,16 @@ + \ No newline at end of file diff --git a/views/php/object/default.php b/views/php/object/default.php new file mode 100644 index 000000000..8d61afa37 --- /dev/null +++ b/views/php/object/default.php @@ -0,0 +1,16 @@ + \ No newline at end of file diff --git a/views/php/search/entity_list.php b/views/php/search/entity_list.php new file mode 100644 index 000000000..3ad18d371 --- /dev/null +++ b/views/php/search/entity_list.php @@ -0,0 +1,20 @@ + 0) { + foreach($entities as $entity) + echo elgg_view_entity($entity); + } + +?> \ No newline at end of file diff --git a/views/php/site/default.php b/views/php/site/default.php new file mode 100644 index 000000000..f1fbe6c96 --- /dev/null +++ b/views/php/site/default.php @@ -0,0 +1,21 @@ + \ No newline at end of file diff --git a/views/php/user/default.php b/views/php/user/default.php new file mode 100644 index 000000000..8d61afa37 --- /dev/null +++ b/views/php/user/default.php @@ -0,0 +1,16 @@ + \ No newline at end of file -- cgit v1.2.3