From: Michael M Slusarz Date: Tue, 2 Feb 2010 06:58:36 +0000 (-0700) Subject: Cleanups on dimp compose page after recent ajax migration X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=b74dc7b724e4efbdb78746c6d0f42fd0f262cd93;p=horde.git Cleanups on dimp compose page after recent ajax migration --- diff --git a/imp/compose-dimp.php b/imp/compose-dimp.php index cd96af549..ed0846614 100644 --- a/imp/compose-dimp.php +++ b/imp/compose-dimp.php @@ -2,10 +2,20 @@ /** * Dynamic (dimp) compose display page. * + *
  * List of URL parameters:
- *   'popup' - Explicitly mark window as popup. Needed if compose page is
- *             opened from a page other than the base DIMP page.
- *   TODO
+ * -----------------------
+ * 'bcc' - TODO
+ * 'cc' - TODO
+ * 'folder'
+ * 'identity' - TODO
+ * 'popup' - Explicitly mark window as popup. Needed if compose page is
+ *           opened from a page other than the base DIMP page.
+ * 'subject' - TODO
+ * 'type' - TODO
+ * 'to' - TODO
+ * 'uid' - TODO
+ * 
* * Copyright 2005-2010 The Horde Project (http://www.horde.org/) * @@ -41,7 +51,7 @@ if (!$prefs->isLocked('default_identity')) { } /* Initialize the IMP_Compose:: object. */ -$imp_compose = IMP_Compose::singleton(Horde_Util::getFormData('composeCache')); +$imp_compose = IMP_Compose::singleton(); /* Init IMP_Ui_Compose:: object. */ $imp_ui = new IMP_Ui_Compose(); @@ -75,7 +85,7 @@ case 'reply': case 'reply_all': case 'reply_auto': case 'reply_list': - $reply_msg = $imp_compose->replyMessage($type, $imp_contents, Horde_Util::getFormData('to')); + $reply_msg = $imp_compose->replyMessage($type, $imp_contents, $header['to']); $msg = $reply_msg['body']; $header = $reply_msg['headers']; $header['replytype'] = 'reply';