diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-24 15:02:21 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-24 15:02:21 +0000 |
commit | f25a8c580c5cdd465a1568ed27b486f9c4761651 (patch) | |
tree | 276e3e160ebe4bac1c33a9009b7a387f08588129 | |
parent | 3a943da814d8807e6962090683a024ab3628bbcf (diff) | |
download | elgg-f25a8c580c5cdd465a1568ed27b486f9c4761651.tar.gz elgg-f25a8c580c5cdd465a1568ed27b486f9c4761651.tar.bz2 |
the correct tab now highlights
git-svn-id: http://code.elgg.org/elgg/trunk@6171 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | mod/sitepages/views/default/sitepages/menu.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/sitepages/views/default/sitepages/menu.php b/mod/sitepages/views/default/sitepages/menu.php index 9b3fecddf..9c4e39821 100644 --- a/mod/sitepages/views/default/sitepages/menu.php +++ b/mod/sitepages/views/default/sitepages/menu.php @@ -20,7 +20,7 @@ $url = $vars['url'] . 'pg/sitepages/edit/'; $pages = array('front', 'about', 'terms', 'privacy', 'seo'); foreach ($pages as $page) { - $select = ($page_type == $page) ? 'class = "selected"' : ''; + $selected = ($page_type == $page) ? 'class = "selected"' : ''; echo "<li $selected><a href=\"{$url}{$page}\">" . elgg_echo("sitepages:$page") . "</a></li>"; } ?> |