X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Faccountprofileblock.php;h=4eca000c9efed19ae3857a99962d5cd48e8b7e26;hb=ab053fe2ca8bb2be76d6af0d313f38d89540d768;hp=25734f53ed35a17956eba02de8c280d470a4cd20;hpb=e75c9988ebe33822e493ac225859bc593ff9b855;p=quix0rs-gnu-social.git diff --git a/lib/accountprofileblock.php b/lib/accountprofileblock.php index 25734f53ed..4eca000c9e 100644 --- a/lib/accountprofileblock.php +++ b/lib/accountprofileblock.php @@ -138,9 +138,6 @@ class AccountProfileBlock extends ProfileBlock if (Event::handle('StartProfilePageActionsElements', array($this->out, $this->profile))) { if (empty($cur)) { // not logged in if (Event::handle('StartProfileRemoteSubscribe', array($this->out, $this->profile))) { - $this->out->elementStart('li', 'entity_subscribe'); - $this->showRemoteSubscribeLink(); - $this->out->elementEnd('li'); Event::handle('EndProfileRemoteSubscribe', array($this->out, $this->profile)); } } else { @@ -298,19 +295,9 @@ class AccountProfileBlock extends ProfileBlock $this->out->elementEnd('li'); } - function showRemoteSubscribeLink() - { - $url = common_local_url('remotesubscribe', - array('nickname' => $this->profile->nickname)); - $this->out->element('a', array('href' => $url, - 'class' => 'entity_remote_subscribe'), - // TRANS: Link text for link that will subscribe to a remote profile. - _m('BUTTON','Subscribe')); - } - function show() { - $this->out->elementStart('div', 'account_profile_block section'); + $this->out->elementStart('div', 'profile_block account_profile_block section'); if (Event::handle('StartShowAccountProfileBlock', array($this->out, $this->profile))) { parent::show(); Event::handle('EndShowAccountProfileBlock', array($this->out, $this->profile));