}
echo "\n\n" . html_tag( 'html' ,'' , '', '', 'lang="'.$squirrelmail_language.'"' ) . "\n<head>\n";
+ /*
+ * Add closing / to link and meta elements only after switching to xhtml 1.0 Transitional.
+ * It is not compatible with html 4.01 Transitional
+ */
if ( !isset( $custom_css ) || $custom_css == 'none' ) {
if ($theme_css != '') {
- echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"$theme_css\" />";
+ echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"$theme_css\">";
}
} else {
echo '<link rel="stylesheet" type="text/css" href="' .
- $base_uri . 'themes/css/'.$custom_css.'" />';
+ $base_uri . 'themes/css/'.$custom_css.'">';
}
if ($squirrelmail_language == 'ja_JP') {
* recommendations and switch to unicode.
*/
echo "<!-- \xfd\xfe -->\n";
- echo '<meta http-equiv="Content-type" content="text/html; charset=euc-jp" />' . "\n";
+ echo '<meta http-equiv="Content-type" content="text/html; charset=euc-jp">' . "\n";
}
if ($do_hook) {