diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-03 13:29:09 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-03 13:29:09 +0000 |
commit | fb125354d94ad2784e73886a57476e4fc1dc72aa (patch) | |
tree | 8e722e0dce141649c7b9c955fad03962c1f76d73 /engine/lib/views.php | |
parent | 3500fcfa23ec6d140b88ab0f75b2116b12d739c6 (diff) | |
download | elgg-fb125354d94ad2784e73886a57476e4fc1dc72aa.tar.gz elgg-fb125354d94ad2784e73886a57476e4fc1dc72aa.tar.bz2 |
Refs #2189 the beginning of semantic markup for entity lists - needs some reorganization
git-svn-id: http://code.elgg.org/elgg/trunk@7516 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/views.php')
-rw-r--r-- | engine/lib/views.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php index 73a12cc8d..ccba3d173 100644 --- a/engine/lib/views.php +++ b/engine/lib/views.php @@ -840,8 +840,8 @@ function elgg_view_annotation(ElggAnnotation $annotation, $bypass = true, $debug * @return string The list of entities * @access private */ -function elgg_view_entity_list($entities, $count, $offset, $limit, $fullview = true, -$listtypetoggle = true, $pagination = true) { +function elgg_view_entity_list($entities, $count, $offset, $limit, $full_view = true, +$list_type_toggle = true, $pagination = true) { $count = (int) $count; $limit = (int) $limit; @@ -853,15 +853,15 @@ $listtypetoggle = true, $pagination = true) { $context = elgg_get_context(); - $html = elgg_view('entities/entity_list', array( + $html = elgg_view('entities/list', array( 'entities' => $entities, 'count' => $count, 'offset' => $offset, 'limit' => $limit, 'baseurl' => $_SERVER['REQUEST_URI'], - 'fullview' => $fullview, + 'fullview' => $full_view, 'context' => $context, - 'listtypetoggle' => $listtypetoggle, + 'listtypetoggle' => $list_type_toggle, 'listtype' => get_input('listtype', 'list'), 'pagination' => $pagination )); |