* $Id$
*/
-require_once('../functions/strings.php');
-require_once('../functions/imap_utf7_decode_local.php');
-require_once('../functions/html.php');
+require_once(SM_PATH . 'functions/strings.php');
+require_once(SM_PATH . 'functions/html.php');
+require_once(SM_PATH . 'functions/imap_mailbox.php');
/* Always set up the language before calling these functions */
function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = TRUE ) {
' 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";
' 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". "</script>\n";
+
+
$onload = "onLoad=\"checkForm();\"";
displayHtmlHeader ('Squirrelmail', $js);
break;
'<a href="http://www.squirrelmail.org/" target="_blank">SquirrelMail</a>');
echo "</td>\n".
" </tr>\n".
- "</table>\n\n";
+ "</table><br>\n\n";
}
/* blatently copied/truncated/modified from the above function */