Doc update... needs to be finished
[squirrelmail.git] / templates / default / message_list.tpl
CommitLineData
49db257d 1<?php
2
3/**
4 * message_list.tpl
5 *
49db257d 6 * Template for viewing a messages list
7 *
83d1e1af 8 * The following variables are available in this template:
9//FIXME: need to clean (and document) this list, it is just a dump of the array keys of $t
10 * $sTemplateID
11 * $icon_theme_path
12 * $javascript_on
13 * $delayed_errors
14 * $frames
15 * $lang
16 * $page_title
17 * $header_tags
18 * $plugin_output
19 * $header_sent
20 * $body_tag_js
21 * $shortBoxName
22 * $sm_attribute_str
23 * $frame_top
24 * $urlMailbox
25 * $startMessage
26 * $hide_sm_attributions
27 * $uri
28 * $text
29 * $onclick
30 * $class
31 * $id
32 * $target
33 * $color
34 * $form_name
35 * $form_id
36 * $page_selector
37 * $page_selector_max
38 * $messagesPerPage
39 * $showall
40 * $end_msg
41 * $align
42 * $iNumberOfMessages
43 * $aOrder
44 * $aFormElements
45 * $sort
46 * $pageOffset
47 * $baseurl
48 * $aMessages
49 * $trash_folder
50 * $sent_folder
51 * $draft_folder
52 * $thread_link_str
53 * $php_self
54 * $mailbox
55 * $enablesort
56 * $icon_theme
57 * $use_icons
58 * $alt_index_colors
59 * $fancy_index_highlite
60 * $compact_paginator
61 * $aErrors
62 *
47ccfad4 63 * @copyright &copy; 1999-2006 The SquirrelMail Project Team
4b4abf93 64 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
49db257d 65 * @version $Id$
66 * @package squirrelmail
57d06b39 67 * @subpackage templates
49db257d 68 */
69
f2e2aa7f 70/** add required includes */
49db257d 71include_once(SM_PATH . 'templates/util_message_list.php');
72
73/* retrieve the template vars */
74extract($t);
75
6e515418 76//FIXME: no hooks in templates!
77global $null;
78do_hook('mailbox_index_before', $null);
49db257d 79
80/**
81 * Calculate string "Viewing message x to y (z total)"
82 */
83$msg_cnt_str = '';
84if ($pageOffset < $end_msg) {
85 $msg_cnt_str = sprintf(_("Viewing Messages: %s to %s (%s total)"),
e3812cb2 86 '<em>'.$pageOffset.'</em>', '<em>'.$end_msg.'</em>', $iNumberOfMessages);
49db257d 87} else if ($pageOffset == $end_msg) {
e3812cb2 88 $msg_cnt_str = sprintf(_("Viewing Message: %s (%s total)"), '<em>'.$pageOffset.'</em>', $iNumberOfMessages);
49db257d 89}
90
91
92
93if (!($sort & SQSORT_THREAD) && $enablesort) {
49719da8 94 $aSortSupported = array(SQM_COL_SUBJ => array(SQSORT_SUBJ_ASC , SQSORT_SUBJ_DESC),
95 SQM_COL_DATE => array(SQSORT_DATE_DESC , SQSORT_DATE_ASC),
96 SQM_COL_INT_DATE => array(SQSORT_INT_DATE_DESC, SQSORT_INT_DATE_ASC),
97 SQM_COL_FROM => array(SQSORT_FROM_ASC , SQSORT_FROM_DESC),
98 SQM_COL_TO => array(SQSORT_TO_ASC , SQSORT_TO_DESC),
99 SQM_COL_CC => array(SQSORT_CC_ASC , SQSORT_CC_DESC),
100 SQM_COL_SIZE => array(SQSORT_SIZE_ASC , SQSORT_SIZE_DESC));
49db257d 101} else {
102 $aSortSupported = array();
103}
104
105// figure out which columns should serve as labels for checkbox:
106// we try to grab the two columns before and after the checkbox,
107// except the subject column, since it is the link that opens
108// the message view
109//
110// if $javascript_on is set, then the highlighting code takes
111// care of this; just skip it
112//
113$show_label_columns = array();
114$index_order_part = array();
115if (!($javascript_on && $fancy_index_highlite)) {
116 $get_next_two = 0;
117 $last_order_part = 0;
118 $last_last_order_part = 0;
119 foreach ($aOrder as $index_order_part) {
120 if ($index_order_part == SQM_COL_CHECK) {
121 $get_next_two = 1;
122 if ($last_last_order_part != SQM_COL_SUBJ)
123 $show_label_columns[] = $last_last_order_part;
124 if ($last_order_part != SQM_COL_SUBJ)
125 $show_label_columns[] = $last_order_part;
126
127 } else if ($get_next_two > 0 && $get_next_two < 3 && $index_order_part != SQM_COL_SUBJ) {
128 $show_label_columns[] = $index_order_part;
129 $get_next_two++;
130 }
131 $last_last_order_part = $last_order_part;
132 $last_order_part = $index_order_part;
133 }
134}
135
583db309 136/**
29997535 137 * All icon functionality is now handled through $icon_theme_path.
138 * $icon_theme_path will contain the path to the user-selected theme. If it is
139 * NULL, the user and/or admin have turned off icons.
140*/
583db309 141
49db257d 142// set this to an empty string to turn off extra
143// highlighting of checked rows
144//
145//$clickedColor = '';
583db309 146$clickedColor = (empty($color[16])) ? $color[2] : $color[16];
ac858073 147
49db257d 148?>
e3812cb2 149<div id="message_list">
a73c1312 150<form id="<?php echo $form_name;?>" name="<?php echo $form_name;?>" method="post" action="<?php echo $php_self;?>">
e3812cb2 151<table class="table_empty" cellspacing="0">
49db257d 152 <tr>
e3812cb2 153 <td>
154 <table class="table_standard" cellspacing="0">
49db257d 155 <tr>
156 <td>
e3812cb2 157 <table class="table_empty" cellspacing="0">
49db257d 158 <tr>
e3812cb2 159 <td class="links_paginator">
49db257d 160<!-- paginator and thread link string -->
161 <?php
162 /**
163 * because the template is included in the display function we refer to $oTemplate with $this
164 */
165 $paginator_str = $this->fetch('paginator.tpl');
166 echo $paginator_str . $thread_link_str ."\n"; ?>
167<!-- end paginator and thread link string -->
49db257d 168 </td>
169<!-- message count string -->
e3812cb2 170 <td class="message_count"><?php echo $msg_cnt_str; ?></td>
49db257d 171<!-- end message count string -->
172 </tr>
173 </table>
174 </td>
175 </tr>
176<?php
177 if (count($aFormElements)) {
178?>
179<!-- start message list form control -->
d915a2ca 180 <tr class="message_list_controls">
49db257d 181 <td>
e3812cb2 182 <table class="table_empty" cellspacing="0">
49db257d 183 <tr>
d915a2ca 184 <td class="message_control_buttons">
49db257d 185
186<?php
187 foreach ($aFormElements as $key => $value) {
188 switch ($value[1]) {
189 case 'submit':
24bb7e49 190 if ($key != 'moveButton' && $key != 'copyButton' && $key != 'delete' && $key != 'undeleteButton') { // add move in a different table cell
49db257d 191?>
e3812cb2 192 <input type="submit" name="<?php echo $key; ?>" value="<?php echo $value[0]; ?>" class="message_control_button" />&nbsp;
49db257d 193<?php
a5d40e74 194 }
49db257d 195 break;
196 case 'checkbox':
a5d40e74 197 if ($key != 'bypass_trash') {
49db257d 198?>
828c58f1 199 <input type="checkbox" name="<?php echo $key; ?>" id="<?php echo $key; ?>" /><label for="<?php echo $key; ?>"><?php echo $value[0]; ?></label>&nbsp;
49db257d 200<?php
a5d40e74 201 }
49db257d 202 break;
203 case 'hidden':
204 echo '<input type="hidden" name="'.$key.'" value="'. $value[0]."\">\n";
205 break;
206 default: break;
207 }
208 }
209?>
49db257d 210 </td>
e3812cb2 211 <td class="message_control_delete">
49db257d 212
213
214<?php
a5d40e74 215 if (isset($aFormElements['delete'])) {
216?>
e3812cb2 217 <input type="submit" name="delete" value="<?php echo $aFormElements['delete'][0]; ?>" class="message_control_button" />&nbsp;
a5d40e74 218 <?php
219 if (isset($aFormElements['bypass_trash'])) {
220?>
828c58f1 221 <input type="checkbox" name="bypass_trash" id="bypass_trash" /><label for="bypass_trash"><?php echo $aFormElements['bypass_trash'][0]; ?></label>&nbsp;
a5d40e74 222<?php
223 }
224 if (isset($aFormElements['undeleteButton'])) {
225?>
e3812cb2 226 <input type="submit" name="undeleteButton" value="<?php echo $aFormElements['undeleteButton'][0]; ?>" class="message_control_button" />&nbsp;
a5d40e74 227<?php
228 }
229?>
a5d40e74 230 </td>
231<?php
232 } // if (isset($aFormElements['delete']))
24bb7e49 233 if (isset($aFormElements['moveButton']) || isset($aFormElements['copyButton'])) {
a5d40e74 234?>
e3812cb2 235 <td class="message_control_move">
49db257d 236 <select name="targetMailbox">
237 <?php echo $aFormElements['targetMailbox'][0];?>
238 </select>
24bb7e49 239<?php if (isset($aFormElements['moveButton'])) { ?>
e3812cb2 240 <input type="submit" name="moveButton" value="<?php echo $aFormElements['moveButton'][0]; ?>" class="message_control_button" />
24bb7e49 241<?php }
242 if (isset($aFormElements['copyButton'])) { ?>
243 <input type="submit" name="copyButton" value="<?php echo $aFormElements['copyButton'][0]; ?>" class="message_control_button" />
244<?php } ?>
a5d40e74 245 </td>
246
49db257d 247<?php
248 } // if (isset($aFormElements['move']))
249?>
49db257d 250 </tr>
251 </table>
252 </td>
253 </tr>
254<!-- end message list form control -->
255<?php
256 } // if (count($aFormElements))
257?>
258 </table>
259<?php
6e515418 260 //FIXME: no hooks in templates!
261 do_hook('mailbox_form_before', $null);
49db257d 262?>
263 </td>
264 </tr>
e3812cb2 265 <tr><td class="spacer"></td></tr>
49db257d 266 <tr>
267 <td>
e3812cb2 268 <table class="table_messageListWrapper" cellspacing="0">
49db257d 269 <tr>
270 <td>
e3812cb2 271 <table class="table_messageList" cellspacing="0">
49db257d 272<!-- table header start -->
e3812cb2 273<?php
274/*
275 * As an FYI, Firefox on Windows seems to have an issue w/ putting wierd breaks while
ac858073 276 * rendering this table if we use THEAD and TH tags. No other browser or platform has
e3812cb2 277 * this issue. We will use TR/TD w/ another CSS class to work around this.
278 */
279?>
280 <tr class="headerRow">
49db257d 281<?php
282 $aWidth = calcMessageListColumnWidth($aOrder);
283 foreach($aOrder as $iCol) {
49db257d 284?>
e3812cb2 285 <td style="width:<?php echo $aWidth[$iCol]; ?>%">
49db257d 286<?php
287 switch ($iCol) {
288 case SQM_COL_CHECK:
289 if ($javascript_on) {
be4f8940 290 echo '<input type="checkbox" name="toggleAll" title="'._("Toggle All").'" onclick="toggle_all(\''.$form_name."',".$fancy_index_highlite.')" />'."\n";
49db257d 291 } else {
ac858073 292 $link = $baseurl . "&amp;startMessage=$pageOffset&amp;checkall=";
49db257d 293 if (sqgetGlobalVar('checkall',$checkall,SQ_GET)) {
294 $link .= ($checkall) ? '0' : '1';
295 } else {
296 $link .= '1';
297 }
298 echo "<a href=\"$link\">"._("All").'</a>';
299 }
300 break;
e3812cb2 301 case SQM_COL_FROM: echo _("From")."\n"; break;
302 case SQM_COL_DATE: echo _("Date")."\n"; break;
303 case SQM_COL_SUBJ: echo _("Subject")."\n"; break;
583db309 304 case SQM_COL_FLAGS:
29997535 305 echo getIcon($icon_theme_path, 'msg_new.png', '&nbsp;', _("Message Flags")) . "\n";
306 break;
e3812cb2 307 case SQM_COL_SIZE: echo _("Size")."\n"; break;
583db309 308 case SQM_COL_PRIO:
29997535 309 echo getIcon($icon_theme_path, 'prio_high.png', '!', _("Priority")) . "\n";
310 break;
583db309 311 case SQM_COL_ATTACHMENT:
29997535 312 echo getIcon($icon_theme_path, 'attach.png', '+', _("Attachment")) . "\n";
313 break;
e3812cb2 314 case SQM_COL_INT_DATE: echo _("Received")."\n"; break;
315 case SQM_COL_TO: echo _("To")."\n"; break;
316 case SQM_COL_CC: echo _("Cc")."\n"; break;
317 case SQM_COL_BCC: echo _("Bcc")."\n"; break;
49db257d 318 default: break;
319 }
320 // add the sort buttons
321 if (isset($aSortSupported[$iCol])) {
322 if ($sort == $aSortSupported[$iCol][0]) {
29997535 323 $newsort = $aSortSupported[$iCol][1];
324 $img = 'up_pointer.png';
8af5b50c 325 $text_icon = '&#8679;'; // U+21E7 UPWARDS WHITE ARROW
49db257d 326 } else if ($sort == $aSortSupported[$iCol][1]) {
29997535 327 $newsort = 0;
328 $img = 'down_pointer.png';
8af5b50c 329 $text_icon = '&#8681;'; // U+21E9 DOWNWARDS WHITE ARROW
49db257d 330 } else {
29997535 331 $newsort = $aSortSupported[$iCol][0];
332 $img = 'sort_none.png';
8af5b50c 333 $text_icon = '&#9723;'; // U+25FB WHITE MEDIUM SQUARE
49db257d 334 }
335 /* Now that we have everything figured out, show the actual button. */
8af5b50c 336 echo " <a href=\"$baseurl&amp;startMessage=1&amp;srt=$newsort\" style=\"text-decoration:none\">" .
6c68e276 337 getIcon($icon_theme_path, $img, $text_icon, _("Click here to change the sorting of the message list")) . "\n" .
29997535 338 '</a>';
49db257d 339 }
340?>
49db257d 341 </td>
342<?php
343 }
344?>
e3812cb2 345 </tr>
346<!-- end table header -->
49db257d 347
348<!-- Message headers start -->
349<?php
350 $i = 0;
351 $iColCnt = count($aOrder);
352 $sLine = '';
353
354 // this stuff does the auto row highlighting on mouseover
355 //
356 if ($javascript_on && $fancy_index_highlite) {
357
358 $mouseoverColor = $color[5];
359
360 // set this to an empty string to turn off extra
361 // highlighting of checked rows
362 //
363 //$clickedColor = '';
364 $clickedColor = (!empty($color[16])) ? $color[16] : $color[2];
799ee2d5 365
cd0a9317 366 $checkbox_javascript = ' onclick="this.checked = !this.checked;"';
799ee2d5 367 } else {
368 $checkbox_javascript = '';
49db257d 369 }
370 foreach ($aMessages as $iUid => $aMsg) {
371 echo $sLine;
372
373/**
374* Display message header row in messages list
375*
376*/
377
378 $aColumns = $aMsg['columns'];
379
49db257d 380
381 /**
382 * Check the flags and set a class var.
383 */
384 if (isset($aColumns[SQM_COL_FLAGS])) {
385 $aFlags = $aColumns[SQM_COL_FLAGS]['value'];
29997535 386 $sFlags = getFlagIcon($aFlags, $icon_theme_path);
49db257d 387
49db257d 388 /* add the flag string to the value index */
389 $aColumns[SQM_COL_FLAGS]['value'] = $sFlags;
390 }
391 /**
392 * Check the priority column
393 */
394 if (isset($aColumns[SQM_COL_PRIO])) {
29997535 395 $sValue = getPriorityIcon($aColumns[SQM_COL_PRIO]['value'], $icon_theme_path);
49db257d 396 $aColumns[SQM_COL_PRIO]['value'] = $sValue;
397 }
398
399 /**
400 * Check the attachment column
401 */
402 if (isset($aColumns[SQM_COL_ATTACHMENT])) {
29997535 403 $sValue = getAttachmentIcon($aColumns[SQM_COL_ATTACHMENT]['value'], $icon_theme_path);
49db257d 404 $aColumns[SQM_COL_ATTACHMENT]['value'] = $sValue;
405 }
406
e3812cb2 407 $class = 'even';
49db257d 408 /**
e3812cb2 409 * If alternating row colors is set, adapt the CSS class
49db257d 410 */
411 if (isset($alt_index_colors) && $alt_index_colors) {
412 if (!($i % 2)) {
e3812cb2 413 $class = 'odd';
49db257d 414 }
415
416 }
e3812cb2 417 if (isset($aMsg['row']['color']))
418 {
419 $bgcolor = $aMsg['row']['color'];
420 $class = 'misc'.$i;
421 }
422 else $bgcolor = '';
49db257d 423
424 $row_extra = '';
425
426 // this stuff does the auto row highlighting on mouseover
427 //
428 if ($javascript_on && $fancy_index_highlite) {
e3812cb2 429 $row_extra .= ' onmouseover="rowOver(\''.$form_id . '_msg' . $i.'\');" onmouseout="setPointer(this, ' . $i . ', \'out\', \'' . $class . '\', \'mouse_over\', \'clicked\');" onmousedown="setPointer(this, ' . $i . ', \'click\', \'' . $class . '\', \'mouse_over\', \'clicked\');"';
49db257d 430 }
431 // this does the auto-checking of the checkbox no matter
432 // where on the row you click
433 //
434 $javascript_auto_click = '';
435 if ($javascript_on && $fancy_index_highlite) {
436 // include the form_id in order to show multiple messages lists. Otherwise id isn't unique
437 $javascript_auto_click = " onMouseDown=\"row_click('$form_id"."_msg$i')\"";
438 }
439
e3812cb2 440/*
441 * Message Highlighting requires a unique CSS class declaration for proper
442 * mouseover functionality. There is no harm in doing this when the mouseover
443 * functionality is disabled
444 */
445if ($class != 'even' && $class != 'odd')
446{
447?>
448<style type="text/css">
449<!--
450.table_messageList tr.<?php echo $class; ?> { background:<?php echo $bgcolor; ?> }
451-->
452</style>
d7f26e6e 453<?php
e3812cb2 454}
49db257d 455?>
e3812cb2 456<tr <?php echo (empty($class) ? '' : 'class="'.$class.'" '); echo $row_extra;?>>
49db257d 457<?php
458 // flag style mumbo jumbo
459 $sPre = $sEnd = '';
bf9e5efb 460 if (isset($aColumns[SQM_COL_FLAGS])) {
1be82af6 461 if (!in_array('seen',$aFlags) || !$aFlags['seen']) {
e3812cb2 462 $sPre = '<span class="unread">'; $sEnd = '</span>';
f2e2aa7f 463 }
464 if (in_array('deleted',$aFlags) && $aFlags['deleted']) {
e3812cb2 465 $sPre = '<span class="deleted">' . $sPre;
466 $sEnd .= '</span>';
f2e2aa7f 467 } else {
468 if (in_array('flagged',$aFlags) && $aFlags['flagged']) {
e3812cb2 469 $sPre = '<span class="flagged">' . $sPre;
470 $sEnd .= '</span>';
f2e2aa7f 471 }
49db257d 472 }
473 }
474 /**
475 * Because the order of the columns and which columns to show is a user preference
476 * we have to do some php coding to display the columns in the right order
477 */
478 foreach ($aOrder as $iCol) {
6547ab43 479 if (in_array($iCol, $show_label_columns)) {
6d34ad62 480 $sLabelStart = '<label for="'.$form_id."_msg$i\">";
49db257d 481 $sLabelEnd = '</label>';
482 } else {
483 $sLabelStart = '';
484 $sLabelEnd = '';
485 }
02e830bd 486 $aCol = (isset($aColumns[$iCol])) ? $aColumns[$iCol] : array();
487 $title = (isset($aCol['title'])) ? $aCol['title'] : '';
488 $link = (isset($aCol['link'])) ? $aCol['link'] : '';
489 $link_extra = (isset($aCol['link_extra'])) ? $aCol['link_extra'] : '';
490 $onclick = (isset($aCol['onclick'])) ? $aCol['onclick'] : '';
491 $link = (isset($aCol['link'])) ? $aCol['link'] : '';
492 $value = (isset($aCol['value'])) ? $aCol['value'] : '';
493 $target = (isset($aCol['target'])) ? $aCol['target'] : '';
49db257d 494 if ($iCol !== SQM_COL_CHECK) {
495 $value = $sLabelStart.$sPre.$value.$sEnd.$sLabelEnd;
496 }
497
498
499 switch ($iCol) {
500 case SQM_COL_CHECK:
ac858073 501 if ($javascript_on) {
502 echo '<td class="col_check"'. $javascript_auto_click. '>' ?>
503 <input type="checkbox" name="<?php echo "msg[$i]";?>" id="<?php echo $form_id."_msg$i";?>" value="<?php echo $iUid;?>" <?php echo $checkbox_javascript;?> /></td>
49db257d 504 <?php
ac858073 505 } else {
506 echo '<td class="col_check">';
507 $checked = ($checkall) ? " checked=checked " : " ";
508 echo "<input type=\"checkbox\" name=\"msg[".$i."]\" id=\"".$form_id."_msg$i\" value=\"$iUid\" $checked/></td>";
509 }
49db257d 510 break;
511 case SQM_COL_SUBJ:
512 $indent = $aCol['indent'];
e3812cb2 513 $sText = " <td class=\"col_subject\" $javascript_auto_click>";
49db257d 514 if ($align['left'] == 'left') {
515 $sText .= str_repeat('&nbsp;&nbsp;',$indent);
516 }
517 $sText .= "<a href=\"$link\"";
02e830bd 518 if ($target) { $sText .= " target=\"$target\""; }
519 if ($title) { $sText .= " title=\"$title\""; }
520 if ($onclick) { $sText .= " onclick=\"$onclick\""; }
521 if ($link_extra) { $sText .= " $link_extra"; }
49db257d 522 if ($javascript_on && $fancy_index_highlite) {
523 $sText .= " onmousedown=\"row_click('$form_id"."_msg$i'); setPointer(this." . (empty($bold) ? '' : 'parentNode.') .
e3812cb2 524 'parentNode.parentNode, ' . $i . ', \'click\', \''. $class. '\', \'mouse_over\', \'' .
49db257d 525 $clickedColor .'\');"';
526 }
527 $sText .= ">";
528 $sText .= $value . '</a>';
529 if ($align['left'] == 'right') {
530 $sText .= str_repeat('&nbsp;&nbsp;',$indent);
531 }
532 echo $sText."</td>\n";
533 break;
534 case SQM_COL_SIZE:
535 case SQM_COL_FLAGS:
e3812cb2 536 $sText = " <td class=\"col_flags\" $javascript_auto_click>";
537 $sText .= "$value</td>\n";
49db257d 538 echo $sText;
539 break;
540 case SQM_COL_INT_DATE:
541 case SQM_COL_DATE:
e3812cb2 542 $sText = " <td class=\"col_date\" $javascript_auto_click>";
49db257d 543 $sText .= $value. "</td>\n";
544 echo $sText;
545 break;
546 default:
e3812cb2 547 $sText = " <td class=\"col_text\" $javascript_auto_click";
49db257d 548 if ($link) {
549 $sText .= "><a href=\"$link\"";
550 if ($target) { $sText .= " target=\"$target\"";}
551 if ($title) { $sText .= " title=\"$title\"" ;}
552 $sText .= ">";
553 } else {
554 if ($title) {$sText .= " title=\"$title\"";}
555 $sText .= ">";
556 }
557 $sText .= $value;
558 if ($link) { $sText .= '</a>';}
559 echo $sText."</td>\n";
560 break;
561 }
562 }
563?>
564 </tr>
565<?php
e3812cb2 566 $sLine = "<tr><td colspan=\"$iColCnt\" class=\"spacer\"></td></tr>\n";
49db257d 567 ++$i;
568
569/*
570 * End displaying row part
571 */
572 }
573
574?>
575<!-- Message headers end -->
576 </table>
577 </td>
578 </tr>
579 </table>
580 </td>
581 </tr>
e3812cb2 582 <tr><td class="spacer"></td></tr>
49db257d 583 <tr>
584 <td>
e3812cb2 585 <table class="table_standard" cellspacing="0">
49db257d 586 <tr>
587 <td>
e3812cb2 588 <table class="table_empty" cellspacing="0">
49db257d 589 <tr>
e3812cb2 590 <td class="links_paginator"><?php echo $paginator_str; ?></td>
591 <td class="message_count"><?php echo $msg_cnt_str; ?></td>
49db257d 592 </tr>
593 </table>
594 </td>
595 </tr>
596 </table>
597 </td>
598 </tr>
599 <tr>
600 <td>
6e515418 601 <?php /* FIXME: no hooks in templates!! */ do_hook('mailbox_index_after', $null); ?>
49db257d 602 </td>
603 </tr>
604 </table>
cd0a9317 605</form>
e3812cb2 606</div>