From 53062715e71e7ce4bf6310731dc1ec102fb87f1c Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 27 Mar 2011 01:31:44 +0000 Subject: Fixes #3086 using full_view instead of full git-svn-id: http://code.elgg.org/elgg/trunk@8866 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/blog/views/default/object/blog.php | 2 +- mod/bookmarks/views/default/object/bookmarks.php | 2 +- mod/file/views/default/file/specialcontent/image/default.php | 2 +- mod/file/views/default/object/file.php | 2 +- mod/groups/lib/groups.php | 2 +- mod/groups/views/default/group/default.php | 2 +- mod/groups/views/default/object/groupforumtopic.php | 2 +- mod/messageboard/views/default/annotation/messageboard.php | 2 +- mod/messages/views/default/object/messages.php | 2 +- mod/pages/pages/pages/revision.php | 2 +- mod/pages/views/default/object/page_top.php | 8 ++++---- mod/thewire/views/default/object/thewire.php | 2 +- 12 files changed, 15 insertions(+), 15 deletions(-) (limited to 'mod') diff --git a/mod/blog/views/default/object/blog.php b/mod/blog/views/default/object/blog.php index b68f869d6..048a68a1a 100644 --- a/mod/blog/views/default/object/blog.php +++ b/mod/blog/views/default/object/blog.php @@ -5,7 +5,7 @@ * @package Blog */ -$full = elgg_extract('full', $vars, FALSE); +$full = elgg_extract('full_view', $vars, FALSE); $blog = elgg_extract('entity', $vars, FALSE); if (!$blog) { diff --git a/mod/bookmarks/views/default/object/bookmarks.php b/mod/bookmarks/views/default/object/bookmarks.php index 15e775738..5605e7277 100644 --- a/mod/bookmarks/views/default/object/bookmarks.php +++ b/mod/bookmarks/views/default/object/bookmarks.php @@ -5,7 +5,7 @@ * @package ElggBookmarks */ -$full = elgg_extract('full', $vars, FALSE); +$full = elgg_extract('full_view', $vars, FALSE); $bookmark = elgg_extract('entity', $vars, FALSE); if (!$bookmark) { diff --git a/mod/file/views/default/file/specialcontent/image/default.php b/mod/file/views/default/file/specialcontent/image/default.php index 8ae251cfc..fbd994a0b 100644 --- a/mod/file/views/default/file/specialcontent/image/default.php +++ b/mod/file/views/default/file/specialcontent/image/default.php @@ -7,7 +7,7 @@ $image_url = elgg_get_site_url() . "mod/file/thumbnail.php?file_guid={$vars['ent $image_url = elgg_format_url($image_url); $download_url = elgg_get_site_url() . "mod/file/download.php?file_guid={$vars['entity']->getGUID()}"; -if ($vars['full'] && $smallthumb = $vars['entity']->smallthumb) { +if ($vars['full_view'] && $smallthumb = $vars['entity']->smallthumb) { echo << diff --git a/mod/file/views/default/object/file.php b/mod/file/views/default/object/file.php index 02befd44c..0b58ca76f 100644 --- a/mod/file/views/default/object/file.php +++ b/mod/file/views/default/object/file.php @@ -5,7 +5,7 @@ * @package ElggFile */ -$full = elgg_extract('full', $vars, FALSE); +$full = elgg_extract('full_view', $vars, FALSE); $file = elgg_extract('entity', $vars, FALSE); if (!$file) { diff --git a/mod/groups/lib/groups.php b/mod/groups/lib/groups.php index cfab11ebb..c0a8a9a94 100644 --- a/mod/groups/lib/groups.php +++ b/mod/groups/lib/groups.php @@ -29,7 +29,7 @@ function groups_handle_all_page() { 'subtype' => 'groupforumtopic', 'order_by' => 'e.last_action desc', 'limit' => 40, - 'fullview' => false, + 'full_view' => false, )); break; case 'newest': diff --git a/mod/groups/views/default/group/default.php b/mod/groups/views/default/group/default.php index 252a01ef0..1f1035a38 100644 --- a/mod/groups/views/default/group/default.php +++ b/mod/groups/views/default/group/default.php @@ -21,7 +21,7 @@ if (elgg_in_context('owner_block') || elgg_in_context('widgets')) { } -if ($vars['full']) { +if ($vars['full_view']) { echo elgg_view("groups/profile/profile_block", $vars); } else { // brief view diff --git a/mod/groups/views/default/object/groupforumtopic.php b/mod/groups/views/default/object/groupforumtopic.php index 9c01dd83a..9589d1fb8 100644 --- a/mod/groups/views/default/object/groupforumtopic.php +++ b/mod/groups/views/default/object/groupforumtopic.php @@ -5,7 +5,7 @@ * @package ElggGroups */ -$full = elgg_extract('full', $vars, FALSE); +$full = elgg_extract('full_view', $vars, FALSE); $topic = elgg_extract('entity', $vars, FALSE); if (!$topic) { diff --git a/mod/messageboard/views/default/annotation/messageboard.php b/mod/messageboard/views/default/annotation/messageboard.php index 595cc6db4..8dfba3a22 100644 --- a/mod/messageboard/views/default/annotation/messageboard.php +++ b/mod/messageboard/views/default/annotation/messageboard.php @@ -3,7 +3,7 @@ * Message board post * * @uses $vars['annotation'] ElggAnnotation object - * @uses $vars['full'] Display fill view or brief view + * @uses $vars['full_view'] Display fill view or brief view */ $vars['delete_action'] = 'action/messageboard/delete'; diff --git a/mod/messages/views/default/object/messages.php b/mod/messages/views/default/object/messages.php index 196d8a3ad..b52b86a3a 100644 --- a/mod/messages/views/default/object/messages.php +++ b/mod/messages/views/default/object/messages.php @@ -5,7 +5,7 @@ * @package ElggFile */ -$full = elgg_extract('full', $vars, false); +$full = elgg_extract('full_view', $vars, false); $message = elgg_extract('entity', $vars, false); if (!$message) { 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); diff --git a/mod/thewire/views/default/object/thewire.php b/mod/thewire/views/default/object/thewire.php index ace290589..bcc62f816 100644 --- a/mod/thewire/views/default/object/thewire.php +++ b/mod/thewire/views/default/object/thewire.php @@ -6,7 +6,7 @@ */ -$full = elgg_extract('full', $vars, FALSE); +$full = elgg_extract('full_view', $vars, FALSE); $post = elgg_extract('entity', $vars, FALSE); if (!$post) { -- cgit v1.2.3