]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Make correct nav menus show
authorZach Copley <zach@status.net>
Fri, 11 Mar 2011 01:13:34 +0000 (17:13 -0800)
committerZach Copley <zach@status.net>
Fri, 11 Mar 2011 01:13:34 +0000 (17:13 -0800)
plugins/ExtendedProfile/profiledetailaction.php
plugins/ExtendedProfile/profiledetailsettingsaction.php

index d2eb06775c194ef2f94ad91138be73fd224cbd83..beac7d6321991b4adfb09604ef8e8e47570661e4 100644 (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();
index c18732c0580cf66f47d2817266f561c47d1817f7..ec2c4935a27c6d8a38dc0cde50e63379119e1609 100644 (file)
@@ -21,7 +21,7 @@ if (!defined('STATUSNET')) {
     exit(1);
 }
 
-class ProfileDetailSettingsAction extends SettingsAction
+class ProfileDetailSettingsAction extends ProfileSettingsAction
 {
 
     function title()