From: Samantha Doherty Date: Tue, 15 Mar 2011 02:40:31 +0000 (-0400) Subject: Couple quick fixes for profile view. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0ff7bf77e4c208030ece6de13e8488d3845e224c;p=quix0rs-gnu-social.git Couple quick fixes for profile view. --- diff --git a/plugins/ExtendedProfile/profiledetailaction.php b/plugins/ExtendedProfile/profiledetailaction.php index beac7d6321..a777a28e03 100644 --- a/plugins/ExtendedProfile/profiledetailaction.php +++ b/plugins/ExtendedProfile/profiledetailaction.php @@ -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'); }