* Some client-side checks. Nothing fancy.
*
* @author Konstantin Riabitsev <icon at duke.edu>
- * @copyright © 2001-2006 The SquirrelMail Project Team
+ * @copyright © 2001-2007 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
*/
alert (ui_makesel);
return false;
}
- if (document.forms[0].action.value=="encrypt")
+ if (document.forms[0].encaction.value=="encrypt")
cmsg=ui_encrypt;
- if (document.forms[0].action.value=="decrypt")
+ if (document.forms[0].encaction.value=="decrypt")
cmsg=ui_decrypt;
return confirm(cmsg);
-}
\ No newline at end of file
+}
$langs=sqspell_getSettings();
-if (! sqgetGlobalVar('action', $crypt_action, SQ_POST)) {
+if (! sqgetGlobalVar('encaction', $crypt_action, SQ_POST)) {
$crypt_action = 'noaction';
}
. '</p>'
. '<form method="post" onsubmit="return checkMe()">'
. '<input type="hidden" name="MOD" value="crypto" />'
- . '<p align="center"><input type="checkbox" name="action" '
+ . '<p align="center"><input type="checkbox" name="encaction" '
. 'value="decrypt" id="action_decrypt" /> <label for="action_decrypt">'
. _("Please decrypt my personal dictionary and store it in a clear-text format." )
. '</label></p>'
. '</p>'
. '<form method="post" onsubmit="return checkMe()">'
. '<input type="hidden" name="MOD" value="crypto" />'
- . '<p align="center"><input type="checkbox" name="action" '
+ . '<p align="center"><input type="checkbox" name="encaction" '
. 'value="encrypt" id="action_encrypt" /> <label for="action_encrypt">'
. _("Please encrypt my personal dictionary and store it in an encrypted format.")
. '</label></p>'