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