Commit 0316e279 authored by Evan Prodromou's avatar Evan Prodromou

Merge branch 'testing' of gitorious.org:statusnet/mainline into testing

parents 32845a10 2cbfc8cb
...@@ -99,15 +99,16 @@ class SubMirrorPlugin extends Plugin ...@@ -99,15 +99,16 @@ class SubMirrorPlugin extends Plugin
/** /**
* Menu item for personal subscriptions/groups area * Menu item for personal subscriptions/groups area
* *
* @param Widget $widget Widget being executed * @param Action $action action being executed
* *
* @return boolean hook return * @return boolean hook return
*/ */
function onEndSubGroupNav($widget) function onEndAccountSettingsNav($action)
{ {
$action = $widget->out;
$action_name = $action->trimmed('action'); $action_name = $action->trimmed('action');
common_debug("ACTION NAME = " . $action_name);
$action->menuItem(common_local_url('mirrorsettings'), $action->menuItem(common_local_url('mirrorsettings'),
// TRANS: SubMirror plugin menu item on user settings page. // TRANS: SubMirror plugin menu item on user settings page.
_m('MENU', 'Mirroring'), _m('MENU', 'Mirroring'),
......
...@@ -153,10 +153,17 @@ class MirrorSettingsAction extends SettingsAction ...@@ -153,10 +153,17 @@ class MirrorSettingsAction extends SettingsAction
{ {
} }
/**
* Show the local navigation menu
*
* This is the same for all settings, so we show it here.
*
* @return void
*/
function showLocalNav() function showLocalNav()
{ {
$nav = new SubGroupNav($this, common_current_user()); $menu = new SettingsNav($this);
$nav->show(); $menu->show();
} }
function showScripts() function showScripts()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment