+ if ($this->boolean('ajax')) {
+ $this->startHTML('text/xml;charset=utf-8');
+ $this->elementStart('head');
+ // TRANS: Page title for page to unsubscribe.
+ $this->element('title', null, _('Unsubscribed'));
+ $this->elementEnd('head');
+ $this->elementStart('body');
+ $subscribe = new SubscribeForm($this, $other);
+ $subscribe->show();
+ $this->elementEnd('body');
+ $this->endHTML();
+ } else {
+ common_redirect(common_local_url('subscriptions', array('nickname' => $this->scoped->nickname)), 303);
+ }
+ }