Revert my changes on this plugin, I didn't notice that the globals were dynamically...
authorcigamit <cigamit@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 1 Nov 2004 15:25:51 +0000 (15:25 +0000)
committercigamit <cigamit@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 1 Nov 2004 15:25:51 +0000 (15:25 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8316 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/translate/functions.php

index 4ae847f409f448d8052b9c611eac938485c8bf7a..434e284acb70a1e72ee9a1d3127645dfe057137b 100644 (file)
@@ -71,6 +71,13 @@ function translate_read_form_function() {
     global $imapConnection, $wrap_at, $passed_id, $mailbox;
     global $translate_gpltrans_url;
 
     global $imapConnection, $wrap_at, $passed_id, $mailbox;
     global $translate_gpltrans_url;
 
+    global $translate_babelfish_enabled, $translate_go_enabled,
+        $translate_dictionary_enabled, $translate_google_enabled,
+        $translate_gpltrans_enabled, $translate_intertran_enabled,
+        $translate_promt_enabled, $translate_otenet_enabled;
+    global $translate_custom_enabled;
+
+
     if (!$translate_show_read) {
         return;
     }
     if (!$translate_show_read) {
         return;
     }