aboutsummaryrefslogtreecommitdiff
path: root/views/default/navigation
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/navigation')
-rw-r--r--views/default/navigation/menu/elements/item.php2
-rw-r--r--views/default/navigation/pagination.php6
-rw-r--r--views/default/navigation/tabs.php4
3 files changed, 6 insertions, 6 deletions
diff --git a/views/default/navigation/menu/elements/item.php b/views/default/navigation/menu/elements/item.php
index 7c88c344c..5a9a8743d 100644
--- a/views/default/navigation/menu/elements/item.php
+++ b/views/default/navigation/menu/elements/item.php
@@ -5,7 +5,7 @@ $item = $vars['item'];
$class = '';
$link_class = 'elgg-menu-closed';
if ($item->getSelected()) {
- $class = 'class="selected"';
+ $class = 'class="elgg-state-selected"';
$link_class = 'elgg-menu-opened';
}
diff --git a/views/default/navigation/pagination.php b/views/default/navigation/pagination.php
index b8c576d43..153395c4d 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=\"inactive\">{$pages->prev['text']}</span></li>";
+ echo "<li><span class=\"elgg-state-disabled\">{$pages->prev['text']}</span></li>";
}
foreach ($pages->items as $page) {
if ($page == $current_page) {
- echo "<li><span class=\"active\">$page</span></li>";
+ echo "<li><span class=\"elgg-state-selected\">$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=\"inactive\">{$pages->next['text']}</span></li>";
+ echo "<li><span class=\"elgg-state-disabled\">{$pages->next['text']}</span></li>";
}
echo '</ul>';
diff --git a/views/default/navigation/tabs.php b/views/default/navigation/tabs.php
index 21fae8202..4e9d1ee17 100644
--- a/views/default/navigation/tabs.php
+++ b/views/default/navigation/tabs.php
@@ -2,7 +2,7 @@
/**
* Tab navigation
*
- * @uses string $vars['type'] horizontal || vertical - Defaults to horizontal (vertical TBI)
+ * @uses string $vars['type'] horizontal || vertical - Defaults to horizontal
* @uses array $vars['tabs'] A multi-dimensional array of tab entries in the format array(
* 'title' => string, // Title of link
* 'url' => string, // URL for the link
@@ -31,7 +31,7 @@ if (isset($vars['tabs']) && is_array($vars['tabs']) && !empty($vars['tabs'])) {
$selected = elgg_get_array_value('selected', $info, FALSE);
if ($selected) {
- $class .= ' selected';
+ $class .= ' elgg-state-selected';
}
$class_str = ($class) ? "class=\"$class\"" : '';