Prechádzať zdrojové kódy

Dave Huang <khym+skwirl@azeotrope.org> html format reporting

philippe_mingo 23 rokov pred
rodič
commit
95824c7e13

+ 6 - 5
functions/imap_search.php

@@ -142,11 +142,11 @@ function sqimap_search($imapConnection,$search_where,$search_what,$mailbox,$colo
     if (count($messagelist) > 0) {
         $j=0;
         if (!isset ($msg)) { $msg = ""; }
-        
+
         mail_message_listing_beginning( $imapConnection,
             "move_messages.php?msg=$msg&mailbox=$urlMailbox&where=" . urlencode($search_where) . "&what=".urlencode($search_what),
-            $mailbox, 
-            -1, 
+            $mailbox,
+            -1,
             '<b>' . _("Found") . ' ' . count($messagelist) . ' ' . _("messages") . '</b>',
             get_selectall_link($start_msg, $sort) );
 
@@ -155,8 +155,9 @@ function sqimap_search($imapConnection,$search_where,$search_what,$mailbox,$colo
             printMessageInfo($imapConnection, $msgs[$j]["ID"], 0, $j, $mailbox, '', 0, $search_where, $search_what);
             $j++;
         }
-        echo '</table></tr></td></table>';
+        echo '</table></td></tr></table></form>';
+
     }
 }
 
-?>
+?>

+ 1 - 1
functions/mailbox_display.php

@@ -611,7 +611,7 @@ function get_selectall_link($start_msg, $sort) {
             "   }\n" .
             "}\n" .
             "//-->\n" .
-            '</script><a href=\"#\" onClick="CheckAll();">' . _("Toggle All") . "</a>\n";
+            '</script><a href="#" onClick="CheckAll();">' . _("Toggle All") . "</a>\n";
     } else {
         $result .= "<a href=\"$PHP_SELF?mailbox=" . urlencode($mailbox)
                     . "&startMessage=$start_msg&sort=$sort&checkall=";

+ 1 - 1
src/login.php

@@ -143,7 +143,7 @@ if (isset($emailaddress)) {
          "      </TR>\n".
          "      <TR>\n".
          '         <TD WIDTH="30%" ALIGN=right>' . _("Password:") . "</TD>\n".
-         "         <TD WIDTH=* ALIGN=left>\n".
+         "         <TD WIDTH=\"*\" ALIGN=left>\n".
          "            <INPUT TYPE=PASSWORD NAME=\"$password_form_name\">\n".
          "            <INPUT TYPE=HIDDEN NAME=\"js_autodetect_results\" VALUE=\"" . SMPREF_JS_OFF . "\">\n".
          "            <INPUT TYPE=HIDDEN NAME=\"just_logged_in\" value=1>\n";

+ 1 - 1
src/options_highlight.php

@@ -68,7 +68,7 @@ if (count($message_highlight_list) >= 1) {
     echo '<table border="0" cellpadding="3" cellspacing="0" align="center" width="80%">'."\n";
     for ($i=0; $i < count($message_highlight_list); $i++) {
         echo '<tr bgcolor="' . $message_highlight_list[$i]['color'] . '">'.
-                "<td width=\"20%\" bgcolor=\"$color[4]\" nobr>".
+                "<td width=\"20%\" bgcolor=\"$color[4]\" nowrap>".
                 "<small>[<a href=\"options_highlight.php?action=edit&theid=$i\">".
             _("Edit") .
             '</a>]&nbsp;[<a href="options_highlight.php?action=delete&theid='.