Changing link style
[squirrelmail.git] / src / left_main.php
index 2863f5572ed20665b68415a23dbaed623abdcb59..c02855008e1689dff0b4d1fccbe0c5e40be2425b 100644 (file)
@@ -102,8 +102,8 @@ function formatMailboxName($imapConnection, $box_array) {
         if (($numMessages > 0) or ($box_array['parent'] == 1)) {
             $urlMailbox = urlencode($real_box);
             $line .= "\n<small>\n" .
-                    "&nbsp;&nbsp;(<A HREF=\"empty_trash.php\" style=\"text-decoration:none\">"._("purge")."</A>)" .
-                    "</small>";
+                    '&nbsp;&nbsp;[<a href="empty_trash.php" style="text-decoration:none">'._("purge").'</a>]' .
+                    '</small>';
         }
     }
 
@@ -398,8 +398,8 @@ function ListBoxes ($boxes, $j=0 ) {
                 $end .= "&nbsp;<small>$unseen_string</small>";
             }
             $end .= "\n<small>\n" .
-                    "&nbsp;&nbsp;(<a href=\"empty_trash.php\" style=\"text-decoration:none\">"._("purge")."</a>)" .
-                    "</small>";
+                    '&nbsp;&nbsp;[<a href="empty_trash.php" style="text-decoration:none">'._("purge").'</a>]'.
+                    '</small>';
         }
     } else {
         if (!$boxes->is_noselect) {
@@ -524,8 +524,8 @@ function ListAdvancedBoxes ($boxes, $mbx, $j='ID.0000' ) {
         if ($numMessages > 0) {
             $urlMailbox = urlencode($mailbox);
             $end .= "\n<small>\n" .
-                    "&nbsp;&nbsp;(<a class=\"mbx_link\" href=\"empty_trash.php\">"._("purge")."</a>)" .
-                    "</small>";
+                    '&nbsp;&nbsp;[<a class="mbx_link" href="empty_trash.php">'._("purge").'</a>]'.
+                    '</small>';
         }
     } else {
         if (!$boxes->is_noselect) { /* \Noselect boxes can't be selected */
@@ -967,7 +967,10 @@ if ($advanced_tree) {
 echo "\n\n" . html_tag( 'table', '', 'left', '', 'border="0" cellspacing="0" cellpadding="0" width="99%"' ) .
     html_tag( 'tr' ) .
     html_tag( 'td', '', 'left' ) .
-    '<center><font size="4"><b>'. _("Folders") . "</b><br /></font>\n\n";
+    html_tag( 'table', '', '', '', 'border="0" cellspacing="0" cellpadding="0"' ) .
+    html_tag( 'tr' ) .
+    html_tag( 'td', '', 'center' ) .
+    '<font size="4"><b>'. _("Folders") . "</b><br /></font>\n\n";
 
 if ($date_format != 6) {
     /* First, display the clock. */
@@ -1003,13 +1006,13 @@ if ($date_format != 6) {
     }
     $clk = str_replace(' ','&nbsp;',$clk);
 
-    echo '<center><small>' . str_replace(' ','&nbsp;',_("Last Refresh")) .
-         ": $clk</small></center>";
+    echo '<nobr><small>' . str_replace(' ','&nbsp;',_("Last Refresh")) .
+         ": $clk</small></nobr><br />";
 }
 
 /* Next, display the refresh button. */
-echo '<small>(<a href="../src/left_main.php" target="left">'.
-     _("refresh folder list") . '</a>)</small></center><br />';
+echo '<nobr><small>[<a href="../src/left_main.php" target="left">'.
+     _("Check mail") . '</a>]</small></nobr></td></tr></table><br />';
 
 /* Lastly, display the folder list. */
 if ( $collapse_folders ) {
@@ -1122,4 +1125,4 @@ sqimap_logout($imapConnection);
 echo '</td></tr></table>' . "\n".
     "</div></body></html>\n";
 
-?>
+?>
\ No newline at end of file