From 7a8825568193b944135fe34d91cf7d6712e46eab Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 2 Jul 2008 09:19:11 -0400 Subject: [PATCH] show current tab correctly on settings menu darcs-hash:20080702131911-84dde-aea1a69547187d3f66e435f14becb2e9013edb39.gz --- lib/settingsaction.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/settingsaction.php b/lib/settingsaction.php index eca5e93524..0cdbbbeb21 100644 --- a/lib/settingsaction.php +++ b/lib/settingsaction.php @@ -101,7 +101,8 @@ class SettingsAction extends Action { foreach ($menu as $menuaction => $menudesc) { common_menu_item(common_local_url($menuaction), _t($menudesc[0]), - _t($menudesc[1])); + _t($menudesc[1]), + $action == $menuaction); } common_element_end('ul'); }