Rev 13798 | Rev 13801 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 13798 | Rev 13799 | ||
---|---|---|---|
Line 123... | Line 123... | ||
123 | !if $(replytype$k) iswordof clickfill dragfill |
123 | !if $(replytype$k) iswordof clickfill dragfill |
124 | rg_tmp=!listuniq $rg1_,$rg2_ |
124 | rg_tmp=!listuniq $rg1_,$rg2_ |
125 | !endif |
125 | !endif |
126 | Rg$i=!append line $rg_tmp to $(Rg$i) |
126 | Rg$i=!append line $rg_tmp to $(Rg$i) |
127 | !goto endRg |
127 | !goto endRg |
128 | !endif checkbox |
128 | !endif checkbox and als |
- | 129 | ||
129 | !if $(replytype$k) iswordof coord |
130 | !if $(replytype$k) iswordof coord |
130 | rg_=<img src="$(rg_[1;])" /> |
131 | rg_=<img src="$(rg_[1;])" /> |
131 | Rg$i=!append line $rg_ to $(Rg$i) |
132 | Rg$i=!append line $rg_ to $(Rg$i) |
132 | !goto endRg |
133 | !goto endRg |
133 | !endif |
134 | !endif |
- | 135 | ||
134 | !if $(replytype$k) iswordof atext wlist nocase case |
136 | !if $(replytype$k) iswordof atext wlist nocase case |
135 | rg_=!translate internal ;| to $\ |
137 | rg_=!translate internal ;| to $\ |
136 | \ |
138 | \ |
137 | $ in $rg_ |
139 | $ in $rg_ |
138 | rg_=!line 1 of $rg_ |
140 | rg_=!line 1 of $rg_ |
139 | !endif atext |
141 | !endif atext |
- | 142 | ||
140 | !if $(replytype$k) iswordof function default equation |
143 | !if $(replytype$k) iswordof function default equation or $(replystyle$k) iswordof numeric |
141 | rg_=!item 1 of $rg_ |
144 | rg_=!item 1 of $rg_ |
142 | Rg$i=!append line $ to $(Rg$i) |
145 | Rg$i=!append line $ $ to $(Rg$i) |
143 | !goto endRg |
146 | !goto endRg |
144 | !endif function |
147 | !endif function |
- | 148 | ||
145 | !if $(replytype$k) iswordof imgcomp textcomp compose reorder |
149 | !if $(replytype$k) iswordof imgcomp textcomp compose reorder |
146 | dragfill clickfill |
- | |
147 | rg_=!translate internal | to $\ |
150 | rg_=!translate internal | to $\ |
148 | $ in $rg_ |
151 | $ in $rg_ |
149 | rg_=!rows2lines $rg_ |
152 | rg_=!rows2lines $rg_ |
150 | rg_tmp=!lines2items $rg_ |
153 | rg_tmp=!lines2items $rg_ |
151 | rg_=!line 1 of $rg_ |
154 | rg_=!line 1 of $rg_ |
Line 159... | Line 162... | ||
159 | rg_cnt_=!itemcnt $rg_tmp |
162 | rg_cnt_=!itemcnt $rg_tmp |
160 | rg__=!shuffle $rg_cnt_ |
163 | rg__=!shuffle $rg_cnt_ |
161 | rg_tmp=!listuniq $(rg_tmp[$rg__]) |
164 | rg_tmp=!listuniq $(rg_tmp[$rg__]) |
162 | Rg$i=!append line $rg_tmp to $(Rg$i) |
165 | Rg$i=!append line $rg_tmp to $(Rg$i) |
163 | !goto endRg |
166 | !goto endRg |
164 | !endif |
167 | !endif |
165 | rg_=!translate , to $ $ in $rg_ |
168 | rg_=!translate , to $ $ in $rg_ |
166 | !endif |
169 | !endif |
- | 170 | ||
167 | !if $(replytype$k) iswordof correspond |
171 | !if $(replytype$k) iswordof correspond |
168 | !set rg__=!replace internal ; by $\ |
172 | !set rg__=!replace internal ; by $\ |
169 | $ in $rg_ |
173 | $ in $rg_ |
170 | !distribute lines $rg__ into rg1__,rg2__ |
174 | !distribute lines $rg__ into rg1__,rg2__ |
171 | !set rg__cnt=!itemcnt $rg1__ |
175 | !set rg__cnt=!itemcnt $rg1__ |
Line 185... | Line 189... | ||
185 | !set rg__=$rg__</tr></table> |
189 | !set rg__=$rg__</tr></table> |
186 | !set rg_=$rgg_</tr></table> |
190 | !set rg_=$rgg_</tr></table> |
187 | Rg$i=!append line $(rg__) to $(Rg$i) |
191 | Rg$i=!append line $(rg__) to $(Rg$i) |
188 | !goto endRg |
192 | !goto endRg |
189 | !endif |
193 | !endif |
- | 194 | ||
190 | !if $(replytype$k) iswordof draw |
195 | !if $(replytype$k) iswordof draw |
191 | rg__=$(rg_[2;]) |
196 | rg__=$(rg_[2;]) |
192 | tmp=!item 1 of $rg__ |
197 | tmp=!item 1 of $rg__ |
193 | !if $tmp=arrows |
198 | !if $tmp=arrows |
194 | !default arrow_head=10 |
199 | !default arrow_head=10 |
Line 206... | Line 211... | ||
206 | !readproc oef/canvasdraw.phtml $rg_$ $ $rg__ |
211 | !readproc oef/canvasdraw.phtml $rg_$ $ $rg__ |
207 | rg_=!replace internal $\ |
212 | rg_=!replace internal $\ |
208 | $ by in $canvasdraw_out |
213 | $ by in $canvasdraw_out |
209 | !goto endRg |
214 | !goto endRg |
210 | !endif |
215 | !endif |
- | 216 | ||
211 | Rg$i=!append line |
217 | Rg$i=!append line $ $ to $(Rg$i) |
212 | :endRg |
218 | :endRg |
213 | !if $conditioncnt<1 |
219 | !if $conditioncnt<1 |
214 | !if noanalyzeprint notwordof $(replyoption$k) |
220 | !if noanalyzeprint notwordof $(replyoption$k) |
215 | !if $(replyname$k)$rg_ != |
221 | !if $(replyname$k)$rg_ != |
216 | !if http isin $(replyname$k)$rg_ |
222 | !if http isin $(replyname$k)$rg_ |
Line 218... | Line 224... | ||
218 | !else |
224 | !else |
219 | !if $(replyname$k)!= |
225 | !if $(replyname$k)!= |
220 | rep=!append line <em>$(replyname$k)</em>: $rg_ to $rep |
226 | rep=!append line <em>$(replyname$k)</em>: $rg_ to $rep |
221 | !else |
227 | !else |
222 | rep=!append line $rg_ to $rep |
228 | rep=!append line $rg_ to $rep |
223 | !endif |
229 | !endif |
224 | !endif |
230 | !endif |
225 | !endif |
231 | !endif |
226 | !endif |
232 | !endif |
227 | !endif |
233 | !endif |
228 | !else |
234 | !else |