show current tab correctly on settings menu

darcs-hash:20080702131911-84dde-aea1a69547187d3f66e435f14becb2e9013edb39.gz
This commit is contained in:
Evan Prodromou 2008-07-02 09:19:11 -04:00
parent 721d6f94c7
commit 7a88255681

View File

@ -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');
}