aboutsummaryrefslogtreecommitdiff
path: root/views/json
diff options
context:
space:
mode:
Diffstat (limited to 'views/json')
-rw-r--r--views/json/canvas/default.php7
-rw-r--r--views/json/page_shells/default.php (renamed from views/json/pageshells/pageshell.php)0
2 files changed, 5 insertions, 2 deletions
diff --git a/views/json/canvas/default.php b/views/json/canvas/default.php
index a7df72778..b5ea51aa7 100644
--- a/views/json/canvas/default.php
+++ b/views/json/canvas/default.php
@@ -9,5 +9,8 @@
* @link http://elgg.org/
*/
-
-global $jsonexport; \ No newline at end of file
+for ($i = 1; $i < 8; $i++) {
+ if (isset($vars["area{$i}"])) {
+ echo $vars["area{$i}"];
+ }
+}
diff --git a/views/json/pageshells/pageshell.php b/views/json/page_shells/default.php
index 16cfa3cdd..16cfa3cdd 100644
--- a/views/json/pageshells/pageshell.php
+++ b/views/json/page_shells/default.php