285
285
return ($parbox_name == $actual_parname);
288
function ListBoxes ($boxes, $j=0 ) {
288
function listBoxes ($boxes, $j=0 ) {
289
289
global $data_dir, $username, $startmessage, $color, $unseen_notify, $unseen_type,
290
$move_to_trash, $trash_folder, $collapse_folders, $imapConnection;
292
if (!isset($boxes) || empty($boxes))
290
$move_to_trash, $trash_folder, $collapse_folders, $use_special_folder_color,
297
295
$collapse = false;
298
$unseen_found = false;
301
$mailbox = $boxes->mailboxname_full;
303
$leader .= str_repeat(' ',$j);
304
$mailboxURL = urlencode($mailbox);
306
/* get unseen/total messages information */
307
/* Only need to display info when option is set */
308
if (isset($unseen_notify) && ($unseen_notify > 1) &&
309
(($boxes->unseen !== false) || ($boxes->total !== false))) {
311
if ($boxes->unseen !== false)
297
$mailbox = $boxes->mailboxname_full;
299
for ($k = 0; $k < $j; $k++) {
300
$leader.= ' ';
302
$mailboxURL = urlencode($mailbox);
304
/* get unseen/total messages information */
305
if ($boxes->unseen) {
312
306
$unseen = $boxes->unseen;
315
Should only display unseen info if the folder is inbox
316
or you set the option for all folders
319
if ((strtolower($mailbox) == 'inbox') || ($unseen_notify == 3)) {
320
$unseen_string = $unseen;
322
/* If users requests, display message count too */
323
if (isset($unseen_type) && ($unseen_type == 2) && ($boxes->total !== false)) {
324
$unseen_string .= '/' . $boxes->total;
327
$unseen_string = "<font color=\"$color[11]\">($unseen_string)</font>";
330
Finally allow the script to display the values by setting a boolean.
331
This can only occur if the unseen count is great than 0 (if you have
332
unseen count only), or you have the message count too.
334
if (($unseen > 0) || (isset($unseen_type) && ($unseen_type ==2))) {
335
$unseen_found = true;
340
if (isset($boxes->mbxs[0]) && $collapse_folders) {
341
$collapse = getPref($data_dir, $username, 'collapse_folder_' . $mailbox);
342
$collapse = ($collapse == '' ? SM_BOX_UNCOLLAPSED : $collapse);
344
$link = '<a target="left" style="text-decoration:none" ' .'href="left_main.php?';
346
$link .= "unfold=$mailboxURL\">$leader+ </tt>";
348
$link .= "fold=$mailboxURL\">$leader- </tt>";
353
$pre.= $leader . ' </tt>';
356
/* If there are unseen message, bold the line. */
357
if (($move_to_trash) && ($mailbox == $trash_folder)) {
358
if (! isset($boxes->total)) {
359
$boxes->total = sqimap_status_messages($imapConnection, $mailbox);
364
$pre .= "<a href=\"right_main.php?PG_SHOWALL=0&sort=0;startMessage=1&mailbox=$mailboxURL\" target=\"right\" style=\"text-decoration:none\">";
369
if ($boxes->total > 0) {
373
$pre .= "<a href=\"right_main.php?PG_SHOWALL=0&sort=0;startMessage=1&mailbox=$mailboxURL\" target=\"right\" style=\"text-decoration:none\">";
377
/* Print unseen information. */
379
$end .= " <small>$unseen_string</small>";
381
$end .= "\n<small>\n" .
382
" (<a href=\"empty_trash.php\" style=\"text-decoration:none\">"._("purge")."</a>)" .
386
if (!$boxes->is_noselect) {
390
$pre .= "<a href=\"right_main.php?PG_SHOWALL=0&sort=0&startMessage=1&mailbox=$mailboxURL\" target=\"right\" style=\"text-decoration:none\">";
307
$unseen_string = "($unseen)";
308
if ($unseen>0) $unseen_found = TRUE;
310
$numMessages = $boxes->total;
311
$unseen_string = "<font color=\"$color[11]\">($unseen/$numMessages)</font>";
317
if (isset($boxes->mbxs[0]) && $collapse_folders) {
318
$collapse = getPref($data_dir, $username, 'collapse_folder_' . $mailbox);
319
$collapse = ($collapse == '' ? SM_BOX_UNCOLLAPSED : $collapse);
321
$link = '<a target="left" style="text-decoration:none" ' .'href="left_main.php?';
323
$link .= "unfold=$mailboxURL\">$leader + ";
325
$link .= "fold=$mailboxURL\">$leader - ";
330
$pre.= $leader . ' ';
334
/* If there are unseen message, bold the line. */
335
if ($unseen > 0) { $pre .= '<b>'; }
337
if (($move_to_trash) && ($mailbox == $trash_folder)) {
338
if (! isset($numMessages)) {
339
$status = sqimap_status_messages($imapConnection, $mailbox);
340
$numMessages = $status['MESSAGES'];
343
if ($numMessages > 0) {
344
$urlMailbox = urlencode($mailbox);
345
$pre .= "\n<small>\n" .
346
" (<a href=\"empty_trash.php\" style=\"text-decoration:none\">"._("Purge")."</a>)" .
350
if (!$boxes->is_noselect) {
351
$pre .= "<a href=\"right_main.php?PG_SHOWALL=0&sort=0&startMessage=1&mailbox=$mailboxURL\" target=\"right\">";
356
/* If there are unseen message, close bolding. */
357
if ($unseen > 0) { $end .= "</b>"; }
396
359
/* Print unseen information. */
360
if (isset($unseen_found) && $unseen_found) {
398
361
$end .= " <small>$unseen_string</small>";
405
if ($boxes->is_special) {
406
$font = "<font color=\"$color[11]\">";
407
$fontend = "</font>";
411
if (!$boxes->is_root) {
412
echo "" . $pre .$font. $boxes->mailboxname_sub .$fontend . $end. '<br />' . "\n";
416
if (!$collapse || $boxes->is_root) {
417
for ($i = 0; $i <count($boxes->mbxs); $i++) {
418
listBoxes($boxes->mbxs[$i],$j);
366
if ($use_special_folder_color && $boxes->is_special) {
367
$font = "<font color=\"$color[11]\">";
368
$fontend = "</font>";
371
if (!$boxes->is_root) {
372
echo "" . $pre .$font. str_replace(array(' ','<','>'),array(' ','<','>'),$boxes->mailboxname_sub) .$fontend . $end. '<br />';
375
if (!$collapse || $boxes->is_root) {
376
for ($i = 0; $i <count($boxes->mbxs); $i++) {
377
listBoxes($boxes->mbxs[$i],$j);
423
384
function ListAdvancedBoxes ($boxes, $mbx, $j='ID.0000' ) {
424
385
global $data_dir, $username, $startmessage, $color, $unseen_notify, $unseen_type,
425
$move_to_trash, $trash_folder, $collapse_folders;
427
if (!isset($boxes) || empty($boxes))
386
$move_to_trash, $trash_folder, $collapse_folders, $use_special_folder_color;
430
388
/* use_folder_images only works if the images exist in ../images */
431
389
$use_folder_images = true;
435
393
$collapse = false;
436
$unseen_found = false;
439
$mailbox = $boxes->mailboxname_full;
440
$mailboxURL = urlencode($mailbox);
442
/* get unseen/total messages information */
443
/* Only need to display info when option is set */
444
if (isset($unseen_notify) && ($unseen_notify > 1) &&
445
(($boxes->unseen !== false) || ($boxes->total !== false))) {
447
if ($boxes->unseen !== false)
396
$mailbox = $boxes->mailboxname_full;
397
$mailboxURL = urlencode($mailbox);
399
/* get unseen/total messages information */
400
if ($boxes->unseen) {
448
401
$unseen = $boxes->unseen;
451
Should only display unseen info if the folder is inbox
452
or you set the option for all folders
455
if ((strtolower($mailbox) == 'inbox') || ($unseen_notify == 3)) {
456
$unseen_string = $unseen;
458
/* If users requests, display message count too */
459
if (isset($unseen_type) && ($unseen_type == 2) && ($boxes->total !== false)) {
460
$unseen_string .= '/' . $boxes->total;
463
$unseen_string = "<font color=\"$color[11]\">($unseen_string)</font>";
466
Finally allow the script to display the values by setting a boolean.
467
This can only occur if the unseen count is great than 0 (if you have
468
unseen count only), or you have the message count too.
470
if (($unseen > 0) || (isset($unseen_type) && ($unseen_type ==2))) {
471
$unseen_found = true;
476
/* If there are unseen message, bold the line. */
477
if ($unseen > 0) { $pre .= '<b>'; }
479
/* color special boxes */
480
if ($boxes->is_special) {
481
$pre .= "<font color=\"$color[11]\">";
485
/* If there are unseen message, close bolding. */
486
if ($unseen > 0) { $end .= '</b>'; }
488
/* Print unseen information. */
490
$end .= " $unseen_string";
493
if (($move_to_trash) && ($mailbox == $trash_folder)) {
494
if (! isset($numMessages)) {
495
$numMessages = $boxes->total;
497
$pre = "<a class=\"mbx_link\" href=\"right_main.php?PG_SHOWALL=0&sort=0&startMessage=1&mailbox=$mailboxURL\" target=\"right\">" . $pre;
499
if ($numMessages > 0) {
500
$urlMailbox = urlencode($mailbox);
501
$end .= "\n<small>\n" .
502
" (<a class=\"mbx_link\" href=\"empty_trash.php\">"._("purge")."</a>)" .
402
$unseen_string = "($unseen)";
403
if ($unseen>0) $unseen_found = TRUE;
405
$numMessages = $boxes->total;
406
$unseen_string = "<font color=\"$color[11]\">($unseen/$numMessages)</font>";
410
/* If there are unseen message, bold the line. */
411
if ($unseen > 0) { $pre .= '<b>'; }
413
/* color special boxes */
414
if ($use_special_folder_color && $boxes->is_special) {
415
$pre .= "<font color=\"$color[11]\">";
419
/* If there are unseen message, close bolding. */
420
if ($unseen > 0) { $end .= '</b>'; }
422
/* Print unseen information. */
423
if (isset($unseen_found) && $unseen_found) {
424
$end .= " $unseen_string";
427
if (($move_to_trash) && ($mailbox == $trash_folder)) {
428
if (! isset($numMessages)) {
429
$numMessages = $boxes->total;
431
if ($numMessages > 0) {
432
$urlMailbox = urlencode($mailbox);
433
$pre .= "\n<small>\n" .
434
" (<a class=\"mbx_link\" href=\"empty_trash.php\">"._("Purge")."</a>)" .
506
if (!$boxes->is_noselect) { /* \Noselect boxes can't be selected */
507
$pre = "<a class=\"mbx_link\" href=\"right_main.php?PG_SHOWALL=0&sort=0&startMessage=1&mailbox=$mailboxURL\" target=\"right\">" . $pre;
512
if (!$boxes->is_root) {
513
if ($use_folder_images) {
514
if ($boxes->is_inbox) {
515
$folder_img = '../images/inbox.png';
516
} else if ($boxes->is_sent) {
517
$folder_img = '../images/senti.png';
518
} else if ($boxes->is_trash) {
519
$folder_img = '../images/delitem.png';
520
} else if ($boxes->is_draft) {
521
$folder_img = '../images/draft.png';
522
} else if ($boxes->is_noinferiors) {
523
$folder_img = '../images/folder_noinf.png';
525
$folder_img = '../images/folder.png';
527
$folder_img = ' <img src="'.$folder_img.'" height="15" valign="center" /> ';
531
if (!isset($boxes->mbxs[0])) {
532
echo ' ' . html_tag( 'div',
533
'<tt>'. $pre . $folder_img . '</tt>'. $boxes->mailboxname_sub . $end,
534
'left', '', 'class="mbx_sub" id="' .$j. '"' ) . "\n";
536
/* get collapse information */
537
if ($collapse_folders) {
538
$form_entry = $j.'F';
539
if (isset($mbx) && isset($mbx[$form_entry])) {
540
$collapse = $mbx[$form_entry];
541
setPref($data_dir, $username, 'collapse_folder_'.$boxes->mailboxname_full , $collapse ? SM_BOX_COLLAPSED : SM_BOX_UNCOLLAPSED);
543
$collapse = getPref($data_dir, $username, 'collapse_folder_' . $mailbox);
544
$collapse = ($collapse == '' ? SM_BOX_UNCOLLAPSED : $collapse);
546
$img_src = ($collapse ? '../images/plus.png' : '../images/minus.png');
547
$collapse_link = '<a href="javascript:void(0)">'." <img src=\"$img_src\" border=\"1\" id=$j onclick=\"hidechilds(this)\" style=\"cursor:hand\" /></a>";
551
echo ' ' . html_tag( 'div',
552
$collapse_link . $pre . $folder_img . ' '. $boxes->mailboxname_sub . $end ,
553
'left', '', 'class="mbx_par" id="' .$j. 'P"' ) . "\n";
554
echo ' <input type="hidden" name="mbx['.$j. 'F]" value="'.$collapse.'" id="mbx['.$j.'F]" />'."\n";
558
$visible = ($collapse ? ' style="display:none"' : ' style="display:block"');
559
if (isset($boxes->mbxs[0]) && !$boxes->is_root) /* mailbox contains childs */
560
echo html_tag( 'div', '', 'left', '', 'class="par_area" id='.$j.'.0000 '. $visible ) . "\n";
564
for ($i = 0; $i <count($boxes->mbxs); $i++) {
566
ListAdvancedBoxes($boxes->mbxs[$i],$mbx,$j);
568
if (isset($boxes->mbxs[0]) && !$boxes->is_root)
569
echo '</div>'."\n\n";
438
if (!$boxes->is_noselect) { /* \Noselect boxes can't be selected */
439
$pre .= "<a class=\"mbx_link\" href=\"right_main.php?PG_SHOWALL=0&sort=0&startMessage=1&mailbox=$mailboxURL\" target=\"right\">";
444
if (!$boxes->is_root) {
445
if ($use_folder_images) {
446
if ($boxes->is_inbox) {
447
$folder_img = '../images/inbox.png';
448
} else if ($boxes->is_sent) {
449
$folder_img = '../images/senti.png';
450
} else if ($boxes->is_trash) {
451
$folder_img = '../images/delitem.png';
452
} else if ($boxes->is_draft) {
453
$folder_img = '../images/draft.png';
454
} else $folder_img = '../images/folder.png';
455
$folder_img = ' <img src="'.$folder_img.'" height="15" valign="center" /> ';
456
} else $folder_img = '';
457
if (!isset($boxes->mbxs[0])) {
458
echo ' ' . html_tag( 'div',
459
$pre . $folder_img . str_replace(array(' ','<','>'),array(' ','<','>'),$boxes->mailboxname_sub) . $end ,
460
'left', '', 'class="mbx_sub" id="' .$j. '"' )
463
/* get collapse information */
464
if ($collapse_folders) {
465
$link = '<a target="left" style="text-decoration:none" ' .'href="left_main.php?';
466
$form_entry = $j.'F';
467
if (isset($mbx) && isset($mbx[$form_entry])) {
468
$collapse = $mbx[$form_entry];
470
setPref($data_dir, $username, 'collapse_folder_'.$boxes->mailboxname_full , SM_BOX_COLLAPSED);
472
setPref($data_dir, $username, 'collapse_folder_'.$boxes->mailboxname_full , SM_BOX_UNCOLLAPSED);
475
$collapse = getPref($data_dir, $username, 'collapse_folder_' . $mailbox);
476
$collapse = ($collapse == '' ? SM_BOX_UNCOLLAPSED : $collapse);
479
$link = '<a href="javascript:void(0)">'." <img src=\"../images/plus.png\" border=\"1\" id=$j onclick=\"hidechilds(this)\" /></a>";
481
$link = '<a href="javascript:void(0)">'."<img src=\"../images/minus.png\" border=\"1\" id=$j onclick=\"hidechilds(this)\" /></a>";
483
$collapse_link = $link;
484
} else $collapse_link='';
485
echo ' ' . html_tag( 'div',
486
$collapse_link . $pre . $folder_img . ' '. $boxes->mailboxname_sub . $end ,
487
'left', '', 'class="mbx_par" id="' .$j. 'P"' )
489
echo ' <input type="hidden" name="mbx['.$j. 'F]" value="'.$collapse.'" id="mbx['.$j.'F]" />'."\n";
493
$visible = ' style="display:none;"';
495
$visible = ' style="display:block;"';
498
if (isset($boxes->mbxs[0]) && !$boxes->is_root) /* mailbox contains childs */
499
echo html_tag( 'div', '', 'left', '', 'class="par_area" id='.$j.'.0000 '. $visible ) . "\n";
501
if ($j !='ID.0000') {
504
for ($i = 0; $i <count($boxes->mbxs); $i++) {
506
listAdvancedBoxes($boxes->mbxs[$i],$mbx,$j);
508
if (isset($boxes->mbxs[0]) && !$boxes->is_root ) echo '</div>'."\n\n";
621
558
* to marc@its-projects.nl
624
/* set this to true if you want to see a nicer mailboxtree */
625
if (! isset($advanced_tree) || $advanced_tree=="" ) {
626
$advanced_tree=false;
628
/* default SM behaviour */
629
if (! isset($oldway) || $oldway=="" ) {
561
$advanced_tree = false; /* set this to true if you want to see a nicer mailboxtree */
562
$oldway = true; /* default SM behaviour */
633
564
if ($advanced_tree) {
635
<script language="Javascript" TYPE="text/javascript">
566
<script language="Javascript" type="text/javascript">
570
function hidechilds(el) {
572
form_id = "mbx[" + el.id +"F]";
574
ele = document.all[id];
576
if(ele.style.display == "none") {
577
ele.style.display = "block";
578
ele.style.visibility = "visible"
579
el.src="../images/minus.png";
580
document.all[form_id].value=0;
582
ele.style.display = "none";
583
ele.style.visibility = "hidden"
584
el.src="../images/plus.png";
585
document.all[form_id].value=1;
588
} else if (document.getElementById) {
589
ele = document.getElementById(id);
591
if(ele.style.display == "none") {
592
ele.style.display = "block";
593
ele.style.visibility = "visible"
594
el.src="../images/minus.png";
595
document.getElementById(form_id).value=0;
597
ele.style.display = "none";
598
ele.style.visibility = "hidden"
599
el.src="../images/plus.png";
600
document.getElementById(form_id).value=1;
639
606
function preload() {
640
if (document.images) {
641
var treeImages = new Array;
642
var arguments = preload.arguments;
643
for (var i = 0; i<arguments.length; i++) {
644
treeImages[i] = new Image();
645
treeImages[i].src = arguments[i];
654
function fTreeTimeout() {
655
if (vTreeDiv.readyState == "complete")
656
vTreeImg.src = vTreeSrc;
658
setTimeout("fTreeTimeout()", 100);
661
function hidechilds(img) {
662
id = img.id + ".0000";
663
form_id = "mbx[" + img.id +"F]";
664
if (document.all) { //IE, Opera7
665
div = document.all[id];
667
if (div.style.display == "none") {
668
vTreeSrc = "../images/minus.png";
673
vTreeSrc = "../images/plus.png";
679
if (typeof vTreeDiv.readyState != "undefined") //IE
680
setTimeout("fTreeTimeout()",100);
682
vTreeImg.src = vTreeSrc;
683
div.style.display = style;
684
document.all[form_id].value = value;
687
else if (document.getElementById) { //Gecko
688
div = document.getElementById(id);
690
if (div.style.display == "none") {
691
src = "../images/minus.png";
696
src = "../images/plus.png";
700
div.style.display = style;
702
document.getElementById(form_id).value = value;
707
function buttonover(el,on) {
709
// el.style.borderColor="$color[9]";}
710
el.style.background="$color[0]";}
712
el.style.background="$color[9]";}
715
function buttonclick(el,on) {
717
el.style.border="groove";}
719
el.style.border="ridge";}
722
function hideframe(hide) {
607
if (!document.images) return;
608
var ar = new Array();
609
var arguments = preload.arguments;
610
for (var i = 0; i<arguments.length; i++) {
612
ar[i].src = arguments[i];
616
function buttonover(el,on) {
618
el.style.borderColor="blue";
620
el.style.borderColor="orange";
624
function buttonclick(el,on) {
626
el.style.border="groove"
628
el.style.border="ridge";
632
function hideframe(hide) {
725
635
$xtra .= " left_size = \"$left_size\";\n";
728
masterf = window.parent.document.all["fs1"];
729
leftf = window.parent.document.all["left"];
730
leftcontent = document.all["leftframe"];
731
leftbutton = document.all["showf"];
732
} else if (document.getElementById) {
733
masterf = window.parent.document.getElementById("fs1");
734
leftf = window.parent.document.getElementById("left");
735
leftcontent = document.getElementById("leftframe");
736
leftbutton = document.getElementById("showf");
741
new_col = calc_col("20");
742
masterf.cols = new_col;
743
document.body.scrollLeft=0;
744
document.body.style.overflow='hidden';
745
leftcontent.style.display = 'none';
746
leftbutton.style.display='block';
748
masterf.cols = calc_col(left_size);
749
document.body.style.overflow='';
750
leftbutton.style.display='none';
751
leftcontent.style.display='block';
638
masterf = window.parent.document.all["fs1"];
639
leftf = window.parent.document.all["left"];
640
leftcontent = document.all["leftframe"];
641
leftbutton = document.all["showf"];
642
} else if (document.getElementById) {
643
masterf = window.parent.document.getElementById("fs1");
644
leftf = window.parent.document.getElementById("left");
645
leftcontent = document.getElementById("leftframe");
646
leftbutton = document.getElementById("showf");
651
new_col = calc_col("20");
652
masterf.cols = new_col;
653
document.body.scrollLeft=0;
654
document.body.style.overflow='hidden';
655
leftcontent.style.display = 'none';
656
leftbutton.style.display='block';
658
masterf.cols = calc_col(left_size);
659
document.body.style.overflow='';
660
leftbutton.style.display='none';
661
leftcontent.style.display='block';
910
823
/* Let the world know that autocreation is complete! Hurrah! */
911
824
$auto_create_done = TRUE;
912
825
sqsession_register($auto_create_done, 'auto_create_done');
826
/* retrieve the mailboxlist. We do this at a later stage again but if
827
the right_frame loads faster then the second call retrieves a cached
828
version of the mailboxlist without the newly created folders.
829
The second parameter forces a non cached mailboxlist return.
831
if ($advanced_tree) {
832
// do nothing, caching not seported yet.
833
//$boxes = sqimap_mailbox_tree($imapConnection);
835
$boxes = sqimap_mailbox_list($imapConnection,true);
917
' onload="preload(\'../images/minus.png\',\'../images/plus.png\')"' .
918
" bgcolor=\"$color[3]\" text=\"$color[6]\" link=\"$color[6]\" vlink=\"$color[6]\" alink=\"$color[6]\">\n";
920
echo "\n<body bgcolor=\"$color[3]\" text=\"$color[6]\" link=\"$color[6]\" vlink=\"$color[6]\" alink=\"$color[6]\">\n";
839
echo "\n<body bgcolor=\"$color[3]\" text=\"$color[6]\" link=\"$color[6]\" vlink=\"$color[6]\" alink=\"$color[6]\">\n";
922
841
do_hook('left_main_before');
923
842
if ($advanced_tree) {
924
843
/* nice future feature, needs layout !! volunteers? */
925
844
$right_pos = $left_size - 20;
926
/* 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>';
927
echo '<div ID="showf" style="width=20;font-size:12;display:none;"><a href="javascript:hideframe(false)"><b>>></b></a></div>';
928
echo '<div ID="incrf" style="width=20;font-size:12"><a href="javascript:resizeframe(true)"><b>></b></a></div>';
929
echo '<div ID="decrf" style="width=20;font-size:12"><a href="javascript:resizeframe(false)"><b><</b></a></div></div>';
930
echo '<div ID="leftframe"><br /><br />';*/
845
/* 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>';
846
echo '<div id="showf" style="width=20;font-size:12;display:none;"><a href="javascript:hideframe(false)"><b>>></b></a></div>';
847
echo '<div id="incrf" style="width=20;font-size:12"><a href="javascript:resizeframe(true)"><b>></b></a></div>';
848
echo '<div id="decrf" style="width=20;font-size:12"><a href="javascript:resizeframe(false)"><b><</b></a></div></div>';
849
echo '<div id="leftframe"><br /><br />';*/
933
852
echo "\n\n" . html_tag( 'table', '', 'left', '', 'border="0" cellspacing="0" cellpadding="0" width="99%"' ) .
934
853
html_tag( 'tr' ) .
935
854
html_tag( 'td', '', 'left' ) .
936
'<center><font size="4"><b>'. _("Folders") . "</b><br /></font>\n\n";
855
html_tag( 'table', '', '', '', 'border="0" cellspacing="0" cellpadding="0"' ) .
857
html_tag( 'td', '', 'center' ) .
858
'<font size="4"><b>'. _("Folders") . "</b><br /></font>\n\n";
938
860
if ($date_format != 6) {
939
861
/* First, display the clock. */