From e1728a7ada03ba597fc2f8a800773cb427a711ce Mon Sep 17 00:00:00 2001 From: jervfors Date: Sun, 15 Aug 2004 04:04:17 +0000 Subject: [PATCH] XHTML fixes git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7904 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mailbox_display.php | 18 ++++++------ plugins/filters/options.php | 28 +++++++++---------- .../message_details_bottom.php | 6 ++-- plugins/spamcop/options.php | 10 +++---- plugins/squirrelspell/modules/init.mod | 2 +- src/left_main.php | 4 +-- src/options_highlight.php | 2 +- src/read_body.php | 14 +++++----- src/search.php | 14 +++++----- 9 files changed, 49 insertions(+), 49 deletions(-) diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index 4229b498..d353415a 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -300,7 +300,7 @@ function printMessageInfo($aMsg) { $sSubject = str_replace(' ', ' ', decodeHeader($sSubject)); $subject = processSubject($sSubject, $iIndent); - echo html_tag( 'tr','','','','VALIGN="top"') . "\n"; + echo html_tag( 'tr','','','','valign="top"') . "\n"; if (sizeof($index_order)) { foreach ($index_order as $index_order_part) { @@ -1189,24 +1189,24 @@ function mail_message_listing_beginning ($imapConnection, // display flag buttons only if supported if ($show_flag_buttons && in_array('\\flagged',$aMailbox['PERMANENTFLAGS'], true) ) { - $button_str .= getButton('SUBMIT', 'markUnflagged', _("Unflag")); - $button_str .= getButton('SUBMIT', 'markFlagged', _("Flag")); + $button_str .= getButton('submit', 'markUnflagged', _("Unflag")); + $button_str .= getButton('submit', 'markFlagged', _("Flag")); $button_str .= " \n"; } if (in_array('\\seen',$aMailbox['PERMANENTFLAGS'], true)) { - $button_str .= getButton('SUBMIT', 'markUnread', _("Unread")); - $button_str .= getButton('SUBMIT', 'markRead', _("Read")); + $button_str .= getButton('submit', 'markUnread', _("Unread")); + $button_str .= getButton('submit', 'markRead', _("Read")); $button_str .= " \n"; } - $button_str .= getButton('SUBMIT', 'attache',_("Forward")) . + $button_str .= getButton('submit', 'attache',_("Forward")) . " \n"; if (in_array('\\deleted',$aMailbox['PERMANENTFLAGS'], true)) { - $button_str .= getButton('SUBMIT', 'delete',_("Delete")); + $button_str .= getButton('submit', 'delete',_("Delete")); $button_str .= '' . _("Bypass Trash"); $button_str .= " \n"; } if (!$aMailbox['AUTO_EXPUNGE'] && $aMailbox['RIGHTS'] != 'READ-ONLY') { - $button_str .= getButton('SUBMIT', 'expungeButton',_("Expunge")) .' ' . _("mailbox") . "\n"; + $button_str .= getButton('submit', 'expungeButton',_("Expunge")) .' ' . _("mailbox") . "\n"; $button_str .= ' '; } ?> @@ -1240,7 +1240,7 @@ function mail_message_listing_beginning ($imapConnection,   - + '. ''. '' . ''. @@ -163,23 +163,23 @@ if (sqgetGlobalVar('filter_submit',$filter_submit,SQ_POST)) { $L = isset($filters[$theid]['where']); - $sel = (($L && $filters[$theid]['where'] == 'From')?'selected':''); - echo "'; + $sel = (($L && $filters[$theid]['where'] == 'From')?' selected="selected"':''); + echo "'; - $sel = (($L && $filters[$theid]['where'] == 'To')?'selected':''); - echo "'; + $sel = (($L && $filters[$theid]['where'] == 'To')?' selected="selected"':''); + echo "'; - $sel = (($L && $filters[$theid]['where'] == 'Cc')?'selected':''); - echo "'; + $sel = (($L && $filters[$theid]['where'] == 'Cc')?' selected="selected"':''); + echo "'; - $sel = (($L && $filters[$theid]['where'] == 'To or Cc')?'selected':''); - echo "'; + $sel = (($L && $filters[$theid]['where'] == 'To or Cc')?' selected="selected"':''); + echo "'; - $sel = (($L && $filters[$theid]['where'] == 'Subject')?'selected':''); - echo "'; + $sel = (($L && $filters[$theid]['where'] == 'Subject')?' selected="selected"':''); + echo "'; - $sel = (($L && $filters[$theid]['where'] == 'Header')?'selected':''); - echo "'; + $sel = (($L && $filters[$theid]['where'] == 'Header')?' selected="selected"':''); + echo "'; echo ''. ''. diff --git a/plugins/message_details/message_details_bottom.php b/plugins/message_details/message_details_bottom.php index be24a0b2..29c6d8fe 100644 --- a/plugins/message_details/message_details_bottom.php +++ b/plugins/message_details/message_details_bottom.php @@ -104,7 +104,7 @@ for ($i=1; $i < $count; $i++) { } else if ($messageheader) { if ($header) { $header=false; - $end = "\n \n".''."\n \n".'
'."\n \n"; + $end = "\n \n".'
'."\n \n".'
'."\n \n"; } $mimepart = -$header; $bnd_end = false; @@ -116,7 +116,7 @@ for ($i=1; $i < $count; $i++) { } else { if ($header) { $pre = ''; - $end = "\n \n".'
'."\n \n".'
'."\n \n"; + $end = "\n \n".'
'."\n \n".'
'."\n \n"; } $header = false; $mimepart=true; @@ -191,7 +191,7 @@ for ($i=1; $i < $count; $i++) { $content_indx++; $content[$content_indx]=array(); $content[$content_indx]['ent'] = '$entStr".''; - $pre .= "\n \n".'
'."\n \n".'
'; + $pre .= "\n \n".'
'."\n \n".'
'; $end .= ''."\n"; $header = true; $mimepart = false; diff --git a/plugins/spamcop/options.php b/plugins/spamcop/options.php index 6367d1c4..d722d0d5 100755 --- a/plugins/spamcop/options.php +++ b/plugins/spamcop/options.php @@ -113,20 +113,20 @@ spamcop_load(); "._("Quick email-based reporting"); echo ''; } ?> @@ -146,13 +146,13 @@ spamcop_load();