$result = "<A HREF=\"right_main.php?use_mailbox_cache=$use"
. "&startMessage=$start_msg&mailbox=$box\" "
- . "TARGET=\"right\">$text</A>";
+ . ">$text</A>";
return ($result);
/*
if (preg_match('/^(.+)\?.+$/',$PHP_SELF,$regs)) {
$result = '<A HREF="'. $source_url . "?use_mailbox_cache=$use"
. "&startMessage=$start_msg&mailbox=$box\" "
- . "TARGET=\"right\">$text</A>";
+ . ">$text</A>";
return ($result);
*/
}
$urlMailbox = urlencode($mailbox);
echo makeComposeLink('src/compose.php?mailbox='.$urlMailbox.'&startMessage='.$startMessage);
echo " \n";
- displayInternalLink ('src/addressbook.php', _("Addresses"), 'right');
+ displayInternalLink ('src/addressbook.php', _("Addresses"));
echo " \n";
- displayInternalLink ('src/folders.php', _("Folders"), 'right');
+ displayInternalLink ('src/folders.php', _("Folders"));
echo " \n";
- displayInternalLink ('src/options.php', _("Options"), 'right');
+ displayInternalLink ('src/options.php', _("Options"));
echo " \n";
- displayInternalLink ("src/search.php?mailbox=$urlMailbox", _("Search"), 'right');
+ displayInternalLink ("src/search.php?mailbox=$urlMailbox", _("Search"));
echo " \n";
- displayInternalLink ('src/help.php', _("Help"), 'right');
+ displayInternalLink ('src/help.php', _("Help"));
echo " \n";
do_hook('menuline');
* @param string text the link text, default "Compose"
* @return string a link to the compose page
*/
-function makeComposeLink($url, $text = null)
+function makeComposeLink($url, $text = null, $target='')
{
global $compose_new_win,$javascript_on;
// if not using "compose in new window", make
// regular link and be done with it
if($compose_new_win != '1') {
- return makeInternalLink($url, $text, 'right');
+ return makeInternalLink($url, $text, $target);
}