]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Couple quick fixes for profile view.
authorSamantha Doherty <sammy@status.net>
Tue, 15 Mar 2011 02:40:31 +0000 (22:40 -0400)
committerSamantha Doherty <sammy@status.net>
Tue, 15 Mar 2011 02:40:31 +0000 (22:40 -0400)
plugins/ExtendedProfile/profiledetailaction.php

index beac7d6321991b4adfb09604ef8e8e47570661e4..a777a28e031cacbab9a47b2335fc97ad12c689da 100644 (file)
@@ -36,7 +36,7 @@ class ProfileDetailAction extends ShowstreamAction
 
     function showStylesheets() {
         parent::showStylesheets();
-        $this->cssLink('plugins/ExtendedProfile/profiledetail.css');
+        $this->cssLink('plugins/ExtendedProfile/css/profiledetail.css');
         return true;
     }
 
@@ -45,6 +45,7 @@ class ProfileDetailAction extends ShowstreamAction
         $cur = common_current_user();
         if ($cur && $cur->id == $this->profile->id) { // your own page
             $this->elementStart('div', 'entity_actions');
+            $this->elementStart('ul');
             $this->elementStart('li', 'entity_edit');
             $this->element('a', array('href' => common_local_url('profiledetailsettings'),
                                       // TRANS: Link title for link on user profile.
@@ -52,6 +53,7 @@ class ProfileDetailAction extends ShowstreamAction
                            // TRANS: Link text for link on user profile.
                            _m('Edit'));
             $this->elementEnd('li');
+            $this->elementEnd('ul');
             $this->elementEnd('div');
         }