aboutsummaryrefslogtreecommitdiff
path: root/views/json/site
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-01 18:17:57 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-01 18:17:57 +0000
commit5171ca1beda6a86f13dffe34d6526d82d7b3e061 (patch)
treee0d07685b1f2d78daa4b2124d6ea6f2ab5c99f74 /views/json/site
parent68fb99c50452ad6840ae524dd1ad714d0a26119d (diff)
downloadelgg-5171ca1beda6a86f13dffe34d6526d82d7b3e061.tar.gz
elgg-5171ca1beda6a86f13dffe34d6526d82d7b3e061.tar.bz2
PHP and JSON entity list views... which should work.
git-svn-id: https://code.elgg.org/elgg/trunk@1662 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/json/site')
-rw-r--r--views/json/site/default.php21
1 files changed, 21 insertions, 0 deletions
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 @@
+<?php
+
+ /**
+ * Elgg default layout
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Marcus Povey
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+ for ($i = 1; $i < 8; $i++) {
+
+ if (isset($vars["area{$i}"]))
+ echo $vars["area{$i}"];
+
+ }
+
+?> \ No newline at end of file