summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-02 09:19:11 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-02 09:19:11 -0400
commit7a8825568193b944135fe34d91cf7d6712e46eab (patch)
tree84982f8df1e688c22ea0bc706cff5d7351a5cc1d /lib
parent721d6f94c72816e802b813c132d39fc7ef08c680 (diff)
show current tab correctly on settings menu
darcs-hash:20080702131911-84dde-aea1a69547187d3f66e435f14becb2e9013edb39.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/settingsaction.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/settingsaction.php b/lib/settingsaction.php
index eca5e9352..0cdbbbeb2 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');
}