<?php
+/**
+ * setup.php
+ *
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * $Id$
+ */
+
/* Easy plugin that sends the body of the message to a new browser
window using the specified translator. It can also translate your
outgoing message if you send it to someone in a different country.
if (is_int($pos)) {
$new_body = substr($new_body, 0, $pos);
}
-
- $trans = get_html_translation_table('HTMLENTITIES');
+
+ $trans = get_html_translation_table(HTML_ENTITIES);
$trans[' '] = ' ';
$trans = array_flip($trans);
$new_body = strtr($new_body, $trans);
sprintf( _("%s to %s"),
_("Spanish"),
_("English"))) .
- '<\SELECT>'.
+ '</SELECT>'.
'Dictionary.com: <INPUT TYPE="submit" VALUE="'._("Translate").'">';
translate_table_end();