summaryrefslogtreecommitdiff
path: root/actions/remotesubscribe.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/remotesubscribe.php')
-rw-r--r--actions/remotesubscribe.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/actions/remotesubscribe.php b/actions/remotesubscribe.php
index a9494772e..b9e29d645 100644
--- a/actions/remotesubscribe.php
+++ b/actions/remotesubscribe.php
@@ -61,13 +61,13 @@ class RemotesubscribeAction extends Action
function show_top($err=null)
{
if ($err) {
- common_element('div', 'error', $err);
+ $this->element('div', 'error', $err);
} else {
$instructions = $this->get_instructions();
$output = common_markup_to_html($instructions);
- common_element_start('div', 'instructions');
- common_raw($output);
- common_element_end('p');
+ $this->elementStart('div', 'instructions');
+ $this->raw($output);
+ $this->elementEnd('p');
}
}
@@ -79,15 +79,15 @@ class RemotesubscribeAction extends Action
array($this, 'show_top'));
# id = remotesubscribe conflicts with the
# button on profile page
- common_element_start('form', array('id' => 'remsub', 'method' => 'post',
+ $this->elementStart('form', array('id' => 'remsub', 'method' => 'post',
'action' => common_local_url('remotesubscribe')));
- common_hidden('token', common_session_token());
- common_input('nickname', _('User nickname'), $nickname,
+ $this->hidden('token', common_session_token());
+ $this->input('nickname', _('User nickname'), $nickname,
_('Nickname of the user you want to follow'));
- common_input('profile_url', _('Profile URL'), $profile,
+ $this->input('profile_url', _('Profile URL'), $profile,
_('URL of your profile on another compatible microblogging service'));
- common_submit('submit', _('Subscribe'));
- common_element_end('form');
+ $this->submit('submit', _('Subscribe'));
+ $this->elementEnd('form');
common_show_footer();
}