X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fpage_header.php;h=7ea711d077d104ddff771755a0e8eeb39ea8e5f2;hb=b44ee3f0f2ffca2217c29803f3c411e562ad937a;hp=abf7196717ff7f2e70d39c44b22cfffc29878461;hpb=087ce5f88975207f941011e21aed541c5a8aef85;p=squirrelmail.git diff --git a/functions/page_header.php b/functions/page_header.php index abf71967..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'); /* 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,11 +172,13 @@ 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"; } $js .= "// -->\n". "\n"; + + $onload = "onLoad=\"checkForm();\""; displayHtmlHeader ('Squirrelmail', $js); break;