From: kink Date: Fri, 26 Jan 2007 14:03:08 +0000 (+0000) Subject: replace reserved word 'action' with 'encaction' X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0c961f1d177204be0e5f2d2f797c47092b10ffd1;p=squirrelmail.git replace reserved word 'action' with 'encaction' git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12205 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/plugins/squirrelspell/js/crypto_settings.js b/plugins/squirrelspell/js/crypto_settings.js index f5dfd2fe..a60696e8 100644 --- a/plugins/squirrelspell/js/crypto_settings.js +++ b/plugins/squirrelspell/js/crypto_settings.js @@ -4,7 +4,7 @@ * Some client-side checks. Nothing fancy. * * @author Konstantin Riabitsev - * @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$ */ @@ -18,9 +18,9 @@ function checkMe(){ 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 +} diff --git a/plugins/squirrelspell/modules/crypto.mod b/plugins/squirrelspell/modules/crypto.mod index 4d2078e6..cbee73a0 100644 --- a/plugins/squirrelspell/modules/crypto.mod +++ b/plugins/squirrelspell/modules/crypto.mod @@ -23,7 +23,7 @@ global $SQSPELL_CRYPTO; $langs=sqspell_getSettings(); -if (! sqgetGlobalVar('action', $crypt_action, SQ_POST)) { +if (! sqgetGlobalVar('encaction', $crypt_action, SQ_POST)) { $crypt_action = 'noaction'; } diff --git a/plugins/squirrelspell/modules/enc_setup.mod b/plugins/squirrelspell/modules/enc_setup.mod index 8805a8b1..09b6c7b9 100644 --- a/plugins/squirrelspell/modules/enc_setup.mod +++ b/plugins/squirrelspell/modules/enc_setup.mod @@ -60,7 +60,7 @@ if ($crypted){ . '

' . '
' . '' - . '

' @@ -85,7 +85,7 @@ if ($crypted){ . '

' . '' . '' - . '

'