6 * Pick your translator to translate the body of incoming mail messages
8 * @copyright © 1999-2009 The SquirrelMail Project Team
9 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
12 * @subpackage translate
16 * Include the SquirrelMail initialization file.
18 require('../../include/init.php');
20 /** Plugin functions */
21 include_once(SM_PATH
. 'plugins/translate/functions.php');
23 displayPageHeader($color);
26 <table width
="95%" align
="center" border
="0" cellpadding
="1" cellspacing
="0"><tr
><td bgcolor
="<?php echo $color[0]; ?>">
27 <div style
="text-align: center;"><b
><?php
echo _("Options") . ' - '. _("Translator"); ?
></b
></div
>
30 <p
><?php
echo _("Your server options are as follows:"); ?
></p
>
39 echo _("You also decide if you want the translation box displayed, and where it will be located.") .
40 '<form action="'.sqm_baseuri().'src/options.php" method="post">'.
41 '<input type="hidden" name="optmode" value="submit" />' .
42 '<input type="hidden" name="optpage" value="translate" />' .
43 '<table border="0" cellpadding="0" cellspacing="2">'.
44 '<tr><td align="right" style="white-space: nowrap;">' .
45 _("Select your translator:") .
47 '<td><select name="translate_translate_server">';
48 translate_showoption();
51 '<tr>'.html_tag('td',_("When reading:"),'right','','style="white-space: nowrap;"').
52 '<td><input type="checkbox" name="translate_translate_show_read"';
53 if ($translate_show_read)
54 echo ' checked="checked"';
55 echo ' /> - ' . _("Show translation box") .
56 ' <select name="translate_translate_location">';
57 translate_showoption_internal('location', 'left', _("to the left"));
58 translate_showoption_internal('location', 'center', _("in the center"));
59 translate_showoption_internal('location', 'right', _("to the right"));
60 echo '</select><br />'.
61 '<input type="checkbox" name="translate_translate_same_window"';
62 if ($translate_same_window)
63 echo ' checked="checked"';
64 echo ' /> - ' . _("Translate inside the SquirrelMail frames").
67 if (!$disable_compose_translate) {
68 echo '<tr>'.html_tag('td',_("When composing:"),'right','','style="white-space: nowrap;"').
69 '<td><input type="checkbox" name="translate_translate_show_send"';
70 if ($translate_show_send)
71 echo ' checked="checked"';
72 echo ' /> - ' . _("Not yet functional, currently does nothing") .
77 <input type
="submit" value
="<?php echo _("Submit
"); ?>" name
="submit_translate" />