From: stekkel Date: Thu, 10 Oct 2002 21:13:34 +0000 (+0000) Subject: UI thread: Permission to add back the lines between the header and body. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=feb5ec1b57d1fd269667a734ccfe2109b2184e5d;p=squirrelmail.git UI thread: Permission to add back the lines between the header and body. Currently the aligning is center and I added small vertical lines left and right from the body for a better layout. If you don't like them then comment the line out! See the if UIpref is whatever. If there is 100% agreement on the layout we could make remove the UIpref statement. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3828 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/read_body.php b/src/read_body.php index 2da1a593..136edca6 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -455,12 +455,15 @@ function formatEnvheader($mailbox, $passed_id, $passed_ent_id, $message, $s .= ''; } } - //echo ''."\n"; + echo '
'."\n"; + echo '
'."\n"; echo $s; do_hook("read_body_header"); formatToolbar($mailbox, $passed_id, $passed_ent_id, $message, $color); echo '
'; + echo ''."\n"; + echo ''; } function formatMenubar($mailbox, $passed_id, $passed_ent_id, $message, $mbx_response) { @@ -784,6 +787,15 @@ for ($i = 0; $i < $cnt; $i++) { $messagebody .= '
'; } } +$UIpref = 'captbunzo'; +/* handy preference utility to easy switch between preferences */ +if ($UIpref== 'captbunzo') { + $align= 'center'; + $vert_lines = ''; /* test! Delete it when you are not satisfied */ +} else { + $align= 'left'; + $vert_lines = ''; +} displayPageHeader($color, $mailbox); formatMenuBar($mailbox, $passed_id, $passed_ent_id, $message, $mbx_response); @@ -794,8 +806,9 @@ echo ' ';
'; echo ' '; echo ' '; echo '
'; -echo ' '; -echo ' '. html_tag( 'td', '
'. $messagebody."\n", 'left').''; +echo '
'; +echo ' '.$vert_lines. html_tag( 'td', '
'. $messagebody."\n", 'left') + .$vert_lines.''; echo '
'; echo '