rg=0
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 25 Sep 2002 17:00:43 +0000 (17:00 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 25 Sep 2002 17:00:43 +0000 (17:00 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3730 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/squirrelspell/modules/check_me.mod
plugins/squirrelspell/modules/crypto.mod
plugins/squirrelspell/modules/crypto_badkey.mod
plugins/squirrelspell/modules/forget_me.mod
plugins/squirrelspell/modules/forget_me_not.mod
plugins/squirrelspell/modules/lang_change.mod

index 3faa076c66c75cefa441b6b88d25bf59ae70ea54..41cfd15c8855cb6b28304d6d95e101b8e5825b48 100644 (file)
@@ -36,8 +36,10 @@ function SpellLink($jscode, $title, $link) {
 /**
  * Declaring globals for users with E_ALL set.
  */
-global $sqspell_text, $SQSPELL_APP, $sqspell_use_app, $attachment_dir,
-  $username, $SQSPELL_EREG, $color;
+global $SQSPELL_APP, $attachment_dir, $SQSPELL_EREG, $color;
+
+$sqspell_text = $_POST['sqspell_text'];
+$sqspell_use_app = $_POST['sqspell_use_app'];
 
 /**
  * Now we explode the lines for three reasons:
index 6dd1da97f8a9ed524ed7c240509c82217e69d0f8..e10a606563796f895495701cf4289c8329dcd95c 100644 (file)
@@ -19,8 +19,9 @@
 /**
  * Declaring globals for E_ALL
  */
-global $action, $SQSPELL_CRYPTO;
-switch ($action){
+global $SQSPELL_CRYPTO;
+
+switch ($_POST['action']){
   case 'encrypt':
     /**
      * Let's encrypt the file and save it in an encrypted format.
index 6a1926969da7200bbad5a5f4b77843d5be2ee7c7..ff238204842b0ae0f62655812fdab8fa178fee93 100644 (file)
  * @version $Date$
  */
 
-global $delete_words, $SCRIPT_NAME, $old_key;
+global $SCRIPT_NAME;
+
+$delete_words = $_POST['delete_words'];
+if(isset($_POST['old_key'])) {
+    $old_key = $_POST['old_key'];
+}
+
 if ($delete_words=='ON'){
   /**
    * $delete_words is passed via the query_string. If it's set, then
index 06e6396b3f0dbcb2020b366caaaa6a4c6b30cb54..59471e38dc3faf36f9a6483fa56d5d4633a537f9 100644 (file)
  * @version $Date$
  */
 
-global $words_ary, $sqspell_use_app, $SQSPELL_VERSION;
+global $SQSPELL_VERSION;
+
+$words_ary = $_POST['words_ary'];
+$sqspell_use_app = $_POST['sqspell_use_app'];
+
 /**
  * If something needs to be deleted, then $words_ary will be
  * non-zero length.
index eda679ab03b0cafe3029bf47a7f16f7a08f47eb3..a70a3c64e931ade06dd4d7d83d5749e5f832018d 100644 (file)
  * @author Konstantin Riabitsev <icon@duke.edu> ($Author$)
  */
 
-global $words, $SQSPELL_VERSION, $SQSPELL_APP_DEFFAULT, $sqspell_use_app;
+global $SQSPELL_VERSION, $SQSPELL_APP_DEFFAULT;
+
+$words = $_POST['words'];
+$sqspell_use_app = $_POST['sqspell_use_app'];
+
 /**
  * Because of the nature of Javascript, there is no way to efficiently
  * pass an array. Hence, the words will arrive as a string separated by
index d0ea2b424b2d6a57dde9898cc66141c951e5a37a..927d9bb92999331fd7a91e0b2e83671b96e39134 100644 (file)
  * @version $Date$
  */
 
-global $use_langs, $lang_default, $SQSPELL_APP_DEFAULT;
+global $SQSPELL_APP_DEFAULT;
+
+$use_langs = $_POST['use_langs'];
+$lang_default = $_POST['lang_default'];
+
 $words = sqspell_getWords();
 if (!$words) {
   $words = sqspell_makeDummy();