* @param string target the target frame for this link
*/
function makeInternalLink($path, $text, $target='') {
- global $use_frames;
sqgetGlobalVar('base_uri', $base_uri, SQ_SESSION);
- if (isset($use_frames) && $use_frames) {
- if ($target != '')
- $target = " target=\"$target\"";
- } else
- $target='';
-
+ if ($target != '') {
+ $target = " target=\"$target\"";
+ }
$hooktext = do_hook_function('internal_link',$text);
if ($hooktext != '')
$text = $hooktext;
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 );
}
echo "<body text=\"$color[8]\" bgcolor=\"$color[4]\" link=\"$color[7]\" vlink=\"$color[7]\" alink=\"$color[7]\" $onload>\n\n";
- noframes_top();
-
/** Here is the header and wrapping table **/
$shortBoxName = imap_utf7_decode_local(
readShortMailboxName($mailbox, $delimiter));
: 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";
}
echo "<body text=\"$color[8]\" bgcolor=\"$color[4]\" link=\"$color[7]\" vlink=\"$color[7]\" alink=\"$color[7]\" $onload>\n\n";
-
-
}
-?>
\ No newline at end of file
+?>