summaryrefslogtreecommitdiff
path: root/actions/subscriptions.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-15 22:57:15 +0000
committerEvan Prodromou <evan@controlyourself.ca>2009-01-15 22:57:15 +0000
commiteaa81d25fa7bd954132ce7f901fae69b0d46ec1a (patch)
tree25ac22e73ca93935b2a27e1e91e485b04ec3e01d /actions/subscriptions.php
parent2b2fb276219f87cdc0430d91ac3695e098ae48f4 (diff)
Convert all actions to use new UI functions
I did a massive search-and-replace to get all the action subclasses to use the new output function (common_element() -> $this->element(), etc.) There's still a lot to do, but it's a first step
Diffstat (limited to 'actions/subscriptions.php')
-rw-r--r--actions/subscriptions.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/actions/subscriptions.php b/actions/subscriptions.php
index afe8fb260..7a87a144f 100644
--- a/actions/subscriptions.php
+++ b/actions/subscriptions.php
@@ -72,16 +72,16 @@ class SubscriptionsList extends ProfileList
return;
}
- common_element_start('form', array('id' => 'subedit-' . $profile->id,
+ $this->elementStart('form', array('id' => 'subedit-' . $profile->id,
'method' => 'post',
'class' => 'subedit',
'action' => common_local_url('subedit')));
- common_hidden('token', common_session_token());
- common_hidden('profile', $profile->id);
- common_checkbox('jabber', _('Jabber'), $sub->jabber);
- common_checkbox('sms', _('SMS'), $sub->sms);
- common_submit('save', _('Save'));
- common_element_end('form');
+ $this->hidden('token', common_session_token());
+ $this->hidden('profile', $profile->id);
+ $this->checkbox('jabber', _('Jabber'), $sub->jabber);
+ $this->checkbox('sms', _('SMS'), $sub->sms);
+ $this->submit('save', _('Save'));
+ $this->elementEnd('form');
return;
}
}