From 7dd75ce9cdb524ff27ada917608c2cc1dc31f499 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 12 Mar 2011 15:01:25 +0000 Subject: Refs #3085 moved full_view out of elgg_view_list_item() into $vars to be consistent with other elgg_view* functions git-svn-id: http://code.elgg.org/elgg/trunk@8659 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/page/components/gallery.php | 3 +-- views/default/page/components/list.php | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'views/default/page/components') diff --git a/views/default/page/components/gallery.php b/views/default/page/components/gallery.php index f57cc99ba..c6764d92f 100644 --- a/views/default/page/components/gallery.php +++ b/views/default/page/components/gallery.php @@ -18,7 +18,6 @@ $offset = $vars['offset']; $limit = $vars['limit']; $count = $vars['count']; $pagination = elgg_extract('pagination', $vars, true); -$full_view = elgg_extract('full_view', $vars, false); $offset_key = elgg_extract('offset_key', $vars, 'offset'); $position = elgg_extract('position', $vars, 'after'); @@ -50,7 +49,7 @@ foreach ($items as $item) { $col++; echo ''; - echo elgg_view_list_item($item, $full_view, $vars); + echo elgg_view_list_item($item, $vars); echo ""; if ($col == $num_columns) { diff --git a/views/default/page/components/list.php b/views/default/page/components/list.php index 374922ecd..ae951c89f 100644 --- a/views/default/page/components/list.php +++ b/views/default/page/components/list.php @@ -22,7 +22,6 @@ $limit = $vars['limit']; $count = $vars['count']; $base_url = $vars['base_url']; $pagination = elgg_extract('pagination', $vars, true); -$full_view = elgg_extract('full_view', $vars, false); $offset_key = elgg_extract('offset_key', $vars, 'offset'); $position = elgg_extract('position', $vars, 'after'); @@ -58,7 +57,7 @@ if (is_array($items) && count($items) > 0) { $id = "item-{$item->getType()}-{$item->id}"; } $html .= "
  • "; - $html .= elgg_view_list_item($item, $full_view, $vars); + $html .= elgg_view_list_item($item, $vars); $html .= '
  • '; } $html .= ''; -- cgit v1.2.3