aboutsummaryrefslogtreecommitdiff
path: root/views/default/navigation
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/navigation')
-rw-r--r--views/default/navigation/listtype.php2
-rw-r--r--views/default/navigation/pagination.php10
-rw-r--r--views/default/navigation/site_nav.php4
-rw-r--r--views/default/navigation/tabs.php2
4 files changed, 9 insertions, 9 deletions
diff --git a/views/default/navigation/listtype.php b/views/default/navigation/listtype.php
index c4693313b..9b86df40c 100644
--- a/views/default/navigation/listtype.php
+++ b/views/default/navigation/listtype.php
@@ -22,7 +22,7 @@ if (substr_count($baseurl,'?')) {
?>
-<p class="margin_top">
+<p class="margin-top">
<?php echo elgg_echo("listtype:change") ?>:
<a href="<?php echo $baseurl; ?>"><?php echo elgg_echo("listtype:{$listtype}"); ?></a>
</p> \ No newline at end of file
diff --git a/views/default/navigation/pagination.php b/views/default/navigation/pagination.php
index de401eae4..fc15470bc 100644
--- a/views/default/navigation/pagination.php
+++ b/views/default/navigation/pagination.php
@@ -41,7 +41,7 @@ if (($count > $limit || $offset > 0) && elgg_get_context() != 'widget') {
$prevurl = elgg_http_add_url_query_elements($baseurl, array($word => $prevoffset));
- echo "<a href=\"{$prevurl}\" class='pagination_previous'>&laquo; ". elgg_echo("previous") ."</a> ";
+ echo "<a href=\"{$prevurl}\" class='pagination-previous'>&laquo; ". elgg_echo("previous") ."</a> ";
}
if ($offset > 0 || $offset < ($count - $limit)) {
@@ -75,16 +75,16 @@ if (($count > $limit || $offset > 0) && elgg_get_context() != 'widget') {
$prev = 0;
foreach($pagesarray as $i) {
if (($i - $prev) > 1) {
- echo "<span class='pagination_more'>...</span>";
+ echo "<span class='pagination-more'>...</span>";
}
$curoffset = (($i - 1) * $limit);
$counturl = elgg_http_add_url_query_elements($baseurl, array($word => $curoffset));
if ($curoffset != $offset) {
- echo " <a href=\"{$counturl}\" class='pagination_number'>{$i}</a> ";
+ echo " <a href=\"{$counturl}\" class='pagination-number'>{$i}</a> ";
} else {
- echo "<span class='pagination_currentpage'>{$i}</span>";
+ echo "<span class='pagination-currentpage'>{$i}</span>";
}
$prev = $i;
@@ -100,7 +100,7 @@ if (($count > $limit || $offset > 0) && elgg_get_context() != 'widget') {
$nexturl = elgg_http_add_url_query_elements($baseurl, array($word => $nextoffset));
- echo " <a href=\"{$nexturl}\" class='pagination_next'>" . elgg_echo("next") . " &raquo;</a>";
+ echo " <a href=\"{$nexturl}\" class='pagination-next'>" . elgg_echo("next") . " &raquo;</a>";
}
diff --git a/views/default/navigation/site_nav.php b/views/default/navigation/site_nav.php
index 325f5a18b..84ac75569 100644
--- a/views/default/navigation/site_nav.php
+++ b/views/default/navigation/site_nav.php
@@ -65,7 +65,7 @@ foreach ($more as $info) {
if ($more_nav_html) {
$more = elgg_echo('more');
- $nav_html .= "<li class='navigation_more'><a class='subnav' title=\"$more\"><span>$more</span></a>
+ $nav_html .= "<li class='navigation-more'><a class='subnav' title=\"$more\"><span>$more</span></a>
<ul>
$more_nav_html
</ul>
@@ -75,7 +75,7 @@ if ($more_nav_html) {
// only display, if there are nav items to display
if ($nav_html) {
echo <<<___END
- <div id="elgg_main_nav" class="clearfix">
+ <div id="elgg-main-nav" class="clearfix">
<ul class="navigation">
$nav_html
</ul>
diff --git a/views/default/navigation/tabs.php b/views/default/navigation/tabs.php
index fd6d8b8fe..582b56bbe 100644
--- a/views/default/navigation/tabs.php
+++ b/views/default/navigation/tabs.php
@@ -15,7 +15,7 @@
$type = (isset($vars['type'])) ? $vars['type'] : 'horizontal';
if ($type == 'horizontal') {
- $type_class = "elgg_horizontal_tabbed_nav margin_top";
+ $type_class = "elgg-horizontal-tabbed-nav margin-top";
} else {
$type_class = "elgg_vertical_tabbed_nav";
}