Removal of %> for those with asp on.
authorphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 25 Nov 2001 17:46:53 +0000 (17:46 +0000)
committerphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 25 Nov 2001 17:46:53 +0000 (17:46 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1802 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mailbox_display.php
functions/mime.php
functions/page_header.php
plugins/mail_fetch/fetch.php
src/read_body.php
src/search.php

index d6f76ab66e1afe95408bfdb61d8e2ac5f967b4bd..a819fa1b95fcf57037aaf1ba43d61518fc93d9c9 100644 (file)
            '</TD></TR>'.
            "<TR><TD BGCOLOR=\"$color[0]\">\n".
            "<FORM name=messageList method=post action=\"$moveURL\">\n".
-           "<TABLE BGCOLOR=\"$color[0]\" COLS=2 BORDER=0 cellpadding=0 cellspacing=0 width=100%>\n".
+           "<TABLE BGCOLOR=\"$color[0]\" COLS=2 BORDER=0 cellpadding=0 cellspacing=0 width=\"100%\">\n".
            "   <TR>\n" .
            "      <TD ALIGN=LEFT VALIGN=CENTER NOWRAP>\n" .
            '         <SMALL>&nbsp;' . _("Move selected to:") . "</SMALL>\n" .
index e95246e79ffcc7c9b2baf245150f5e820db39016..c8dcda3e5181b3792b375d4658398fcdf2c8e322 100644 (file)
                             $ret .= '<b>' . _("Title:") . " </b>$title<br>\n";
                         $ret .= "<TABLE";
                         $i += 5;
-                       if (! isset($base))
-                          $base = '';
-                       $ret .= stripEvent( $i, $j, $body, $id, $base );
-                        $ret .= " bgcolor=$bgcolor width=100%><tr>";
+                        if (! isset($base))
+                            $base = '';
+                        $ret .= stripEvent( $i, $j, $body, $id, $base );
+                        $ret .= " bgcolor=$bgcolor width=\"100%\"><tr>";
                         if( $leftmargin <> '' )
                             $ret .= "<td width=$leftmargin>&nbsp;</td>";
                         $ret .= '<td>';
-                       if (strtolower($bgcolor) == 'ffffff' || 
-                           strtolower($bgcolor) == '#ffffff')
-                          $ret .= '<font color=#000000>';
+                        if (strtolower($bgcolor) == 'ffffff' ||
+                            strtolower($bgcolor) == '#ffffff')
+                            $ret .= '<font color=#000000>';
                         break;
                     case 'BASE':
                         $i += 5;
index 3afdeef122aae02e436b5ca8af13256d383878d8..c6a1f4b0d0280312501b89767cea665c6db886cd 100644 (file)
@@ -36,7 +36,7 @@
 
       if ($target != '')
          $target = " target=\"$target\"";
-      
+
       echo '<a href="'.$base_uri.$path.'"'.$target.'>'.$text.'</a>';
    }
 
@@ -49,7 +49,6 @@
       /** Here is the header and wrapping table **/
       $shortBoxName = readShortMailboxName($mailbox, $delimiter);
       echo "<A NAME=pagetop></A>\n".
-      // "<table cellpadding=1 cellspacing=1 BGCOLOR=\"$color[4]\" width=100%><tr><td>".
            "<TABLE BGCOLOR=\"$color[4]\" BORDER=0 WIDTH=\"100%\" CELLSPACING=0 CELLPADDING=2>\n".
            "   <TR BGCOLOR=\"$color[9]\" >\n".
            "      <TD ALIGN=left><b>\n";
