From 21a957a9a91b31034123c59b0afc2f6bd56e1847 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Thu, 25 Dec 2003 10:19:02 +0000 Subject: [PATCH] Removed right target, which is redundant and problematic when viewing right frame in separate window git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6317 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mailbox_display.php | 4 ++-- functions/page_header.php | 10 +++++----- functions/strings.php | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index e3539e0b..67dccac5 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -1005,7 +1005,7 @@ function get_paginator_link($box, $start_msg, $use, $text) { $result = "$text"; + . ">$text"; return ($result); /* if (preg_match('/^(.+)\?.+$/',$PHP_SELF,$regs)) { @@ -1016,7 +1016,7 @@ function get_paginator_link($box, $start_msg, $use, $text) { $result = '$text"; + . ">$text"; return ($result); */ } diff --git a/functions/page_header.php b/functions/page_header.php index b134b141..784e5528 100644 --- a/functions/page_header.php +++ b/functions/page_header.php @@ -303,15 +303,15 @@ function displayPageHeader($color, $mailbox, $xtra='', $session=false) { $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'); diff --git a/functions/strings.php b/functions/strings.php index 29def4c6..9c5981a9 100644 --- a/functions/strings.php +++ b/functions/strings.php @@ -488,7 +488,7 @@ function TrimArray(&$array) { * @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; @@ -500,7 +500,7 @@ function makeComposeLink($url, $text = null) // 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); } -- 2.25.1