* options_personal_save src/options_personal.php
* options_display_bottom src/options_display.php
* options_display_inside src/options_display.php
- * options_display_sav src/options_display.php
+ * options_display_save src/options_display.php
* options_folders_bottom src/options_folders.php
* options_folders_inside src/options_folders.php
* options_folders_save src/options_folders.php
loading_prefs src/load_prefs.php
mailbox_index_before functions/mailbox_display.php
mailbox_index_after functions/mailbox_display.php
+ mailbox_form_before functions/mailbox_display.php
right_main_after_header src/right_main.php
right_main_bottom src/right_main.php
login_top src/login.php
help_chapter src/help.php
abook_html_search_below src/addrbook_search_html.php
addressbook_bottom src/addressbook.php
+ attachment $type0/$type1 functions/mime.php
(*) Options
-----------
** Selects a mailbox
******************************************************************************/
function sqimap_mailbox_select ($imap_stream, $mailbox, $hide=true, $recent=false) {
+ global $auto_expunge;
+
fputs ($imap_stream, "a001 SELECT \"$mailbox\"\r\n");
$read = sqimap_read_data($imap_stream, "a001", true, $response, $message);
if ($recent) {
}
return $r[1];
}
+ if ($auto_expunge) {
+ fputs ($imap_stream, "a001 EXPUNGE\r\n");
+ $tmp = sqimap_read_data($imap_stream, "a001", $a, $b, true);
+ }
}
echo "<TR><TD BGCOLOR=\"$color[0]\">";
echo "\n\n\n<FORM name=messageList method=post action=\"move_messages.php?msg=$msg&mailbox=$urlMailbox&startMessage=$startMessage\">";
+ do_hook("mailbox_form_before");
echo "<TABLE BGCOLOR=\"$color[0]\" COLS=2 BORDER=0 cellpadding=0 cellspacing=0>\n";
echo " <TR>\n";
echo " <TD WIDTH=60% ALIGN=LEFT VALIGN=CENTER>\n";
if ($message->header->description)
$body .= " <b>" . htmlspecialchars($message->header->description)."</b>";
$body .= " (<a href=\"../src/download.php?absolute_dl=true&passed_id=$id&mailbox=$urlMailbox&passed_ent_id=$ent\">"._("download")."</a>)\n";
+ do_hook("attachment $type0/$type1");
$body .= "</TT><BR>";
$num++;
}
<?php
- include "functions/strings.php";
+ include "./functions/strings.php";
$location = get_location();
header("Location: $location/src/login.php\n\n");