aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/views/default/object/page_top.php
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-10-25 19:18:09 -0400
committercash <cash.costello@gmail.com>2011-10-25 19:18:09 -0400
commit08910caa0a8750a449db6910bb28d0d1e758c615 (patch)
treeabfb6e85ec8487c246e9f4c5d6e3f6327ccbfa39 /mod/pages/views/default/object/page_top.php
parent65bd37c1f0e3e3adb04bd48dad6183bcd3c7e26c (diff)
downloadelgg-08910caa0a8750a449db6910bb28d0d1e758c615.tar.gz
elgg-08910caa0a8750a449db6910bb28d0d1e758c615.tar.bz2
added new view for the full display of objects
Diffstat (limited to 'mod/pages/views/default/object/page_top.php')
-rw-r--r--mod/pages/views/default/object/page_top.php15
1 files changed, 8 insertions, 7 deletions
diff --git a/mod/pages/views/default/object/page_top.php b/mod/pages/views/default/object/page_top.php
index 08cdd6e2d..0a1c33458 100644
--- a/mod/pages/views/default/object/page_top.php
+++ b/mod/pages/views/default/object/page_top.php
@@ -86,14 +86,15 @@ if ($full) {
'tags' => $tags,
);
$params = $params + $vars;
- $list_body = elgg_view('object/elements/summary', $params);
-
- $info = elgg_view_image_block($page_icon, $list_body);
+ $summary = elgg_view('object/elements/summary', $params);
- echo <<<HTML
-$info
-$body
-HTML;
+ echo elgg_view('object/elements/full', array(
+ 'entity' => $page,
+ 'title' => false,
+ 'icon' => $page_icon,
+ 'summary' => $summary,
+ 'body' => $body,
+ ));
} else {
// brief view