]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Updating the core JSON views to allow for proper object export.
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 18 May 2010 15:34:23 +0000 (15:34 +0000)
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 18 May 2010 15:34:23 +0000 (15:34 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@6086 36083f99-b078-4883-b0ff-0f9b5a30f544

views/json/canvas/default.php
views/json/page_shells/default.php [moved from views/json/pageshells/pageshell.php with 100% similarity]

index a7df72778c33216bc72b08d3905375e439314636..b5ea51aa7b09c41296b2b724dbcb38edc1ade5aa 100644 (file)
@@ -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}"];
+       }
+}