diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-10 02:31:15 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-10 02:31:15 +0000 |
commit | f116fd14efb9173eddc95636c2f876fca25195ed (patch) | |
tree | 9af17ef2c13f7f79b1b410c4c467ca5f80603720 /views/default/navigation/site_nav.php | |
parent | 5669dad314e9177de420044b5f938ccbb1da63f2 (diff) | |
download | elgg-f116fd14efb9173eddc95636c2f876fca25195ed.tar.gz elgg-f116fd14efb9173eddc95636c2f876fca25195ed.tar.bz2 |
stage 1 of cleaning up page header css
git-svn-id: http://code.elgg.org/elgg/trunk@7589 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/navigation/site_nav.php')
-rw-r--r-- | views/default/navigation/site_nav.php | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/views/default/navigation/site_nav.php b/views/default/navigation/site_nav.php index 84ac75569..50be4ce3c 100644 --- a/views/default/navigation/site_nav.php +++ b/views/default/navigation/site_nav.php @@ -1,8 +1,8 @@ <?php /** - * Main site-wide navigation + * Site-wide navigation * - **/ + */ $nav_items = elgg_get_nav_items(); $featured = $nav_items['featured']; @@ -34,7 +34,7 @@ if ($featured) { $nav_html .= "<li $selected><a href=\"$url\" title=\"$title\"><span>$title</span></a></li>"; } } elseif ($more) { - for ($i=0; $i<6; $i++) { + for ($i=0; $i<5; $i++) { if (!array_key_exists($i, $more)) { break; } @@ -44,7 +44,7 @@ if ($featured) { $title = htmlentities($info->name, ENT_QUOTES, 'UTF-8'); $url = htmlentities($info->value->url, ENT_QUOTES, 'UTF-8'); - $nav_html .= "<li $selected><a href=\"$url\" title=\"$title\"><span>$title</span></a></li>"; + $nav_html .= "<li $selected><a href=\"$url\" title=\"$title\">$title</a></li>"; $more[$i]->used = TRUE; $item_count++; } @@ -59,7 +59,7 @@ foreach ($more as $info) { $title = htmlentities($info->name, ENT_QUOTES, 'UTF-8'); $url = htmlentities($info->value->url, ENT_QUOTES, 'UTF-8'); - $more_nav_html .= "<li $selected><a href=\"$url\" title=\"$title\"><span>$title</span></a></li>\n"; + $more_nav_html .= "<li $selected><a href=\"$url\" title=\"$title\">$title</a></li>\n"; $item_count++; } @@ -75,11 +75,9 @@ 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"> - <ul class="navigation"> + <ul class="elgg-site-menu"> $nav_html </ul> - </div> ___END; } -?> + |