Make correct nav menus show

This commit is contained in:
Zach Copley 2011-03-10 17:13:34 -08:00
parent 8efd2cf04d
commit 302f0236bd
2 changed files with 2 additions and 13 deletions

View File

@ -21,7 +21,7 @@ if (!defined('STATUSNET')) {
exit(1);
}
class ProfileDetailAction extends ProfileAction
class ProfileDetailAction extends ShowstreamAction
{
function isReadOnly($args)
@ -34,23 +34,12 @@ class ProfileDetailAction extends ProfileAction
return $this->profile->getFancyName();
}
function showLocalNav()
{
$nav = new PersonalGroupNav($this);
$nav->show();
}
function showStylesheets() {
parent::showStylesheets();
$this->cssLink('plugins/ExtendedProfile/profiledetail.css');
return true;
}
function handle($args)
{
$this->showPage();
}
function showContent()
{
$cur = common_current_user();

View File

@ -21,7 +21,7 @@ if (!defined('STATUSNET')) {
exit(1);
}
class ProfileDetailSettingsAction extends SettingsAction
class ProfileDetailSettingsAction extends ProfileSettingsAction
{
function title()