Give compose screen the startMessage

This commit is contained in:
pdontthink 2003-12-17 02:03:03 +00:00
parent 6beccae928
commit c56c27facd

View file

@ -120,7 +120,8 @@ function displayPageHeader($color, $mailbox, $xtra='', $session=false) {
global $hide_sm_attributions, $PHP_SELF, $frame_top,
$compose_new_win, $compose_width, $compose_height,
$attachemessages, $provider_name, $provider_uri,
$javascript_on, $default_use_mdn, $mdn_user_support;
$javascript_on, $default_use_mdn, $mdn_user_support,
$startMessage;
sqgetGlobalVar('base_uri', $base_uri, SQ_SESSION );
sqgetGlobalVar('delimiter', $delimiter, SQ_SESSION );
@ -300,7 +301,7 @@ function displayPageHeader($color, $mailbox, $xtra='', $session=false) {
: html_tag( 'td', '', 'left' ) )
. "\n";
$urlMailbox = urlencode($mailbox);
echo makeComposeLink('src/compose.php?mailbox='.$urlMailbox);
echo makeComposeLink('src/compose.php?mailbox='.$urlMailbox.'&startMessage='.$startMessage);
echo "  \n";
displayInternalLink ('src/addressbook.php', _("Addresses"), 'right');
echo "  \n";