diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-08 02:37:26 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-08 02:37:26 +0000 |
commit | 15eaacc12ad0ffe19d42b6d2508c4469ba005bfd (patch) | |
tree | 0efa084b8a015bbc36eb25d8d5a017e7786b5a3c /views/default/annotation/list.php | |
parent | d7adaddab7189bc493d22d96fec424aedca09b11 (diff) | |
download | elgg-15eaacc12ad0ffe19d42b6d2508c4469ba005bfd.tar.gz elgg-15eaacc12ad0ffe19d42b6d2508c4469ba005bfd.tar.bz2 |
Fixes #2189 created the object/list view with semantic markup
git-svn-id: http://code.elgg.org/elgg/trunk@7560 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/annotation/list.php')
-rw-r--r-- | views/default/annotation/list.php | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/views/default/annotation/list.php b/views/default/annotation/list.php deleted file mode 100644 index f432ad640..000000000 --- a/views/default/annotation/list.php +++ /dev/null @@ -1,46 +0,0 @@ -<?php -/** - * Annotation list - * - * @uses $vars['annotations'] - * @uses $vars['limit'] - * @uses $vars['offset'] - * @uses $vars['count'] - * @uses $vars['pagination'] - */ - -$offset = $vars['offset']; -$limit = $vars['limit']; -$count = $vars['count']; -$annotations = $vars['annotations']; -$pagination = elgg_get_array_value('pagination', $vars, true); - -$html = ""; -$nav = ""; - -if ($pagination) { - $nav .= elgg_view('navigation/pagination', array( - 'baseurl' => $_SERVER['REQUEST_URI'], - 'offset' => $offset, - 'count' => $count, - 'limit' => $limit, - 'word' => 'annoff', - 'nonefound' => false, - )); -} - -if (is_array($annotations) && count($annotations) > 0) { - $html .= '<ul class="elgg-annotation-list elgg-list">'; - foreach ($annotations as $annotation) { - $html .= '<li>'; - $html .= elgg_view_annotation($annotation, true); - $html .= '</li>'; - } - $html .= '</ul>'; -} - -if ($count) { - $html .= $nav; -} - -echo $html; |