From 171bedf24bca7bd195dd4a8ee79cb3f04e6de5d5 Mon Sep 17 00:00:00 2001 From: csarven Date: Thu, 20 Nov 2008 18:26:55 -0500 Subject: (Un)Subscribe form using ajaxForm() darcs-hash:20081120232655-eefa4-cf6a71e246828793d3bfa413db724ab33bc58bcf.gz --- actions/unsubscribe.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'actions/unsubscribe.php') diff --git a/actions/unsubscribe.php b/actions/unsubscribe.php index 562dd00fc..ad4f04a02 100644 --- a/actions/unsubscribe.php +++ b/actions/unsubscribe.php @@ -49,13 +49,15 @@ class UnsubscribeAction extends Action { return; } + $profile = Profile::staticGet('nickname', $other_nickname); + if ($this->boolean('ajax')) { common_start_html('text/xml'); common_element_start('head'); common_element('title', null, _('Unsubscribed')); common_element_end('head'); common_element_start('body'); - common_unsubscribe_response(); + common_subscribe_form($profile); common_element_end('body'); common_element_end('html'); } else { -- cgit v1.2.3-54-g00ecf