59177427 |
1 | <?php |
7c1b84d9 |
2 | |
3302d0d4 |
3 | /** |
a09387f4 |
4 | ** mailbox_display.php |
3302d0d4 |
5 | ** |
6 | ** This contains functions that display mailbox information, such as the |
7 | ** table row that has sender, date, subject, etc... |
8 | ** |
9 | **/ |
a4c2cd49 |
10 | |
266fe275 |
11 | $mailbox_display_php = true; |
d068c0ec |
12 | |
1809bad8 |
13 | function printMessageInfo($imapConnection, $t, $i, $key, $mailbox, $sort, $startMessage, $where, $what) { |
af9404d7 |
14 | global $color, $msgs, $msort; |
cbdc5621 |
15 | global $sent_folder; |
9d157cec |
16 | global $message_highlight_list; |
cbdc5621 |
17 | |
af9404d7 |
18 | $msg = $msgs[$key]; |
d92b6f31 |
19 | |
c36ed9cf |
20 | $senderName = sqimap_find_displayable_name($msg["FROM"]); |
05207a68 |
21 | $urlMailbox = urlencode($mailbox); |
7151188f |
22 | $subject = trim(stripslashes($msg["SUBJECT"])); |
926da13e |
23 | echo "<TR>\n"; |
7151188f |
24 | |
25 | if ($msg["FLAG_FLAGGED"] == true) { $flag = "<font color=$color[2]>"; $flag_end = "</font>"; } |
26 | if ($msg["FLAG_SEEN"] == false) { $bold = "<b>"; $bold_end = "</b>"; } |
cbdc5621 |
27 | if ($mailbox == $sent_folder) { $italic = "<i>"; $italic_end = "</i>"; } |
7151188f |
28 | |
9d157cec |
29 | for ($i=0; $i < count($message_highlight_list); $i++) { |
1195c340 |
30 | if ($message_highlight_list[$i]["match_type"] == "to_cc") { |
e90872be |
31 | if (strpos("^^".$msg["TO"], strtolower($message_highlight_list[$i]["value"])) || strpos("^^".$msg["CC"], strtolower($message_highlight_list[$i]["value"]))) { |
1195c340 |
32 | $hlt_color = $message_highlight_list[$i]["color"]; |
33 | continue; |
34 | } |
e90872be |
35 | } else if (strpos("^^".strtolower($msg[strtoupper($message_highlight_list[$i]["match_type"])]),$message_highlight_list[$i]["value"])) { |
9d157cec |
36 | $hlt_color = $message_highlight_list[$i]["color"]; |
37 | continue; |
38 | } |
39 | } |
623332f3 |
40 | |
9d157cec |
41 | if (!$hlt_color) |
42 | $hlt_color = $color[4]; |
1809bad8 |
43 | |
44 | if ($where && $what) { |
45 | $search_stuff = "&where=".urlencode($where)."&what=".urlencode($what); |
46 | } |
9d157cec |
47 | |
623332f3 |
48 | echo " <td width=1% bgcolor=$hlt_color align=center><input type=checkbox name=\"msg[$t]\" value=".$msg["ID"]."$checked></TD>\n"; |
9d157cec |
49 | echo " <td width=30% bgcolor=$hlt_color>$italic$bold$flag$senderName$flag_end$bold_end$italic_end</td>\n"; |
50 | echo " <td nowrap width=1% bgcolor=$hlt_color><center>$bold$flag".$msg["DATE_STRING"]."$flag_end$bold_end</center></td>\n"; |
51 | if ($msg["FLAG_ANSWERED"] == true) echo " <td bgcolor=$hlt_color width=1%><b><small>A</small></b></td>"; |
d96b4ca4 |
52 | elseif (ereg("(1|2)",substr($msg["PRIORITY"],0,1))) echo " <td bgcolor=$hlt_color width=1%><b><small><font color=$color[1]>!</font></small></b></td>"; |
9d157cec |
53 | else echo " <td bgcolor=$hlt_color width=1%> </td>"; |
1809bad8 |
54 | echo " <td bgcolor=$hlt_color width=%>$bold<a href=\"read_body.php?mailbox=$urlMailbox&passed_id=".$msg["ID"]."&startMessage=$startMessage&show_more=0$search_stuff\">$flag$subject$flag_end</a>$bold_end</td>\n"; |
7151188f |
55 | |
56 | echo "</tr>\n"; |
926da13e |
57 | } |
58 | |
59 | /** |
60 | ** This function loops through a group of messages in the mailbox and shows them |
61 | **/ |
5b6ae78a |
62 | function showMessagesForMailbox($imapConnection, $mailbox, $numMessages, $startMessage, $sort, $color,$show_num, $use_cache) { |
63 | global $msgs, $msort; |
cbdc5621 |
64 | global $sent_folder; |
9d157cec |
65 | global $message_highlight_list; |
61a4ac35 |
66 | |
5b6ae78a |
67 | if (!$use_cache) { |
68 | if ($numMessages >= 1) { |
15a9cd31 |
69 | for ($q = 0; $q < $numMessages; $q++) { |
4bbba0d8 |
70 | if ($mailbox == $sent_folder) |
71 | $hdr = sqimap_get_small_header ($imapConnection, $q+1, true); |
72 | else |
73 | $hdr = sqimap_get_small_header ($imapConnection, $q+1, false); |
74 | |
75 | $from[$q] = $hdr->from; |
76 | $date[$q] = $hdr->date; |
77 | $subject[$q] = $hdr->subject; |
3e69e88b |
78 | $to[$q] = $hdr->to; |
266fe275 |
79 | $priority[$q] = $hdr->priority; |
1195c340 |
80 | $cc[$q] = $hdr->cc; |
15a9cd31 |
81 | |
5b6ae78a |
82 | $flags[$q] = sqimap_get_flags ($imapConnection, $q+1); |
5b10f02a |
83 | } |
5b6ae78a |
84 | } |
85 | |
86 | $j = 0; |
87 | while ($j < $numMessages) { |
88 | $date[$j] = ereg_replace(" ", " ", $date[$j]); |
89 | $tmpdate = explode(" ", trim($date[$j])); |
90 | |
91 | $messages[$j]["TIME_STAMP"] = getTimeStamp($tmpdate); |
92 | $messages[$j]["DATE_STRING"] = getDateString($messages[$j]["TIME_STAMP"]); |
93 | $messages[$j]["ID"] = $j+1; |
94 | $messages[$j]["FROM"] = decodeHeader($from[$j]); |
e9f8ea4e |
95 | $messages[$j]["FROM-SORT"] = strtolower(sqimap_find_displayable_name(decodeHeader($from[$j]))); |
5b6ae78a |
96 | $messages[$j]["SUBJECT"] = decodeHeader($subject[$j]); |
e9f8ea4e |
97 | $messages[$j]["SUBJECT-SORT"] = strtolower(decodeHeader($subject[$j])); |
3e69e88b |
98 | $messages[$j]["TO"] = decodeHeader($to[$j]); |
266fe275 |
99 | $messages[$j]["PRIORITY"] = $priority[$j]; |
1195c340 |
100 | $messages[$j]["CC"] = $cc[$j]; |
e9f8ea4e |
101 | |
102 | # fix SUBJECT-SORT to remove Re: |
103 | if (substr($messages[$j]["SUBJECT-SORT"], 0, 3) == "re:" || |
104 | substr($messages[$j]["SUBJECT-SORT"], 0, 3) == "aw:") |
105 | $messages[$j]["SUBJECT-SORT"] = trim(substr($messages[$j]["SUBJECT-SORT"], 3)); |
5b6ae78a |
106 | |
107 | $num = 0; |
108 | while ($num < count($flags[$j])) { |
109 | if ($flags[$j][$num] == "Deleted") { |
110 | $messages[$j]["FLAG_DELETED"] = true; |
111 | } |
112 | else if ($flags[$j][$num] == "Answered") { |
113 | $messages[$j]["FLAG_ANSWERED"] = true; |
114 | } |
115 | else if ($flags[$j][$num] == "Seen") { |
116 | $messages[$j]["FLAG_SEEN"] = true; |
117 | } |
118 | else if ($flags[$j][$num] == "Flagged") { |
119 | $messages[$j]["FLAG_FLAGGED"] = true; |
120 | } |
121 | $num++; |
7151188f |
122 | } |
5b6ae78a |
123 | $j++; |
3302d0d4 |
124 | } |
5b6ae78a |
125 | |
126 | /** Find and remove the ones that are deleted */ |
127 | $i = 0; |
128 | $j = 0; |
129 | while ($j < $numMessages) { |
130 | if ($messages[$j]["FLAG_DELETED"] == true) { |
131 | $j++; |
132 | continue; |
133 | } |
134 | $msgs[$i] = $messages[$j]; |
135 | |
136 | $i++; |
5b10f02a |
137 | $j++; |
5b10f02a |
138 | } |
5b6ae78a |
139 | $numMessages = $i; |
140 | } |
926da13e |
141 | |
4c2d69ac |
142 | // There's gotta be messages in the array for it to sort them. |
5b6ae78a |
143 | if (($numMessages > 0) && (!$use_cache)) { |
0e919368 |
144 | /** 0 = Date (up) 4 = Subject (up) |
145 | ** 1 = Date (dn) 5 = Subject (dn) |
146 | ** 2 = Name (up) |
147 | ** 3 = Name (dn) |
148 | **/ |
09856735 |
149 | session_unregister("msgs"); |
1c292c82 |
150 | if (($sort == 0) || ($sort == 1)) |
151 | $msort = array_cleave ($msgs, "TIME_STAMP"); |
152 | if (($sort == 2) || ($sort == 3)) |
e9f8ea4e |
153 | $msort = array_cleave ($msgs, "FROM-SORT"); |
1c292c82 |
154 | if (($sort == 4) || ($sort == 5)) |
e9f8ea4e |
155 | $msort = array_cleave ($msgs, "SUBJECT-SORT"); |
1c292c82 |
156 | |
5b6ae78a |
157 | if(($sort % 2) == 1) { |
158 | asort($msort); |
159 | } else { |
160 | arsort($msort); |
0e919368 |
161 | } |
5b6ae78a |
162 | session_register("msort"); |
4c2d69ac |
163 | } |
5b6ae78a |
164 | displayMessageArray($imapConnection, $numMessages, $startMessage, $msgs, $msort, $mailbox, $sort, $color,$show_num); |
09856735 |
165 | session_register("msgs"); |
9f2215a1 |
166 | } |
167 | |
168 | // generic function to convert the msgs array into an HTML table |
5b6ae78a |
169 | function displayMessageArray($imapConnection, $numMessages, $startMessage, &$msgs, $msort, $mailbox, $sort, $color,$show_num) { |
cbdc5621 |
170 | global $folder_prefix, $sent_folder; |
171 | global $imapServerAddress; |
8e9e8afa |
172 | |
9f2215a1 |
173 | // if cache isn't already set, do it now |
90033b64 |
174 | if (!session_is_registered("msgs")) |
175 | session_register("msgs"); |
5b6ae78a |
176 | if (!session_is_registered("msort")) |
177 | session_register("msort"); |
90033b64 |
178 | |
8442ac08 |
179 | |
9c83f905 |
180 | if ($startMessage + ($show_num - 1) < $numMessages) { |
181 | $endMessage = $startMessage + ($show_num-1); |
926da13e |
182 | } else { |
926da13e |
183 | $endMessage = $numMessages; |
184 | } |
8442ac08 |
185 | |
186 | if ($endMessage < $startMessage) { |
187 | $startMessage = $startMessage - $show_num; |
188 | if ($startMessage < 1) |
189 | $startMessage = 1; |
190 | } |
191 | |
9c83f905 |
192 | $nextGroup = $startMessage + $show_num; |
193 | $prevGroup = $startMessage - $show_num; |
20db5033 |
194 | $urlMailbox = urlencode($mailbox); |
926da13e |
195 | |
6b638171 |
196 | do_hook("mailbox_index_before"); |
20db5033 |
197 | /** This is the beginning of the message list table. It wraps around all messages */ |
623332f3 |
198 | echo "<TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=0>"; |
926da13e |
199 | |
0d1b4832 |
200 | if ($startMessage < $endMessage) { |
f8f9bed9 |
201 | echo "<TR BGCOLOR=\"$color[4]\"><TD>"; |
7e343a7d |
202 | echo "<CENTER>". _("Viewing messages") ." <B>$startMessage</B> ". _("to") ." <B>$endMessage</B> ($numMessages " . _("total") . ")</CENTER>\n"; |
0d1b4832 |
203 | echo "</TD></TR>\n"; |
204 | } else if ($startMessage == $endMessage) { |
5cd6702a |
205 | echo "<TR BGCOLOR=\"$color[4]\"><TD>"; |
7e343a7d |
206 | echo "<CENTER>". _("Viewing message") ." <B>$startMessage</B> ($numMessages " . _("total") . ")</CENTER>\n"; |
0d1b4832 |
207 | echo "</TD></TR>\n"; |
208 | } |
26b6c99c |
209 | |
f8f9bed9 |
210 | echo "<TR BGCOLOR=\"$color[4]\"><TD>"; |
5b10f02a |
211 | if (($nextGroup <= $numMessages) && ($prevGroup >= 0)) { |
88c81396 |
212 | echo "<A HREF=\"right_main.php?use_mailbox_cache=1&startMessage=$prevGroup&mailbox=$urlMailbox\" TARGET=\"right\">". _("Previous") ."</A> | \n"; |
e452ce9b |
213 | echo "<A HREF=\"right_main.php?use_mailbox_cache=1&&startMessage=$nextGroup&mailbox=$urlMailbox\" TARGET=\"right\">". _("Next") ."</A>\n"; |
926da13e |
214 | } |
5b10f02a |
215 | else if (($nextGroup > $numMessages) && ($prevGroup >= 0)) { |
88c81396 |
216 | echo "<A HREF=\"right_main.php?use_mailbox_cache=1&startMessage=$prevGroup&mailbox=$urlMailbox\" TARGET=\"right\">". _("Previous") ."</A> | \n"; |
217 | echo "<FONT COLOR=\"$color[9]\">"._("Next")."</FONT>\n"; |
3302d0d4 |
218 | } |
5b10f02a |
219 | else if (($nextGroup <= $numMessages) && ($prevGroup < 0)) { |
88c81396 |
220 | echo "<FONT COLOR=\"$color[9]\">"._("Previous")."</FONT> | \n"; |
e452ce9b |
221 | echo "<A HREF=\"right_main.php?use_mailbox_cache=1&startMessage=$nextGroup&mailbox=$urlMailbox\" TARGET=\"right\">". _("Next") ."</A>\n"; |
926da13e |
222 | } |
20db5033 |
223 | echo "</TD></TR>\n"; |
926da13e |
224 | |
68347a84 |
225 | /** The delete and move options */ |
f8f9bed9 |
226 | echo "<TR><TD BGCOLOR=\"$color[0]\">"; |
ed4332d1 |
227 | |
e452ce9b |
228 | echo "\n\n\n<FORM name=messageList method=post action=\"move_messages.php?msg=$msg&mailbox=$urlMailbox&startMessage=$startMessage\">"; |
623332f3 |
229 | echo "<TABLE BGCOLOR=\"$color[0]\" COLS=2 BORDER=0 cellpadding=0 cellspacing=0>\n"; |
ed4332d1 |
230 | echo " <TR>\n"; |
98fe1e9f |
231 | echo " <TD WIDTH=60% ALIGN=LEFT VALIGN=CENTER>\n"; |
aae41ae9 |
232 | echo " <NOBR><SMALL>". _("Move selected to:") ."</SMALL>"; |
7ce342dc |
233 | echo " <TT><SMALL><SELECT NAME=\"targetMailbox\">"; |
234 | |
9f2215a1 |
235 | $boxes = sqimap_mailbox_list($imapConnection); |
7ce342dc |
236 | for ($i = 0; $i < count($boxes); $i++) { |
349ca9f7 |
237 | if ($boxes[$i]["flags"][0] != "noselect" && $boxes[$i]["flags"][1] != "noselect" && $boxes[$i]["flags"][2] != "noselect") { |
238 | $box = $boxes[$i]["unformatted"]; |
239 | $box2 = replace_spaces($boxes[$i]["formatted"]); |
240 | echo " <OPTION VALUE=\"$box\">$box2\n"; |
241 | } |
dd88d31f |
242 | } |
7ce342dc |
243 | echo " </SELECT></SMALL></TT>"; |
aae41ae9 |
244 | echo " <SMALL><INPUT TYPE=SUBMIT NAME=\"moveButton\" VALUE=\"". _("Move") ."\"></SMALL></NOBR>\n"; |
ed4332d1 |
245 | |
246 | echo " </TD>\n"; |
7ce342dc |
247 | echo " <TD WIDTH=40% ALIGN=RIGHT>\n"; |
aae41ae9 |
248 | echo " <NOBR><SMALL><INPUT TYPE=SUBMIT VALUE=\"". _("Delete") ."\"> ". _("checked messages") ."</SMALL></NOBR>\n"; |
ed4332d1 |
249 | echo " </TD>"; |
250 | echo " </TR>\n"; |
251 | |
ed4332d1 |
252 | echo "</TABLE>\n\n\n"; |
aa4c3749 |
253 | echo "</TD></TR>"; |
254 | |
f8f9bed9 |
255 | echo "<TR><TD BGCOLOR=\"$color[0]\">"; |
98fe1e9f |
256 | echo "<TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=1 BGCOLOR=\"$color[0]\">"; |
f8f9bed9 |
257 | echo "<TR BGCOLOR=\"$color[5]\" ALIGN=\"center\">"; |
c85b38c9 |
258 | echo " <TD WIDTH=1%><B> </B></TD>"; |
0e919368 |
259 | /** FROM HEADER **/ |
cbdc5621 |
260 | if ($mailbox == $sent_folder) |
261 | echo " <TD WIDTH=30%><B>". _("To") ."</B>"; |
262 | else |
263 | echo " <TD WIDTH=30%><B>". _("From") ."</B>"; |
264 | |
0e919368 |
265 | if ($sort == 2) |
e452ce9b |
266 | echo " <A HREF=\"right_main.php?newsort=3&startMessage=1&mailbox=$urlMailbox\" TARGET=\"right\"><IMG SRC=\"../images/up_pointer.gif\" BORDER=0></A></TD>\n"; |
0e919368 |
267 | else if ($sort == 3) |
e452ce9b |
268 | echo " <A HREF=\"right_main.php?newsort=2&startMessage=1&mailbox=$urlMailbox\" TARGET=\"right\"><IMG SRC=\"../images/down_pointer.gif\" BORDER=0></A></TD>\n"; |
0e919368 |
269 | else |
e452ce9b |
270 | echo " <A HREF=\"right_main.php?newsort=3&startMessage=1&mailbox=$urlMailbox\" TARGET=\"right\"><IMG SRC=\"../images/sort_none.gif\" BORDER=0></A></TD>\n"; |
0e919368 |
271 | /** DATE HEADER **/ |
c85b38c9 |
272 | echo " <TD nowrap WIDTH=1%><B>". _("Date") ."</B>"; |
926da13e |
273 | if ($sort == 0) |
e452ce9b |
274 | echo " <A HREF=\"right_main.php?newsort=1&startMessage=1&mailbox=$urlMailbox\" TARGET=\"right\"><IMG SRC=\"../images/up_pointer.gif\" BORDER=0></A></TD>\n"; |
0e919368 |
275 | else if ($sort == 1) |
e452ce9b |
276 | echo " <A HREF=\"right_main.php?newsort=0&startMessage=1&mailbox=$urlMailbox\" TARGET=\"right\"><IMG SRC=\"../images/down_pointer.gif\" BORDER=0></A></TD>\n"; |
0e919368 |
277 | else |
e452ce9b |
278 | echo " <A HREF=\"right_main.php?newsort=0&startMessage=1&mailbox=$urlMailbox\" TARGET=\"right\"><IMG SRC=\"../images/sort_none.gif\" BORDER=0></A></TD>\n"; |
be8e07f8 |
279 | echo " <TD WIDTH=1%> </TD>\n"; |
0e919368 |
280 | /** SUBJECT HEADER **/ |
aae41ae9 |
281 | echo " <TD WIDTH=%><B>". _("Subject") ."</B>\n"; |
0e919368 |
282 | if ($sort == 4) |
e452ce9b |
283 | echo " <A HREF=\"right_main.php?newsort=5&startMessage=1&mailbox=$urlMailbox\" TARGET=\"right\"><IMG SRC=\"../images/up_pointer.gif\" BORDER=0></A></TD>\n"; |
0e919368 |
284 | else if ($sort == 5) |
e452ce9b |
285 | echo " <A HREF=\"right_main.php?newsort=4&startMessage=1&mailbox=$urlMailbox\" TARGET=\"right\"><IMG SRC=\"../images/down_pointer.gif\" BORDER=0></A></TD>\n"; |
0e919368 |
286 | else |
e452ce9b |
287 | echo " <A HREF=\"right_main.php?newsort=5&startMessage=1&mailbox=$urlMailbox\" TARGET=\"right\"><IMG SRC=\"../images/sort_none.gif\" BORDER=0></A></TD>\n"; |
be8e07f8 |
288 | |
926da13e |
289 | echo "</TR>"; |
290 | |
d29aac0e |
291 | |
926da13e |
292 | // loop through and display the info for each message. |
aa4c3749 |
293 | $t = 0; // $t is used for the checkbox number |
4c2d69ac |
294 | if ($numMessages == 0) { // if there's no messages in this folder |
9988d19e |
295 | echo "<TR><TD BGCOLOR=\"$color[4]\" COLSPAN=5><CENTER><BR><B>". _("THIS FOLDER IS EMPTY") ."</B><BR> </CENTER></TD></TR>"; |
4c2d69ac |
296 | } else if ($startMessage == $endMessage) { // if there's only one message in the box, handle it different. |
a37f3771 |
297 | $i = $startMessage; |
af9404d7 |
298 | reset($msort); |
299 | do { |
300 | $key = key($msort); |
301 | next($msort); |
302 | $k++; |
303 | } while (isset ($key) && ($k < $i)); |
1809bad8 |
304 | printMessageInfo($imapConnection, $t, $i, $key, $mailbox, $sort, $startMessage, 0, 0); |
4c2d69ac |
305 | } else { |
5b6ae78a |
306 | $i = $startMessage; |
307 | reset($msort); |
308 | do { |
309 | $key = key($msort); |
310 | next($msort); |
311 | $k++; |
312 | } while (isset ($key) && ($k < $i)); |
313 | |
314 | do { |
1809bad8 |
315 | printMessageInfo($imapConnection, $t, $i, $key, $mailbox, $sort, $startMessage, 0, 0); |
5b6ae78a |
316 | $key = key($msort); |
4c2d69ac |
317 | $t++; |
5b6ae78a |
318 | $i++; |
319 | next($msort); |
320 | } while ($i < ($endMessage+1)); |
926da13e |
321 | } |
68347a84 |
322 | echo "</FORM></TABLE>"; |
aa4c3749 |
323 | |
68347a84 |
324 | echo "</TABLE>\n"; |
4c2d69ac |
325 | echo "</TD></TR>\n"; |
326 | |
f8f9bed9 |
327 | echo "<TR BGCOLOR=\"$color[4]\"><TD>"; |
20db5033 |
328 | if (($nextGroup <= $numMessages) && ($prevGroup >= 0)) { |
88c81396 |
329 | echo "<A HREF=\"right_main.php?use_mailbox_cache=1&startMessage=$prevGroup&mailbox=$urlMailbox\" TARGET=\"right\">" . _("Previous") . "</A> | \n"; |
e452ce9b |
330 | echo "<A HREF=\"right_main.php?use_mailbox_cache=1&startMessage=$nextGroup&mailbox=$urlMailbox\" TARGET=\"right\">" . _("Next") . "</A>\n"; |
20db5033 |
331 | } |
332 | else if (($nextGroup > $numMessages) && ($prevGroup >= 0)) { |
88c81396 |
333 | echo "<A HREF=\"right_main.php?use_mailbox_cache=1&startMessage=$prevGroup&mailbox=$urlMailbox\" TARGET=\"right\">" . _("Previous") . "</A> | \n"; |
aae41ae9 |
334 | echo "<FONT COLOR=\"$color[9]\">" . _("Next") . "</FONT>\n"; |
20db5033 |
335 | } |
336 | else if (($nextGroup <= $numMessages) && ($prevGroup < 0)) { |
88c81396 |
337 | echo "<FONT COLOR=\"$color[9]\">" . _("Previous"). "</FONT> | \n"; |
e452ce9b |
338 | echo "<A HREF=\"right_main.php?use_mailbox_cache=1&startMessage=$nextGroup&mailbox=$urlMailbox\" TARGET=\"right\">" . _("Next") . "</A>\n"; |
20db5033 |
339 | } |
623332f3 |
340 | echo "</TD></TR></table>"; /** End of message-list table */ |
6b638171 |
341 | |
342 | do_hook("mailbox_index_after"); |
3302d0d4 |
343 | } |
26b6c99c |
344 | ?> |