Browse Source

Removal of %> for those with asp on.

philippe_mingo 23 years ago
parent
commit
db65f45d89

+ 1 - 1
functions/mailbox_display.php

@@ -483,7 +483,7 @@
            '</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" .

+ 7 - 7
functions/mime.php

@@ -944,16 +944,16 @@
                             $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;

+ 1 - 2
functions/page_header.php

@@ -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";

+ 2 - 2
plugins/mail_fetch/fetch.php

@@ -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();
@@ -113,7 +113,7 @@
         
         $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>";

+ 6 - 6
src/read_body.php

@@ -25,11 +25,11 @@
 
     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).'">';
@@ -281,7 +281,7 @@
                 RemoveAddress($url_replytoall_extra_addrs, $cur_email_address);
             }
         }
-    } 
+    }
    
     // 7) Smoosh back into one nice line
     $url_replytoallcc = getLineOfAddrs($url_replytoall_extra_addrs);
@@ -615,9 +615,9 @@
          '</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 .

+ 8 - 8
src/search.php

@@ -27,25 +27,25 @@
    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";