-
Notifications
You must be signed in to change notification settings - Fork 0
/
morfix.xml
180 lines (139 loc) · 11.1 KB
/
morfix.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="__MSG_title__" title_url="http://www.morfix.co.il/" description="__MSG_description__" author="Jeremy Glassenberg" author_email="[email protected]" author_location="Pittsburgh, PA" author_affiliation="Carnegie Mellon MBA Candidate" screenshot="http://www.morfix.co.il/morfixheb.jpg" thumbnail="http://www.morfix.co.il/morfixheb.jpg" scrolling="true" height="94">
<Locale messages="http://www.jeremyglassenberg.com/morfix_bundle_default.xml"/>
<Locale lang="iw" messages="http://www.jeremyglassenberg.com/morfix_bundle_heb.xml" />
<Require feature="dynamic-height"/>
</ModulePrefs>
<Content type="html">
<![CDATA[
<SCRIPT LANGUAGE="JAVASCRIPT">
<!--
var imgOn = 'post'
function setimgOn(set)
{
imgOn = set
}
function GetAction()
{
form1.action = "http://www.morfix.co.il/defaultp.asp"
var radioSelect="103";
if (_gel("RadioButtonExpSyn").checked){
radioSelect="106";
}
else if (_gel("RadioButtonMorphological").checked){
radioSelect="101";
}
else if (_gel("RadioButtonExact").checked){
radioSelect="104";
}
if (imgOn == 'get') // dictionary
{
if(form1.q.value)
form1.action = "http://milon.morfix.co.il/?q="+form1.q.value;
else
form1.action = "http://milon.morfix.co.il/MorDictFirstPage.htm"
form1.method = 'get'
}
if(imgOn == 'post')
{
form1.action = "http://www.morfix.co.il/Default.aspx?matchMode="+radioSelect+"&q="+form1.q.value; //search
form1.method = 'post'
}
}
/*
* Shows the Keyboard window
*/
function showKeyboard()
{
//_gel("divkeyboard").innerHTML = _gel("keyboard").innerHTML.substr(4,_gel("keyboard").innerHTML.length-8);
if (_gel("keyboard").style.display == ""){
_gel("keyboard").style.display = "none";
}
else{
_gel("keyboard").style.display = "";
}
//_gel("keyboardToggle").onclick = "closeKeyboard()";
_IG_AdjustIFrameHeight();
}
function setStr(str)
{
//alert(document.form1)
document.form1.q.value+=str
}
function del()
{
var str
var Len = document.form1.q.value.length
str = document.form1.q.value.substring(0,Len- 1)
document.form1.q.value = str
}
function toggleMode(){
if(document.form1.target == "_blank"){
document.form1.target = "_top";
}
else {
document.form1.target = "_blank";
}
}
//-->
</SCRIPT>
<form Onsubmit=GetAction() id=form1 name=form1 target= "_top">
<input type="checkbox" onclick="toggleMode();"> מקלדת <input type="checkbox" onclick="showKeyboard();"> חפש בחלון חדש <br/>
<input type="submit" name="ButtonMilonMorfix" value="תרגום" onclick="setimgOn('get');" id="ButtonMilonMorfix" style="width:42px;" />
<input type="submit" name="ButtonSearch" value="חיפוש" onclick="setimgOn('post');" id="ButtonSearch" style="width:43px;" />
<INPUT name=q dir=rtl SIZE=10 MAXLENGTH=100 style="HEIGHT: 22px; LEFT: 208px; TOP: 143px; WIDTH: 200px" > <br>
<span class="rbtest" title="מילת החיפוש, כל נטיותיה וכן מילים נרדפות. מקלידים: עיתון ומקבלים: עיתון, עיתונים, מגאזין, ז'ורנל, ביטאון וכו'." style="color:Crimson;font-family:Arial,sans-serif;font-size:10pt;font-weight:bold;"><input id="RadioButtonSynonym" type="radio" name="MatchMode" value="RadioButtonSynonym" checked="checked"/><label for="RadioButtonSynonym"> מורפולוגי</label></span>
<span class="rbtest" title="מילת החיפוש, מילים בעלות שורש זהה ומשמעות קרובה ומילים נרדפות. מקלידים: עיתון ומקבלים: עיתון, עיתונים, עיתונות, עיתונאי , ז'ורנל, ביטאון וכו'." style="color:#FF8000;font-family:Arial,sans-serif;font-size:10pt;font-weight:bold;"><input id="RadioButtonExpSyn" type="radio" name="MatchMode" value="RadioButtonExpSyn" /><label for="RadioButtonExpSyn"> מורחב</label></span>
<span class="rbtest" title="מילת החיפוש, וכל צורות הנטייה שלה. מקלידים: עיתון ומקבלים: עיתון, עיתונים, והעיתון וכו'." style="color:ForestGreen;font-family:Arial,sans-serif;font-size:10pt;font-weight:bold;"><input id="RadioButtonMorphological" type="radio" name="MatchMode" value="RadioButtonMorphological" /><label for="RadioButtonMorphological"> מצומצם</label></span>
<span class="rbtest" title="מילות החיפוש, בדיוק כפי שהוקלדו. מקלידים :עיתון מקבלים: עיתון." style="color:Indigo;font-family:Arial,sans-serif;font-size:10pt;font-weight:bold;"><input id="RadioButtonExact" type="radio" name="MatchMode" value="RadioButtonExact" /><label for="RadioButtonExact"> כפי שהוקלד</label></span>
</FORM>
<div id="divkeyboard"></div>
<div id="keyboard" style="display:none;">
<table bgcolor = "lightgrey" width ="44%"><tr width = "100%">
<td><INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 21px" type=button value='"' onclick= "setStr('.')"></td>
<td><INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 21px" type=button value="'" onclick= "setStr('.')"></td>
<td><INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 21px" type=button value="ק" onclick= "setStr('ק')"></td>
<td><INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 21px" type=button value="ר" onclick= "setStr('ר')"></td>
<td><INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 21px" type=button value="א" onclick= "setStr('א')"></td>
<td><INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 21px" type=button value="ט" onclick= "setStr('ט')"></td>
<td><INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 21px" type=button value="ו" onclick= "setStr('ו')"></td>
<td><INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 21px" type=button value="ן" onclick= "setStr('ן')"></td>
<td><INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 21px" type=button value="ם" onclick= "setStr('ם')"></td>
<td><INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 21px" type=button value="פ" onclick= "setStr('פ')"></td>
</tr>
<tr>
<td><INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 21px" type=button value="ש" onclick= "setStr('ש')"></td>
<td><INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 21px" type=button value="ד" onclick= "setStr('ד')"></td>
<td><INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 21px" type=button value="ג" onclick= "setStr('ג')"></td>
<td><INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 21px" type=button value="כ" onclick= "setStr('כ')"></td>
<td><INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 21px" type=button value="ע" onclick= "setStr('ע')"></td>
<td><INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 21px" type=button value="י" onclick= "setStr('י')"></td>
<td><INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 21px" type=button value="ח" onclick= "setStr('ח')"></td>
<td><INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 21px" type=button value="ל" onclick= "setStr('ל')"></td>
<td><INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 21px" type=button value="ך" onclick= "setStr('ך')"></td>
<td><INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 21px" type=button value="ף" onclick= "setStr('ף')"></td>
</tr>
<tr>
<td><INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 21px" type=button value="ז" onclick= "setStr('ז')" ></td>
<td><INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 21px" type=button value="ס" onclick= "setStr('ס')"></td>
<td><INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 21px" type=button value="ב" onclick= "setStr('ב')"></td>
<td><INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 21px" type=button value="ה" onclick= "setStr('ה')"></td>
<td><INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 21px" type=button value="נ" onclick= "setStr('נ')"></td>
<td><INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 21px" type=button value="מ" onclick= "setStr('מ')"></td>
<td><INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 21px" type=button value="צ" onclick= "setStr('צ')"></td>
<td><INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 21px" type=button value="ת" onclick= "setStr('ת')"></td>
<td><INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 21px" type=button value="ץ" onclick= "setStr('ץ')"></td>
<td><INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 21px" type=button value="." onclick= "setStr('.')"></td>
</tr>
</table>
<tr>
<table bgcolor = "lightgrey" align = middle><tr><td width =18px > </td><td><INPUT width = "70px" id=button1 name=button1 style="HEIGHT: 16px; WIDTH: 170px" type=button onclick= "setStr(' ')">
</td> <td width =15px > </td><td> <INPUT id=button1 name=button1 style="HEIGHT: 24px; WIDTH: 30px" type=button onclick= "del()" value = Del></td></tr></table>
</TABLE> </div>
<script language="javascript">
_IG_AdjustIFrameHeight();
</script>
]]>
</Content>
</Module>