]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
show current tab correctly on settings menu
authorEvan Prodromou <evan@prodromou.name>
Wed, 2 Jul 2008 13:19:11 +0000 (09:19 -0400)
committerEvan Prodromou <evan@prodromou.name>
Wed, 2 Jul 2008 13:19:11 +0000 (09:19 -0400)
darcs-hash:20080702131911-84dde-aea1a69547187d3f66e435f14becb2e9013edb39.gz

lib/settingsaction.php

index eca5e9352466b5376f6a92e7c4303695bd3a4c56..0cdbbbeb21b68700247654f526248278b8f331e2 100644 (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');
     }