From da9a8410fa32eb91f44576621e566f386500f0de Mon Sep 17 00:00:00 2001 From: kink Date: Fri, 25 Jul 2003 22:10:22 +0000 Subject: [PATCH] Some small HTML fixes/improvements git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5422 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mailbox_display.php | 5 +++-- functions/page_header.php | 4 ++-- src/read_body.php | 2 +- src/webmail.php | 11 +++++++---- 4 files changed, 13 insertions(+), 9 deletions(-) diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index ae678a78..c746a0aa 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -877,8 +877,9 @@ function ShowSortButton($sort, $mailbox, $Up, $Down ) { /* Now that we have everything figured out, show the actual button. */ echo ' sort'; + . '">sort'; } function get_selectall_link($start_msg, $sort) { diff --git a/functions/page_header.php b/functions/page_header.php index 8d567d8d..50957d60 100644 --- a/functions/page_header.php +++ b/functions/page_header.php @@ -26,7 +26,7 @@ function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = TRUE global $theme_css, $custom_css, $pageheader_sent; echo '' . - "\n\n" . html_tag( 'html' ,'' , '', '', '' ) . "\n\n"; + "\n\n" . html_tag( 'html' ,'' , '', '', 'lang="'.$squirrelmail_language.'"' ) . "\n\n"; if ( !isset( $custom_css ) || $custom_css == 'none' ) { if ($theme_css != '') { @@ -39,7 +39,7 @@ function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = TRUE if ($squirrelmail_language == 'ja_JP') { echo "\n"; - echo '' . "\n"; + echo '' . "\n"; } if ($do_hook) { diff --git a/src/read_body.php b/src/read_body.php index ca40208f..3c1b7eb9 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -453,7 +453,7 @@ function formatEnvheader($mailbox, $passed_id, $passed_ent_id, $message, } } echo ''."\n"; + ' CELLSPACING="0" BORDER="0" ALIGN="center">'."\n"; echo '
'."\n"; echo $s; diff --git a/src/webmail.php b/src/webmail.php index ac2bac75..d5f8c593 100644 --- a/src/webmail.php +++ b/src/webmail.php @@ -131,13 +131,16 @@ if ($right_frame == 'right_main.php') { $right_frame_url = $right_frame; } +$left_frame = '\n"; +$right_frame = '\n"; + if ($location_of_bar == 'right') { - echo "\n" . - "\n"; + echo $right_frame . $left_frame; } else { - echo "\n". - "\n"; + echo $left_frame . $right_frame; } do_hook('webmail_bottom'); ?> -- 2.25.1