aboutsummaryrefslogtreecommitdiff
path: root/views/default/navigation/pagination.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/navigation/pagination.php')
-rw-r--r--views/default/navigation/pagination.php6
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>';