forked from GNUsocial/gnu-social
Make correct nav menus show
This commit is contained in:
parent
8efd2cf04d
commit
302f0236bd
@ -21,7 +21,7 @@ if (!defined('STATUSNET')) {
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
class ProfileDetailAction extends ProfileAction
|
class ProfileDetailAction extends ShowstreamAction
|
||||||
{
|
{
|
||||||
|
|
||||||
function isReadOnly($args)
|
function isReadOnly($args)
|
||||||
@ -34,23 +34,12 @@ class ProfileDetailAction extends ProfileAction
|
|||||||
return $this->profile->getFancyName();
|
return $this->profile->getFancyName();
|
||||||
}
|
}
|
||||||
|
|
||||||
function showLocalNav()
|
|
||||||
{
|
|
||||||
$nav = new PersonalGroupNav($this);
|
|
||||||
$nav->show();
|
|
||||||
}
|
|
||||||
|
|
||||||
function showStylesheets() {
|
function showStylesheets() {
|
||||||
parent::showStylesheets();
|
parent::showStylesheets();
|
||||||
$this->cssLink('plugins/ExtendedProfile/profiledetail.css');
|
$this->cssLink('plugins/ExtendedProfile/profiledetail.css');
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function handle($args)
|
|
||||||
{
|
|
||||||
$this->showPage();
|
|
||||||
}
|
|
||||||
|
|
||||||
function showContent()
|
function showContent()
|
||||||
{
|
{
|
||||||
$cur = common_current_user();
|
$cur = common_current_user();
|
||||||
|
@ -21,7 +21,7 @@ if (!defined('STATUSNET')) {
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
class ProfileDetailSettingsAction extends SettingsAction
|
class ProfileDetailSettingsAction extends ProfileSettingsAction
|
||||||
{
|
{
|
||||||
|
|
||||||
function title()
|
function title()
|
||||||
|
Loading…
Reference in New Issue
Block a user