echo tohtml(repl_tab_nl($record['WoSentence'])); ?> </textarea></td> </tr> <tr> <td class="td1 right">Status:</td> <td class="td1"> <?php echo get_wordstatus_radiooptions($record['WoStatus']); ?> </td> </tr> <tr> <td class="td1 right" colspan="2"> <?php echo createDictLinksInEditWin2($record['WoLgID'], 'document.forms[\'editword\'].WoSentence', 'document.forms[\'editword\'].WoText'); ?> <input type="button" value="Cancel" onclick="{resetDirty(); location.href='edit_words.php#rec<?php echo $_REQUEST['chg']; ?> ';}" /> <input type="submit" name="op" value="Change" /></td> </tr> </table> </form> <div id="exsent"><span class="click" onclick="do_ajax_show_sentences(<?php echo $record['LgID']; ?> , <?php echo prepare_textdata_js($wordlc) . ', ' . prepare_textdata_js("document.forms['editword'].WoSentence");
echo tohtml($sentence); ?> </textarea></td> </tr> <tr> <td class="td1 right">Status:</td> <td class="td1"> <?php echo get_wordstatus_radiooptions($status); ?> </td> </tr> <tr> <td class="td1 right" colspan="2"> <?php echo $fromAnn !== '' ? createDictLinksInEditWin2($lang, 'document.forms[0].WoSentence', 'document.forms[0].WoText') : createDictLinksInEditWin($lang, $term, 'document.forms[0].WoSentence', 1); ?> <input type="submit" name="op" value="Change" /></td> </tr> </table> </form> <div id="exsent"><span class="click" onclick="do_ajax_show_sentences(<?php echo $lang; ?> , <?php echo prepare_textdata_js($termlc) . ', ' . prepare_textdata_js("document.forms['editword'].WoSentence"); ?> );"><img src="icn/sticky-notes-stack.png" title="Show Sentences" alt="Show Sentences" /> Show Sentences</span></div> <?php }