* This is where the mailboxes are listed. This controls most of what
* goes on in SquirrelMail.
*
- * @copyright 1999-2010 The SquirrelMail Project Team
+ * @copyright 1999-2012 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
//xdebug_start_profiling("/var/spool/xdebug/right_main.txt");
-/* Disable browser caching */
-header('Cache-Control: no-cache, no-store, must-revalidate');
-header('Pragma: no-cache');
-header('Expires: ' . gmdate(DATE_RFC1123, time()-1));
-
/**
* Include the SquirrelMail initialization file.
*/
$sError = handleMessageListForm($imapConnection,$aMailbox);
if ($sError) {
$note = $sError;
+} else if (sqgetGlobalVar('REQUEST_METHOD', $req_method, SQ_SERVER) && $req_method == 'POST') {
+ $preselected = array(); // clear pre-checked checkboxes when action succeeded
}