From: nickw Date: Tue, 18 May 2010 15:34:23 +0000 (+0000) Subject: Updating the core JSON views to allow for proper object export. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=97d7421baea83266f611bcc3534840dd146cdec1;p=lorea%2Felgg.git Updating the core JSON views to allow for proper object export. git-svn-id: http://code.elgg.org/elgg/trunk@6086 36083f99-b078-4883-b0ff-0f9b5a30f544 --- 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 similarity index 100% rename from views/json/pageshells/pageshell.php rename to views/json/page_shells/default.php