X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Ftranslate%2Ffunctions.php;h=edd0233ad47ba242c0db9cdb5ab72870f63e9824;hb=7aa2227615dd0453b7d07d8c01cb946b5d3caf0a;hp=f548be156e9f46e19f293a231a2c2aa0e2d58fba;hpb=859f39476b461bbf84bfa6672944e993ecea4875;p=squirrelmail.git
diff --git a/plugins/translate/functions.php b/plugins/translate/functions.php
index f548be15..edd0233a 100644
--- a/plugins/translate/functions.php
+++ b/plugins/translate/functions.php
@@ -2,7 +2,7 @@
/**
* SquirrelMail translate plugin functions
*
- * Copyright (c) 2004 The SquirrelMail Project Team
+ * Copyright (c) 2004-2005 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* @version $Id$
@@ -77,6 +77,7 @@ function translate_read_form_function() {
$translate_promt_enabled, $translate_otenet_enabled;
global $translate_custom_enabled;
+
if (!$translate_show_read) {
return;
}
@@ -232,7 +233,7 @@ function translate_showoption() {
$translate_dictionary_enabled, $translate_google_enabled,
$translate_gpltrans_enabled, $translate_intertran_enabled,
$translate_promt_enabled, $translate_otenet_enabled;
- global $translate_custom_enabled;
+ global $translate_custom_enabled, $translate_gpltrans_url;
if ($translate_babelfish_enabled) translate_showoption_internal('server','babelfish', 'Babelfish');
if ($translate_go_enabled) translate_showoption_internal('server','go', 'Go.com');
@@ -426,7 +427,7 @@ function translate_lang_opt($from, $to, $value, $text) {
* @access private
*/
function translate_new_form($action) {
- global $translate_dir, $translate_new_window, $translate_location;
+ global $translate_dir, $translate_location;
global $color, $translate_same_window;
echo '