$line = '';
/* If there are unseen message, bold the line. */
- if ($unseen > 0) { $line .= '<B>'; }
+ if ($unseen > 0) { $line .= '<b>'; }
/* Create the link for this folder. */
if ($status !== false) {
$line .= '<a href="right_main.php?PG_SHOWALL=0&startMessage=1&mailbox='.
- $mailboxURL.'" TARGET="right" STYLE="text-decoration:none">';
+ $mailboxURL.'" target="right" style="text-decoration:none">';
}
if ($special_color) {
$line .= "<font color=\"$color[11]\">";
}
/* If there are unseen message, close bolding. */
- if ($unseen > 0) { $line .= "</B>"; }
+ if ($unseen > 0) { $line .= "</b>"; }
/* Print unseen information. */
if ($unseen_string != '') {
- $line .= " <SMALL>$unseen_string</SMALL>";
+ $line .= " <small>$unseen_string</small>";
}
/* If it's the trash folder, show a purge link when needed */
if (($numMessages > 0) or ($box_array['parent'] == 1)) {
$urlMailbox = urlencode($real_box);
$line .= "\n<small>\n" .
- " (<A HREF=\"empty_trash.php\" style=\"text-decoration:none\">"._("purge")."</A>)" .
- "</small>";
+ ' [<a href="empty_trash.php">'._("Purge").'</a>]' .
+ '</small>';
}
}
'href="left_main.php?';
if ($boxes[$boxnum]['collapse'] == SM_BOX_COLLAPSED) {
if ($use_icons && $icon_theme != 'none') {
- $link .= "unfold=$mailbox\"><IMG src=\"" . SM_PATH . "images/plus.png\" border=\"0\" height=\"7\" width=\"7\">";
+ $link .= "unfold=$mailbox\"><img src=\"" . SM_PATH . 'images/plus.png" border="0" height="7" width="7" />';
} else {
$link .= "unfold=$mailbox\">+";
}
} else {
if ($use_icons && $icon_theme != 'none') {
- $link .= "fold=$mailbox\"><IMG src=\"" . SM_PATH . "images/minus.png\" border=\"0\" height=\"7\" width=\"7\">";
+ $link .= "fold=$mailbox\"><img src=\"" . SM_PATH . 'images/minus.png" border="0" height="7" width="7" />';
} else {
$link .= "fold=$mailbox\">-";
}
$link = '<a target="left" style="text-decoration:none" ' .'href="left_main.php?';
if ($collapse) {
if ($use_icons && $icon_theme != 'none') {
- $link .= "unfold=$mailboxURL\">$leader<IMG src=\"" . SM_PATH . "images/plus.png\" border=\"0\" height=\"7\" width=\"7\"> </tt>";
+ $link .= "unfold=$mailboxURL\">$leader<img src=\"" . SM_PATH . 'images/plus.png" border="0" height="7" width="7" /> </tt>';
} else {
$link .= "unfold=$mailboxURL\">$leader+ </tt>";
}
} else {
if ($use_icons && $icon_theme != 'none') {
- $link .= "fold=$mailboxURL\">$leader<IMG src=\"" . SM_PATH . "images/minus.png\" border=\"0\" height=\"7\" width=\"7\"> </tt>";
+ $link .= "fold=$mailboxURL\">$leader<img src=\"" . SM_PATH . 'images/minus.png" border="0" height="7" width="7" /> </tt>';
} else {
$link .= "fold=$mailboxURL\">$leader- </tt>";
}
$end .= " <small>$unseen_string</small>";
}
$end .= "\n<small>\n" .
- " (<a href=\"empty_trash.php\" style=\"text-decoration:none\">"._("purge")."</a>)" .
- "</small>";
+ ' [<a href="empty_trash.php">'._("Purge").'</a>]'.
+ '</small>';
}
} else {
if (!$boxes->is_noselect) {
if ($numMessages > 0) {
$urlMailbox = urlencode($mailbox);
$end .= "\n<small>\n" .
- " (<a class=\"mbx_link\" href=\"empty_trash.php\">"._("purge")."</a>)" .
- "</small>";
+ ' [<a class="mbx_link" href="empty_trash.php">'._("Purge").'</a>]'.
+ '</small>';
}
} else {
if (!$boxes->is_noselect) { /* \Noselect boxes can't be selected */
if ($advanced_tree) {
$xtra .= <<<ECHO
-<script language="Javascript" TYPE="text/javascript">
+<script language="Javascript" type="text/javascript">
<!--
if ($advanced_tree) {
/* nice future feature, needs layout !! volunteers? */
$right_pos = $left_size - 20;
-/* echo '<div style="position:absolute;top:0;border=solid;border-width:0.1em;border-color:blue;"><div ID="hidef" style="width=20;font-size:12"><A HREF="javascript:hideframe(true)"><b><<</b></a></div>';
- echo '<div ID="showf" style="width=20;font-size:12;display:none;"><a href="javascript:hideframe(false)"><b>>></b></a></div>';
- echo '<div ID="incrf" style="width=20;font-size:12"><a href="javascript:resizeframe(true)"><b>></b></a></div>';
- echo '<div ID="decrf" style="width=20;font-size:12"><a href="javascript:resizeframe(false)"><b><</b></a></div></div>';
- echo '<div ID="leftframe"><br /><br />';*/
+/* echo '<div style="position:absolute;top:0;border=solid;border-width:0.1em;border-color:blue;"><div id="hidef" style="width=20;font-size:12"><a href="javascript:hideframe(true)"><b><<</b></a></div>';
+ echo '<div id="showf" style="width=20;font-size:12;display:none;"><a href="javascript:hideframe(false)"><b>>></b></a></div>';
+ echo '<div id="incrf" style="width=20;font-size:12"><a href="javascript:resizeframe(true)"><b>></b></a></div>';
+ echo '<div id="decrf" style="width=20;font-size:12"><a href="javascript:resizeframe(false)"><b><</b></a></div></div>';
+ echo '<div id="leftframe"><br /><br />';*/
}
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. */
}
$clk = str_replace(' ',' ',$clk);
- echo '<center><small>' . str_replace(' ',' ',_("Last Refresh")) .
- ": $clk</small></center>";
+ echo '<nobr><small>' . str_replace(' ',' ',_("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 ) {
}
/* Put the final touches on our folder line. */
- $line .= "</nobr><br>\n";
+ $line .= "</nobr><br />\n";
/* Output the line for this folder. */
echo $line;
do_hook('left_main_after');
sqimap_logout($imapConnection);
-echo '</td></tr></table>' . "\n".
- "</div></body></html>\n";
-
?>
+</td></tr></table>
+</div></body></html>