Rev 11574 | Rev 12061 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 11574 | Rev 11681 | ||
---|---|---|---|
Line 74... | Line 74... | ||
74 | , |
74 | , |
75 | 75 | ||
76 | !record 7 of $my_dir |
76 | !record 7 of $my_dir |
77 | !!@#sélectionnez le type d'exercice que vous désirez créer, puis cliquez sur!!#@ |
77 | !!@#sélectionnez le type d'exercice que vous désirez créer, puis cliquez sur!!#@ |
78 | 78 | ||
- | 79 | <fieldset><legend> |
|
- | 80 | !record 57 of $my_dir |
|
79 | 81 | </legend> |
|
80 | $table_header |
82 | $table_header |
81 | $table_hdtr<td colspan="3" align="center"><input type="submit" $balise_obl value="$wims_name_tosave" /></td></tr> |
83 | $table_hdtr<td colspan="3" align="center"><input type="submit" $balise_obl value="$wims_name_tosave" /></td></tr> |
82 | $table_tr<th>$wims_name_Type</th><th>$wims_name_Description</th><th>$name_Example</th> |
84 | $table_tr<th>$wims_name_Type</th><th>$wims_name_Description</th><th>$name_Example</th> |
83 | !set u = !linecnt $name |
85 | !set u = !linecnt $name |
84 | !for i = 1 to $u |
86 | !for i = 1 to $u |
85 | $table_tr<td |
87 | $table_tr<td> |
86 | !set cnt=!itemcnt $(name[$i;]) |
88 | !set cnt=!itemcnt $(name[$i;]) |
87 | !for a =1 to $cnt |
89 | !for a =1 to $cnt |
88 | <br /> |
- | |
89 | !set wims_ref_class=wims_formradio |
90 | !set wims_ref_class=wims_formradio |
- | 91 | !set wims_ref_id=type_exo_$(i)_$a |
|
90 | !formradio type_exo list $(name[$i;$a]) prompt $(wims_name_quick_$(name[$i;$a])) |
92 | !formradio type_exo list $(name[$i;$a]) prompt $(wims_name_quick_$(name[$i;$a])) |
91 | !next a |
93 | !next a |
92 | </td><td |
94 | </td><td>$(explication[$i;])</td> |
93 | <td> |
95 | <td style="text-align:left"> |
- | 96 | <ul class="wims_nopuce"> |
|
94 | !for j = 1 to $(nb_example[$i]) |
97 | !for j = 1 to $(nb_example[$i]) |
- | 98 | <li> |
|
95 | !set ex_data = !getdef file in $example_dir/$(name_example[$i])/$j |
99 | !set ex_data = !getdef file in $example_dir/$(name_example[$i])/$j |
96 | !set ex_title = !getdef title in $example_dir/$(name_example[$i])/$j |
100 | !set ex_title = !getdef title in $example_dir/$(name_example[$i])/$j |
97 | !set ex_data=!nospace $ex_data |
101 | !set ex_data=!nospace $ex_data |
98 | !set ex_source = !getdef source in $example_dir/$(name_example[$i])/$j |
102 | !set ex_source = !getdef source in $example_dir/$(name_example[$i])/$j |
99 | 103 | ||
100 | !href target=wims_help module=$module_test&exo=$ex_source&cmd=new <i>$ex_title</i> |
104 | !href target=wims_help module=$module_test&exo=$ex_source&cmd=new <i>$ex_title</i> |
101 |
|
105 | $ |
102 | !href cmd=reply&example=$j&TYPE=$(name_example[$i]) $wims_name_source |
106 | !href cmd=reply&example=$j&TYPE=$(name_example[$i]) $wims_name_source |
103 |
|
107 | $ |
104 | !href target=wims_mhelp cmd=help&special_parm=example&special_parm2=$(name_example[$i])/$ex_data $name_data |
108 | !href target=wims_mhelp cmd=help&special_parm=example&special_parm2=$(name_example[$i])/$ex_data $name_data |
105 |
|
109 | $ |
106 |
|
110 | </li> |
107 | !next |
111 | !next j |
- | 112 | </ul> |
|
108 | </td></tr> |
113 | </td></tr> |
109 | !next i |
114 | !next i |
110 | !! </table> |
- | |
111 | $table_end |
115 | $table_end |
- | 116 | </fieldset> |
|
112 | !endif |
117 | !endif |
113 | !if $type_exo!=$empty |
118 | !if $type_exo!=$empty |
114 | 119 | ||
115 | !default mtype=inconnu |
120 | !default mtype=inconnu |
116 | !if $debut=1 |
121 | !if $debut=1 |
Line 197... | Line 202... | ||
197 | !record 12 of $my_dir |
202 | !record 12 of $my_dir |
198 | !!@# Nombre maximum d'étapes !!#@ |
203 | !!@# Nombre maximum d'étapes !!#@ |
199 | </label> |
204 | </label> |
200 | !set wims_ref_class=wims_button_help float_right |
205 | !set wims_ref_class=wims_button_help float_right |
201 | !href target=wims_mhelp cmd=help&special_parm1=etape $wims_name_help |
206 | !href target=wims_mhelp cmd=help&special_parm1=etape $wims_name_help |
202 | !set wims_ref_class=wims_formradio |
207 | !set wims_ref_class=wims_formradio |
203 | !formradio MAX1 from 1 to 5 |
208 | !formradio MAX1 from 1 to 5 |
204 | !set wims_ref_class=wims_formradio |
209 | !set wims_ref_class=wims_formradio |
205 | !formradio MAX1 list all prompt $name_all2 |
210 | !formradio MAX1 list all prompt $name_all2 |
206 | </div> |
211 | </div> |
207 | !endif |
212 | !endif |
208 | !endif |
213 | !endif |
209 | !if $type_exo iswordof CORRESP |
214 | !if $type_exo iswordof CORRESP |
210 | <div class="field box"> |
215 | <div class="field box"> |
211 | <label for="M"> |
216 | <label for="M"> |
212 | !record 13 of $my_dir |
217 | !record 13 of $my_dir |
213 | !!@# Nombre d'objets dans la correspondance !!#@ |
218 | !!@# Nombre d'objets dans la correspondance !!#@ |
214 | </label> |
219 | </label> |
215 | !set wims_ref_class=wims_formradio |
220 | !set wims_ref_class=wims_formradio |
Line 219... | Line 224... | ||
219 | !if $type_exo notwordof CORRESP ORDONNE QUIFAITQUOI QCMIII |
224 | !if $type_exo notwordof CORRESP ORDONNE QUIFAITQUOI QCMIII |
220 | <div class="field box"> |
225 | <div class="field box"> |
221 | <label for="alea"> |
226 | <label for="alea"> |
222 | !record 14 of $my_dir |
227 | !record 14 of $my_dir |
223 | !!@# Tirage aléatoire des jeux de données !!#@ |
228 | !!@# Tirage aléatoire des jeux de données !!#@ |
224 | </label> |
229 | </label> |
225 | !set wims_ref_class=wims_button_help float_right |
230 | !set wims_ref_class=wims_button_help float_right |
226 | !href target=wims_mhelp cmd=help&special_parm1=alea $wims_name_help |
231 | !href target=wims_mhelp cmd=help&special_parm1=alea $wims_name_help |
227 | !set wims_ref_class=wims_formradio |
232 | !set wims_ref_class=wims_formradio |
228 | !formradio alea list yes,no prompt $wims_name_yes,$wims_name_no |
233 | !formradio alea list yes,no prompt $wims_name_yes,$wims_name_no |
229 | </div> |
234 | </div> |
230 | !endif |
235 | !endif |
231 | !if $type_exo iswordof QCM GAP |
236 | !if $type_exo iswordof QCM GAP |
232 | <div class="field box"> |
237 | <div class="field box"> |
233 | <label for="answer_given"> |
- | |
234 | !record 15 of $my_dir |
238 | !record 15 of $my_dir |
235 | !!@# Réponses données !!#@ |
239 | !!@# Réponses données !!#@ |
236 | </label> |
- | |
237 | !set wims_ref_class=wims_button_help float_right |
240 | !set wims_ref_class=wims_button_help float_right |
238 | !href target=wims_mhelp cmd=help&special_parm1=answer_given $wims_name_help |
241 | !href target=wims_mhelp cmd=help&special_parm1=answer_given $wims_name_help |
239 | !set wims_ref_class=wims_formradio |
242 | !set wims_ref_class=wims_formradio |
240 | !formradio answer_given list yes,no prompt $wims_name_yes,$wims_name_no |
243 | !formradio answer_given list yes,no prompt $wims_name_yes,$wims_name_no |
241 | </div> |
244 | </div> |
242 | !endif |
245 | !endif |
243 | !if $type_exo iswordof GAP |
246 | !if $type_exo iswordof GAP |
244 | <div class="field box"> |
247 | <div class="field box"> |
245 |
|
248 | $name_trialcnt |
246 | !set wims_ref_class=wims_button_help float_right |
249 | !set wims_ref_class=wims_button_help float_right |
247 | !href target=wims_mhelp cmd=help&special_parm1=try $wims_name_help |
250 | !href target=wims_mhelp cmd=help&special_parm1=try $wims_name_help |
248 | !set wims_ref_class=wims_formradio |
251 | !set wims_ref_class=wims_formradio |
249 | !formradio try list 1,2,3,4,5,6,7,8,9,10 |
252 | !formradio try list 1,2,3,4,5,6,7,8,9,10 |
250 | </div> |
253 | </div> |
Line 253... | Line 256... | ||
253 | !if $format iswordof clickfill dragfill mark |
256 | !if $format iswordof clickfill dragfill mark |
254 | !set format=checkbox |
257 | !set format=checkbox |
255 | !endif |
258 | !endif |
256 | !default set format=checkbox |
259 | !default set format=checkbox |
257 | <div class="field box"> |
260 | <div class="field box"> |
258 |
|
261 | $name_format |
259 | !set wims_ref_class=wims_button_help float_right |
262 | !set wims_ref_class=wims_button_help float_right |
260 | !href target=wims_mhelp cmd=help&special_parm1=format_radio $wims_name_help |
263 | !href target=wims_mhelp cmd=help&special_parm1=format_radio $wims_name_help |
261 | !set wims_ref_class=wims_formradio |
264 | !set wims_ref_class=wims_formradio |
262 | !formradio format list radio,checkbox |
265 | !formradio format list radio,checkbox |
263 | </div> |
266 | </div> |
264 | <div class="field box"> |
- | |
265 |
|
267 | <fieldset><legend> |
266 | !record 16 of $my_dir |
268 | !record 16 of $my_dir |
267 | !!@# Pourcentage de réussite nécessaire pour pouvoir continuer!!#@ |
269 | !!@# Pourcentage de réussite nécessaire pour pouvoir continuer!!#@ |
268 |
|
270 | </legend> |
269 | !set wims_ref_class=wims_button_help float_right |
271 | !set wims_ref_class=wims_button_help float_right |
270 | !href target=wims_mhelp cmd=help&special_parm1=percent $wims_name_help |
272 | !href target=wims_mhelp cmd=help&special_parm1=percent $wims_name_help |
271 | <div class="formHelp"> |
273 | <div class="formHelp"> |
272 | !record 54 of $my_dir |
274 | !record 54 of $my_dir |
273 | !!@# dans le cas où il y a plusieurs étapes !!#@ |
275 | !!@# dans le cas où il y a plusieurs étapes !!#@ |
274 | </div> |
276 | </div> |
275 | !set wims_ref_class=wims_formradio |
277 | !set wims_ref_class=wims_formradio |
276 | !formradio percent list 0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1 prompt 0%,10%,20%,30%,40%,50%,60%,70%,80%,90%,100% |
278 | !formradio percent list 0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1 prompt 0%,10%,20%,30%,40%,50%,60%,70%,80%,90%,100% |
277 | </ |
279 | </fieldset> |
278 | !endif |
280 | !endif |
279 | !if $type_exo iswordof SELECTWORD |
281 | !if $type_exo iswordof SELECTWORD |
280 | <div class="field box"> |
282 | <div class="field box"> |
281 | <label for="first_step"> |
283 | <label for="first_step"> |
282 | !record 17 of $my_dir |
284 | !record 17 of $my_dir |