</tr> <tr> <td> <textarea name="src_text" cols="50" rows="5"><?php echo isset($_POST['src_text']) && $_POST['src_text'] != '' ? stripslashes($_POST['src_text']) : 'Hello world!'; ?> </textarea> </td> </tr> <tr> <td><?php echo __('Translated into', 'wp-autopost'); ?> : <select name="toLanguage" ><?php $toLanguage = $_POST['toLanguage'] != '' ? $_POST['toLanguage'] : ''; echo autopostMicrosoftTranslator::bulid_lang_options($toLanguage); ?> </select></td> </tr> </table> <p><input type="submit" name="test_translate" class="button-primary" value="<?php echo __('Test Translate', 'wp-autopost'); ?> " ></p> </form> </div> <?php //shuffle
<?php echo autopostMicrosoftTranslator::bulid_lang_options($use_trans[1]); ?> </select> </td> </tr> <tr> <td width="16%"><?php echo __('Translated into', 'wp-autopost'); ?> :</td> <td> <select id="translator1_to_Language" name="translator1_to_Language" > <?php echo autopostMicrosoftTranslator::bulid_lang_options($use_trans[2]); ?> </select> </td> </tr> </table> </div> <div id="Translator2" <?php if ($use_trans[0] != 2) { ?> style="display:none;" <?php } ?> >