From: <pdo...@us...> - 2016-05-30 08:14:50
|
Revision: 14555 http://sourceforge.net/p/squirrelmail/code/14555 Author: pdontthink Date: 2016-05-30 08:14:48 +0000 (Mon, 30 May 2016) Log Message: ----------- Allow priority and identity selections to be given by callers. Looks to have been intended to work this way, but never tested. Modified Paths: -------------- branches/SM-1_4-STABLE/squirrelmail/src/compose.php Modified: branches/SM-1_4-STABLE/squirrelmail/src/compose.php =================================================================== --- branches/SM-1_4-STABLE/squirrelmail/src/compose.php 2016-05-07 03:21:38 UTC (rev 14554) +++ branches/SM-1_4-STABLE/squirrelmail/src/compose.php 2016-05-30 08:14:48 UTC (rev 14555) @@ -72,6 +72,7 @@ } sqgetGlobalVar('session',$session, $SQ_GLOBAL); sqgetGlobalVar('mailbox',$mailbox, $SQ_GLOBAL); +sqgetGlobalVar('identity',$orig_identity, $SQ_GLOBAL); if ( !sqgetGlobalVar('identity',$identity, $SQ_GLOBAL) ) { $identity = 0; } @@ -679,6 +680,12 @@ if (isset($subject)) { $values['subject'] = $subject; } + if (isset($mailprio)) { + $values['mailprio'] = $mailprio; + } + if (isset($orig_identity)) { + $values['identity'] = $orig_identity; + } showInputForm($session, $values); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |