diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-03 02:15:20 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-03 02:15:20 +0000 |
commit | 72b8810ea3403491362a47cc5075402d785f1038 (patch) | |
tree | 6934de511a5cc8bfff6ad9cf5e3e43c166a762e6 /views/default/navigation/pagination.php | |
parent | 192ebd9efba191b6c2e9e0d0804d39a70c0ee5a9 (diff) | |
download | elgg-72b8810ea3403491362a47cc5075402d785f1038.tar.gz elgg-72b8810ea3403491362a47cc5075402d785f1038.tar.bz2 |
Fixes #2802 put state class on list element rather than span
git-svn-id: http://code.elgg.org/elgg/trunk@7995 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/navigation/pagination.php')
-rw-r--r-- | views/default/navigation/pagination.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/views/default/navigation/pagination.php b/views/default/navigation/pagination.php index 153395c4d..98b85201e 100644 --- a/views/default/navigation/pagination.php +++ b/views/default/navigation/pagination.php @@ -94,12 +94,12 @@ if ($pages->prev['href']) { $link = elgg_view('output/url', $pages->prev); echo "<li>$link</li>"; } else { - echo "<li><span class=\"elgg-state-disabled\">{$pages->prev['text']}</span></li>"; + echo "<li class=\"elgg-state-disabled\"><span>{$pages->prev['text']}</span></li>"; } foreach ($pages->items as $page) { if ($page == $current_page) { - echo "<li><span class=\"elgg-state-selected\">$page</span></li>"; + echo "<li class=\"elgg-state-selected\"><span>$page</span></li>"; } else { $page_offset = (($page - 1) * $limit); $url = elgg_http_add_url_query_elements($base_url, array($offset_key => $page_offset)); @@ -111,7 +111,7 @@ if ($pages->next['href']) { $link = elgg_view('output/url', $pages->next); echo "<li>$link</li>"; } else { - echo "<li><span class=\"elgg-state-disabled\">{$pages->next['text']}</span></li>"; + echo "<li class=\"elgg-state-disabled\"><span>{$pages->next['text']}</span></li>"; } echo '</ul>'; |