Using the new remote subscription event and updated subscribe label

This commit is contained in:
Sarven Capadisli 2010-02-13 18:42:00 +01:00
parent fc19179bc5
commit f6e766d5ac

View File

@ -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;
}
/**