aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-10-29 13:17:46 -0400
committercash <cash.costello@gmail.com>2011-10-29 13:17:46 -0400
commit508000e9e3a49c0f659279ba916bde4a771ed777 (patch)
tree53cc904e58c2b7882f12611038a641e1a8a883e1
parent2649bcbfd4ab4f80ebfbfc28c6c476770aec09a1 (diff)
downloadelgg-508000e9e3a49c0f659279ba916bde4a771ed777.tar.gz
elgg-508000e9e3a49c0f659279ba916bde4a771ed777.tar.bz2
Refs #3201 updates the php view type
-rw-r--r--views/php/api/output.php3
-rw-r--r--views/php/group/default.php2
-rw-r--r--views/php/object/default.php2
-rw-r--r--views/php/page/default.php3
-rw-r--r--views/php/site/default.php8
-rw-r--r--views/php/user/default.php2
6 files changed, 7 insertions, 13 deletions
diff --git a/views/php/api/output.php b/views/php/api/output.php
index cc76b97e0..14259564c 100644
--- a/views/php/api/output.php
+++ b/views/php/api/output.php
@@ -1,11 +1,10 @@
<?php
/**
* Elgg PHP output
- * This outputs the api as PHP
+ * This outputs the api results as serialized PHP
*
* @package Elgg
* @subpackage Core
- *
*/
$result = $vars['result'];
diff --git a/views/php/group/default.php b/views/php/group/default.php
index eed1dbfbd..968d68bcd 100644
--- a/views/php/group/default.php
+++ b/views/php/group/default.php
@@ -1,6 +1,6 @@
<?php
/**
- * Elgg default layout
+ * PHP group view
*
* @package Elgg
* @subpackage Core
diff --git a/views/php/object/default.php b/views/php/object/default.php
index eed1dbfbd..8cf4eb8c6 100644
--- a/views/php/object/default.php
+++ b/views/php/object/default.php
@@ -1,6 +1,6 @@
<?php
/**
- * Elgg default layout
+ * PHP object view
*
* @package Elgg
* @subpackage Core
diff --git a/views/php/page/default.php b/views/php/page/default.php
index c7692c432..87211a462 100644
--- a/views/php/page/default.php
+++ b/views/php/page/default.php
@@ -1,10 +1,9 @@
<?php
/**
- * Elgg PHP output pageshell
+ * PHP output pageshell
*
* @package Elgg
* @subpackage Core
- *
*/
echo $vars['body']; \ No newline at end of file
diff --git a/views/php/site/default.php b/views/php/site/default.php
index 4b8d12e6d..102ac7ec7 100644
--- a/views/php/site/default.php
+++ b/views/php/site/default.php
@@ -1,13 +1,9 @@
<?php
/**
- * Elgg default layout
+ * PHP site view
*
* @package Elgg
* @subpackage Core
*/
-for ($i = 1; $i < 8; $i++) {
- if (isset($vars["area{$i}"])) {
- echo $vars["area{$i}"];
- }
-} \ No newline at end of file
+elgg_view('export/entity', $vars); \ No newline at end of file
diff --git a/views/php/user/default.php b/views/php/user/default.php
index eed1dbfbd..1bb0f8fa9 100644
--- a/views/php/user/default.php
+++ b/views/php/user/default.php
@@ -1,6 +1,6 @@
<?php
/**
- * Elgg default layout
+ * PHP user view
*
* @package Elgg
* @subpackage Core