diff options
author | sarven <csarven@plantard.controlezvous.ca> | 2009-01-21 04:08:05 +0000 |
---|---|---|
committer | sarven <csarven@plantard.controlezvous.ca> | 2009-01-21 04:08:05 +0000 |
commit | db4993970ec7a84dad0561a6ea3c9243d2064545 (patch) | |
tree | e3f11923f3405237652d6b42e2a4012d62df5a88 /actions/subscribe.php | |
parent | 21eecc5d8962d226dcd9d8581fa4c61055a065f0 (diff) |
(Un)subscribe AJAX forms
Diffstat (limited to 'actions/subscribe.php')
-rw-r--r-- | actions/subscribe.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/actions/subscribe.php b/actions/subscribe.php index b6f03f0f1..171332734 100644 --- a/actions/subscribe.php +++ b/actions/subscribe.php @@ -64,12 +64,13 @@ class SubscribeAction extends Action } if ($this->boolean('ajax')) { - common_start_html('text/xml;charset=utf-8', true); + $this->startHTML('text/xml;charset=utf-8', true); $this->elementStart('head'); $this->element('title', null, _('Subscribed')); $this->elementEnd('head'); $this->elementStart('body'); - common_unsubscribe_form($other->getProfile()); + $unsubscribe = new UnsubscribeForm($this, $other->getProfile()); + $unsubscribe->show(); $this->elementEnd('body'); $this->elementEnd('html'); } else { |