index 5482c6bb0b52137f8aa287a2d267ac51ed117582..0ba24dfe577f8d38bf182712a14e1439eb6daf94 100644 (file)
@@ -22,7 +22,7 @@
 
 
     function Mail_Fetch_Status($msg) {
-        echo '<table width=90%><tr><td>' .
+        echo '<table width="90%"><tr><td>' .
             htmlspecialchars( $msg ) .
             '</td></tr></table>';
         flush();
         
         $pop3 = new POP3($mailfetch_server, 60);
         
-        echo "<br><table width=90%><tr bgcolor=\"$color[9]\"><td><b>" . 
+        echo "<br><table width=\"90%\"><tr bgcolor=\"$color[9]\"><td><b>" . 
             _("Fetching from ") . 
             (($mailfetch_alias_[$i_loop] == '')?$mailfetch_server:$mailfetch_alias_[$i_loop]) . 
             "</b></td></tr></table>";
index 009cc2c988505684efe7a42628900b1c57cf68ea..11676926b85943d53c6723ff5b74e3c38cf9e4c6 100644 (file)
 
     if (isset($view_hdr)) {
         fputs ($imapConnection, sqimap_session_id() . " FETCH $passed_id BODY[HEADER]\r\n");
-        $read = sqimap_read_data ($imapConnection, sqimap_session_id(), true, $a, $b); 
-      
+        $read = sqimap_read_data ($imapConnection, sqimap_session_id(), true, $a, $b);
+
         echo '<BR>' .
              '<TABLE WIDTH="100%" CELLPADDING="2" CELLSPACING="0" BORDER="0" ALIGN="CENTER">' . "\n" .
-             "   <TR><TD BGCOLOR=\"$color[9]\" WIDTH=100%><CENTER><B>" . _("Viewing Full Header") . '</B> - ';
+             "   <TR><TD BGCOLOR=\"$color[9]\" WIDTH=\"100%\"><CENTER><B>" . _("Viewing Full Header") . '</B> - ';
         if (isset($where) && isset($what)) {
             // Got here from a search
             echo "<a href=\"read_body.php?mailbox=".urlencode($mailbox)."&passed_id=$passed_id&where=".urlencode($where)."&what=".urlencode($what).'">';
                 RemoveAddress($url_replytoall_extra_addrs, $cur_email_address);
             }
         }
-    } 
+    }
    
     // 7) Smoosh back into one nice line
     $url_replytoallcc = getLineOfAddrs($url_replytoall_extra_addrs);
          '</TABLE>';
     flush();        
     echo "<TABLE CELLSPACING=0 WIDTH=97% BORDER=0 ALIGN=CENTER CELLPADDING=0>\n" .
-         "   <TR><TD BGCOLOR=\"$color[4]\" WIDTH=100%>\n" .
+         "   <TR><TD BGCOLOR=\"$color[4]\" WIDTH=\"100%\">\n" .
          '<BR>';
-   
+
     $body = formatBody($imapConnection, $message, $color, $wrap_at);
 
     echo $body .
index 5a47caaf754733085f439c2460c8d0846d4722e8..2dda97c4e8482d9f6866f9d5a04b05c2d30b6983 100644 (file)
    echo '      <tr><td align=center>';
 
    echo "<FORM ACTION=\"search.php\" NAME=s>\n";
-   echo "   <TABLE WIDTH=75%>\n";
+   echo "   <TABLE WIDTH=\"75%\">\n";
    echo "     <TR>\n";
-   echo "       <TD WIDTH=33%>\n";
+   echo "       <TD WIDTH=\"33%\">\n";
    echo '         <TT><SMALL><SELECT NAME="mailbox">';
 
    $boxes = sqimap_mailbox_list($imapConnection);
    for ($i = 0; $i < count($boxes); $i++) {
-         if (!in_array('noselect', $boxes[$i]['flags'])) {
+      if (!in_array('noselect', $boxes[$i]['flags'])) {
          $box = $boxes[$i]['unformatted'];
-        $box2 = str_replace(' ', '&nbsp;', $boxes[$i]['unformatted-disp']);
+         $box2 = str_replace(' ', '&nbsp;', $boxes[$i]['unformatted-disp']);
          if ($mailbox == $box)
-            echo "         <OPTION VALUE=\"$box\" SELECTED>$box2\n";
+            echo "         <OPTION VALUE=\"$box\" SELECTED>$box2</OPTION>\n";
          else
-            echo "         <OPTION VALUE=\"$box\">$box2\n";
+            echo "         <OPTION VALUE=\"$box\">$box2</OPTION>\n";
       }
    }
    echo '         </SELECT></SMALL></TT>';
    echo "       </TD>\n";
-   echo "        <TD ALIGN=\"CENTER\" WIDTH=33%>\n";
+   echo "        <TD ALIGN=\"CENTER\" WIDTH=\"33%\">\n";
    if (!isset($what))
        $what = '';
    $what_disp = ereg_replace(',', ' ', $what);
@@ -54,7 +54,7 @@
    $what_disp = str_replace('"', '&quot;', $what_disp);
    echo "          <INPUT TYPE=\"TEXT\" SIZE=\"20\" NAME=\"what\" VALUE=\"$what_disp\">\n";
    echo '        </TD>';
-   echo "       <TD ALIGN=\"RIGHT\" WIDTH=33%>\n";
+   echo "       <TD ALIGN=\"RIGHT\" WIDTH=\"33%\">\n";
    echo '         <SELECT NAME="where">';
    
    if (isset($where) && $where == 'BODY') echo '           <OPTION VALUE="BODY" SELECTED>'._("Body")."\n";