added small lines between the messages
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 6 Oct 2002 18:12:34 +0000 (18:12 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 6 Oct 2002 18:12:34 +0000 (18:12 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3773 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mailbox_display.php

index 2f7c41c..d5c8663 100644 (file)
@@ -149,7 +149,7 @@ function printMessageInfo($imapConnection, $t, $i, $key, $mailbox,
     $row->class = 'm_r';
     $row->id = 'mr'.$t;
     
-    
+    $col = 0;
     if (sizeof($index_order)){
         foreach ($index_order as $index_order_part) {
             switch ($index_order_part) {
@@ -158,6 +158,7 @@ function printMessageInfo($imapConnection, $t, $i, $key, $mailbox,
                                "<input type=checkbox name=\"msg[$t]\" value=\"".$msg['ID']."\"$checked>",
                                'center', 
                                $hlt_color );
+               ++$col;
                 break;
             case 2: /* from */
                 echo html_tag( 'td',
@@ -165,6 +166,7 @@ function printMessageInfo($imapConnection, $t, $i, $key, $mailbox,
                                $fontstr_end . $flag_end . $bold_end . $italic_end,
                                'left',
                                $hlt_color );
+               ++$col;                        
                 break;
             case 3: /* date */
                 echo html_tag( 'td',
@@ -173,6 +175,7 @@ function printMessageInfo($imapConnection, $t, $i, $key, $mailbox,
                                'center',
                                $hlt_color,
                                'nowrap' );
+               ++$col;                        
                 break;
             case 4: /* subject */
                 $td_str = $bold;
@@ -194,6 +197,7 @@ function printMessageInfo($imapConnection, $t, $i, $key, $mailbox,
                 }
                 $td_str .= ">$flag$subject$flag_end</a>$bold_end";
                 echo html_tag( 'td', $td_str, 'left', $hlt_color );
+               ++$col;         
                 break;
             case 5: /* flags */
                 $stuff = false;
@@ -230,6 +234,7 @@ function printMessageInfo($imapConnection, $t, $i, $key, $mailbox,
                                'center',
                                $hlt_color,
                                'nowrap' );
+               ++$col;                        
                 break;
             case 6: /* size */
 
@@ -238,11 +243,13 @@ function printMessageInfo($imapConnection, $t, $i, $key, $mailbox,
                                $fontstr_end . $bold_end,
                                'right',
                                $hlt_color );
+               ++$col;                        
                 break;
             }
         }
     }
-    echo "</tr>\n";
+    echo '</tr>'."\n".'<tr><td colspan="'.$col.'" BGCOLOR="'.
+                               $color[3].'"></td></tr>'."\n";
 }
 
 function getThreadMessages($imapConnection, $start_msg, $show_num, $num_msgs) {