summaryrefslogtreecommitdiff
path: root/actions/unsubscribe.php
diff options
context:
space:
mode:
authorsarven <csarven@plantard.controlezvous.ca>2009-01-21 04:08:05 +0000
committersarven <csarven@plantard.controlezvous.ca>2009-01-21 04:08:05 +0000
commitdb4993970ec7a84dad0561a6ea3c9243d2064545 (patch)
treee3f11923f3405237652d6b42e2a4012d62df5a88 /actions/unsubscribe.php
parent21eecc5d8962d226dcd9d8581fa4c61055a065f0 (diff)
(Un)subscribe AJAX forms
Diffstat (limited to 'actions/unsubscribe.php')
-rw-r--r--actions/unsubscribe.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/actions/unsubscribe.php b/actions/unsubscribe.php
index 32511a4b4..f9dd6f821 100644
--- a/actions/unsubscribe.php
+++ b/actions/unsubscribe.php
@@ -66,12 +66,13 @@ class UnsubscribeAction 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, _('Unsubscribed'));
$this->elementEnd('head');
$this->elementStart('body');
- common_subscribe_form($other);
+ $subscribe = new SubscribeForm($this, $other);
+ $subscribe->show();
$this->elementEnd('body');
$this->elementEnd('html');
} else {