From: cigamit Date: Mon, 1 Nov 2004 15:25:51 +0000 (+0000) Subject: Revert my changes on this plugin, I didn't notice that the globals were dynamically... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;ds=inline;h=8755fbdb5031cf3b9e3d5f1171e20d73fd5036fa;p=squirrelmail.git Revert my changes on this plugin, I didn't notice that the globals were dynamically called. Thanks Tomas! git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8316 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/plugins/translate/functions.php b/plugins/translate/functions.php index 4ae847f4..434e284a 100644 --- a/plugins/translate/functions.php +++ b/plugins/translate/functions.php @@ -71,6 +71,13 @@ function translate_read_form_function() { 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; }