From f25a8c580c5cdd465a1568ed27b486f9c4761651 Mon Sep 17 00:00:00 2001 From: dave Date: Mon, 24 May 2010 15:02:21 +0000 Subject: the correct tab now highlights git-svn-id: http://code.elgg.org/elgg/trunk@6171 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/sitepages/views/default/sitepages/menu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "
  • " . elgg_echo("sitepages:$page") . "
  • "; } ?> -- cgit v1.2.3