[- $args = shift @param; @folders = @{ $args->{folders} }; my @msginfo = &EMU::get_msg_array(); @msgnums = @{ $msginfo[0] }; %msgdata = %{ $msginfo[1] }; $this_page = $EMU::v{$EMU::folder."_page"}; $maxmsgs = $EMU::userdb{"options.max_messages"} || $EMU::c{default_max_messages} || 15; $firstmsg = $maxmsgs * ( $this_page - 1 ) + 1; $lastmsg = $firstmsg + $maxmsgs - 1; $total_msgs = &EMU::get_var('total_messages'); $total_pages = &EMU::ceil($total_msgs / $maxmsgs); $lastmsg = $total_msgs if $lastmsg > $total_msgs; # This is the relative href to the current folder $currenthref = "$EMU::EMU_URL?passed=go_index&folder=$EMU::folder"; $theme = $args->{theme}; $manual_filtering = $EMU::userdb{'options.manual_filtering'} && $EMU::c{'allow_manual_filtering'}; -] [+ $EMU::c{publisher_name} +] - [+ $EMU::folder +] [+ &EMU::folder_stats() +] [$ if (!$EMU::v{'mailcheck_popup'}) $] [$ endif $] [# Open Header #] [- &Execute("$args->{DOCROOT}/header.html", $args) -] [# Close Header #]
 
[# Open Toolbar #] [- &Execute("$args->{DOCROOT}/toolbar.html", $args) -] [# Close Toolbar #]
Current folder: [+ $EMU::folder +]
[$ if (!$total_msgs) $] No Messages [$ else $] Viewing [+ "$firstmsg-$lastmsg" +] of [+ $total_msgs +] [$ if ($firstmsg != 1) $] | < Prev Page |  [$ endif $] [$ if ($total_pages > 1) $] [$ endif $] [$ if ($lastmsg != $total_msgs) $]  | Next Page > [$ endif $] [$ endif $]
[$ if (@msgnums) $]
[$ if ($EMU::folder eq $EMU::trash_folder && $EMU::trash_bin) $] [$ endif $] [$ if ($EMU::folder ne 'Search Results') $] [$ endif $]
 
[$ else $]
The [+ $EMU::folder +] folder is empty.
[$ endif $] [$ if (@msgnums) $]
[$ if (&EMU::get_status()) $]
[+ &EMU::get_status() +]
 
[$ endif $] [$ if (&EMU::get_var('is_sent_mail')) $] [$ else $] [$ endif $] [$ foreach $m (@msgnums) $] [- $status = $msgdata{"status$m"}; # If we're not dealing with a single character, its likely an image (problems in conf.emu prevent us from doing this right) $style = ($status eq 'icon_new.gif') ? "selected" : ""; if (length($status) > 1) { $status = ""; } $status ||= ' '; if ($msgdata{"newcolumn1$m"}) { $attachment = ""; } else { $attachment = ' '; } $from = $msgdata{"from$m"} || ' '; $to = $msgdata{"to$m"} || ' '; $hash = $msgdata{"hash$m"} || ' '; $href = $msgdata{"href$m"} || ' '; $subject = $msgdata{"subject$m"}; $date = $msgdata{"day_name$m"}. ', ' . $msgdata{"day$m"}.' '.$msgdata{"month_name$m"}.' '.$msgdata{"year$m"}; $date .= ' ' . $msgdata{"hour$m"} . ':' . sprintf("%02d", $msgdata{"minute$m"}) . ':' . sprintf("%02d", $msgdata{"second$m"}); $date .= ' ' . $msgdata{"ampm$m"} if ($msgdata{"ampm$m"}); $date .= ' ' . $msgdata{"gmt$m"} if ($msgdata{"gmt$m"}); $size = $msgdata{"size$m"} || ' '; -] [$ if (&EMU::get_var('is_sent_mail')) $] [$ else $] [$ endif $] [$ endforeach $]
SubjectToFromDate Size
[+ $status +] [+ $attachment +] [+ $subject +][+ $to +][+ $from +][+ $date +] [+ $size +]
[$ endif $] [$ if (@msgnums) $]
[$ if ($EMU::folder eq $EMU::trash_folder && $EMU::trash_bin) $] [$ endif $] [$ if ($EMU::folder ne 'Search Results') $] [$ endif $]
 
[$ endif $]
[$ if (&EMU::get_var('allowed') > 0) $] [- $percent = sprintf("%2d", ($EMU::v{quota_used}/$EMU::v{quota_allowed})*100 ); $allowed = sprintf("%2d", $EMU::v{quota_allowed}/1024); -]
 
You are using [+ $percent +]% of your [+ $allowed +] KB Quota.  
[$ endif $]