aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/views/default/object/page.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/pages/views/default/object/page.php')
-rw-r--r--mod/pages/views/default/object/page.php29
1 files changed, 12 insertions, 17 deletions
diff --git a/mod/pages/views/default/object/page.php b/mod/pages/views/default/object/page.php
index 843209609..5b4af5198 100644
--- a/mod/pages/views/default/object/page.php
+++ b/mod/pages/views/default/object/page.php
@@ -1,21 +1,16 @@
<?php
- /**
- * Elgg Pages
- *
- * @package ElggPages
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider Ltd
- * @copyright Curverider Ltd 2008-2010
- * @link http://elgg.com/
- */
+/**
+ * Page view
+ *
+ * @package ElggPages
+ */
- if ($vars['full']) {
- echo elgg_view("pages/pageprofile",$vars);
+if ($vars['full']) {
+ echo elgg_view("pages/pageprofile", $vars);
+} else {
+ if (get_input('search_viewtype') == "gallery") {
+ echo elgg_view('pages/pagegallery', $vars);
} else {
- if (get_input('search_viewtype') == "gallery") {
- echo elgg_view('pages/pagegallery',$vars);
- } else {
- echo elgg_view("pages/pagelisting",$vars);
- }
+ echo elgg_view("pages/pagelisting", $vars);
}
-?>
+} \ No newline at end of file