From 602b2bdf52fee8f2fb0e3fc672336cdc782ced6f Mon Sep 17 00:00:00 2001 From: stekkel Date: Fri, 16 Aug 2002 14:11:15 +0000 Subject: [PATCH] javascript fix for window.open. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3330 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/page_header.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/functions/page_header.php b/functions/page_header.php index 1a236400..7ea711d0 100644 --- a/functions/page_header.php +++ b/functions/page_header.php @@ -12,9 +12,9 @@ */ require_once('../functions/strings.php'); -require_once('../functions/imap_utf7_decode_local.php'); +//require_once('../functions/imap_utf7_decode_local.php'); require_once('../functions/html.php'); -//require_once('../functions/imap_mailbox.php'); +require_once('../functions/imap_mailbox.php'); /* Always set up the language before calling these functions */ function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = TRUE ) { @@ -89,7 +89,7 @@ function displayPageHeader($color, $mailbox, $xtra='', $session=false) { ' var newwin = window.open(comp_uri' . ', "_blank",'. '"width='.$compose_width. ',height='.$compose_height. - '",scrollbars="yes",resizable="yes");'."\n". + ',scrollbars=yes,resizable=yes");'."\n". "}\n\n"; @@ -172,7 +172,7 @@ function displayPageHeader($color, $mailbox, $xtra='', $session=false) { ' var newwin = window.open(comp_uri' . ', "_blank",'. '"width='.$compose_width. ',height='.$compose_height. - '",scrollbars="yes",resizable="yes");'."\n". + ',scrollbars=yes,resizable=yes");'."\n". "}\n\n"; } -- 2.25.1