From 34c905749d736b54b8786cca0f5501e5cf87fea3 Mon Sep 17 00:00:00 2001 From: philippe_mingo Date: Sun, 17 Mar 2002 20:24:45 +0000 Subject: [PATCH 1/1] QC. Some code cleanup to avoid line overflow on mail list. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2598 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mailbox_display.php | 18 +++++++++--------- functions/page_header.php | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index db159137..3631ac54 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -517,7 +517,7 @@ function mail_message_listing_beginning . " \n" . " \n" . " \n" - . " \n" + . " \n" . '   '. - " '. - " \n"."\n". + ' '. + ' \n"."\n". " \n". - " \n"; + " "; if (!$auto_expunge) { - echo '  '. _("mailbox") ." \n"; + echo ' ' . _("mailbox") . ' '; } - echo " \n". - " \n". - "  \n". - " \n". + echo '' . + '' . + ' ' . + "\n". " \n". "\n"; do_hook('mailbox_form_before'); diff --git a/functions/page_header.php b/functions/page_header.php index 1673fac1..67bd6314 100644 --- a/functions/page_header.php +++ b/functions/page_header.php @@ -13,7 +13,7 @@ require_once('../functions/strings.php'); -// Always set up the language before calling these functions +/* Always set up the language before calling these functions */ function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = TRUE ) { global $theme_css, $custom_css, $base_uri; @@ -23,14 +23,14 @@ function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = TRUE if ( !isset( $custom_css ) || $custom_css == 'none' ) { if ($theme_css != '') { - echo "\n"; + echo ""; } } else { echo '\n"; + $base_uri . 'themes/css/$custom_css">'; } - echo "$title$xtra\n\n"; + echo "\n$title$xtra\n\n"; } function displayInternalLink($path, $text, $target='') { @@ -124,9 +124,9 @@ function displayPageHeader($color, $mailbox, $xtra='') { echo ' '; } echo " \n" - . " \n"; + . ' '; displayInternalLink ('src/signout.php', _("Sign Out"), $frame_top); - echo " \n" + echo "\n" . " \n" . " \n" . " \n"; @@ -152,10 +152,10 @@ function displayPageHeader($color, $mailbox, $xtra='') { do_hook("menuline"); - echo " \n"; + echo " \n "; echo ($hide_sm_attributions ? ' ' : - "SquirrelMail\n"); - echo " \n". + 'SquirrelMail'); + echo "\n". " \n". "\n\n"; } -- 2.25.1