Exemple #1
0
    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 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 
}
Exemple #2
0
            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 
        }