From: Sarven Capadisli Date: Sat, 13 Feb 2010 17:42:00 +0000 (+0100) Subject: Using the new remote subscription event and updated subscribe label X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f6e766d5acd4d9ca8e9bea30f1c00762ac193bd4;p=quix0rs-gnu-social.git Using the new remote subscription event and updated subscribe label --- diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index bf7dde2967..0e05a75cdb 100644 --- a/plugins/OStatus/OStatusPlugin.php +++ b/plugins/OStatus/OStatusPlugin.php @@ -188,7 +188,7 @@ class OStatusPlugin extends Plugin /** * Add in an OStatus subscribe button */ - function onStartProfilePageActionsElements($output, $profile) + function onStartProfileRemoteSubscribe($output, $profile) { $cur = common_current_user(); @@ -199,10 +199,12 @@ class OStatusPlugin extends Plugin array('nickname' => $profile->nickname)); $output->element('a', array('href' => $url, 'class' => 'entity_remote_subscribe'), - _m('OStatus')); + _m('Subscribe')); $output->elementEnd('li'); } + + return false; } /**