aboutsummaryrefslogtreecommitdiff
path: root/mod/pages
diff options
context:
space:
mode:
Diffstat (limited to 'mod/pages')
-rw-r--r--mod/pages/pages/pages/revision.php2
-rw-r--r--mod/pages/views/default/object/page_top.php8
2 files changed, 5 insertions, 5 deletions
diff --git a/mod/pages/pages/pages/revision.php b/mod/pages/pages/pages/revision.php
index 968c64b58..f542f5201 100644
--- a/mod/pages/pages/pages/revision.php
+++ b/mod/pages/pages/pages/revision.php
@@ -38,7 +38,7 @@ elgg_push_breadcrumb(elgg_echo('pages:revision'));
$content = elgg_view('object/page_top', array(
'entity' => $page,
'revision' => $annotation,
- 'full' => true,
+ 'full_view' => true,
));
$sidebar = elgg_view('pages/sidebar/history', array('page' => $page));
diff --git a/mod/pages/views/default/object/page_top.php b/mod/pages/views/default/object/page_top.php
index 591028562..756c542b4 100644
--- a/mod/pages/views/default/object/page_top.php
+++ b/mod/pages/views/default/object/page_top.php
@@ -4,13 +4,13 @@
*
* @package ElggPages
*
- * @uses $vars['entity'] The page object
- * @uses $vars['full'] Whether to display the full view
- * @uses $vars['revision'] This parameter not supported by elgg_view_entity()
+ * @uses $vars['entity'] The page object
+ * @uses $vars['full_view'] Whether to display the full view
+ * @uses $vars['revision'] This parameter not supported by elgg_view_entity()
*/
-$full = elgg_extract('full', $vars, FALSE);
+$full = elgg_extract('full_view', $vars, FALSE);
$page = elgg_extract('entity', $vars, FALSE);
$revision = elgg_extract('revision', $vars, FALSE);