示例#1
0
        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">  &nbsp;
		<?php 
        echo createDictLinksInEditWin2($record['WoLgID'], 'document.forms[\'editword\'].WoSentence', 'document.forms[\'editword\'].WoText');
        ?>
		&nbsp; &nbsp;
		<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");
示例#2
0
文件: edit_word.php 项目: Fips11/lwt
            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);
            ?>
			&nbsp; &nbsp; &nbsp; 
			<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 
        }