* 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-2013 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
$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
}
$note = _("Your mail has been sent.");
}
if (isset($note)) {
- $oTemplate->assign('note', htmlspecialchars($note));
+ $oTemplate->assign('note', sm_encode_html_special_chars($note));
$oTemplate->display('note.tpl');
}