aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-03 02:15:20 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-03 02:15:20 +0000
commit72b8810ea3403491362a47cc5075402d785f1038 (patch)
tree6934de511a5cc8bfff6ad9cf5e3e43c166a762e6 /views
parent192ebd9efba191b6c2e9e0d0804d39a70c0ee5a9 (diff)
downloadelgg-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')
-rw-r--r--views/default/css/elements/navigation.php4
-rw-r--r--views/default/navigation/pagination.php6
2 files changed, 5 insertions, 5 deletions
diff --git a/views/default/css/elements/navigation.php b/views/default/css/elements/navigation.php
index d5a8208b0..4ebe5a6f1 100644
--- a/views/default/css/elements/navigation.php
+++ b/views/default/css/elements/navigation.php
@@ -33,11 +33,11 @@
color: white;
text-decoration: none;
}
-.elgg-pagination .elgg-state-disabled {
+.elgg-pagination .elgg-state-disabled span {
color: #CCCCCC;
border-color: #CCCCCC;
}
-.elgg-pagination .elgg-state-selected {
+.elgg-pagination .elgg-state-selected span {
color: #555555;
border-color: #555555;
}
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>';