Rev 1585 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1585 | Rev 1664 | ||
---|---|---|---|
Line 1... | Line -... | ||
1 | !set proc=oef |
- | |
2 | <p><center><hr width="35%"></center> <p> |
- | |
3 | - | ||
4 | !if robot isin $session |
- | |
5 | !changeto content.html |
- | |
6 | !endif |
- | |
7 | - | ||
8 | !if $wims_class!=$empty and $wims_user=supervisor |
- | |
9 | !distribute line $wims_oefdefault_qnum\ |
- | |
10 | $wims_oefdefault_qcmlevel\ |
- | |
11 | $wims_oefdefault_scoredelay\ |
- | |
12 | $wims_oefdefault_qcmpresent\ |
- | |
13 | $wims_oefdefault_presentsol\ |
- | |
14 | $wims_oefdefault_check into qnum,qcmlevel,scoredelay,intro_qcmpresent,intro_presentsol,intro_check |
- | |
15 | !let special_parm2=expert |
- | |
16 | !endif |
- | |
17 | - | ||
18 | !if ////classes/ isin ////$module |
- | |
19 | !set class_header=wimshome/log/classes/$wims_class/ |
- | |
20 | !endif |
- | |
21 | - | ||
22 | !read $(class_header)Exindex |
- | |
23 | !set exocnt=!itemcnt $exolist |
- | |
24 | !set qcnt=$[min($exocnt,8)] |
- | |
25 | !if $exocnt<1 |
- | |
26 | !if $wims_user=supervisor and #classes/ isin #$module |
- | |
27 | !!!href module=adm/createxo Cliquez ici |
- | |
28 | !!pour créer un exercice. |
- | |
29 | !set wims_menu_items=!append line add_exo,1,module=adm/createxo\ |
- | |
30 | to $wims_menu_items |
- | |
31 | !else |
- | |
32 | Désolé, aucun exercice n'est disponible dans ce module pour l'instant. |
- | |
33 | Revenez plus tard! |
- | |
34 | !endif |
- | |
35 | !exit |
- | |
36 | !endif |
- | |
37 | !if $exocnt=1 |
- | |
38 | Ce module contient en ce moment un seul exercice, <b> |
- | |
39 |
|
1 | !!### for compatibility |
40 | </b>. |
- | |
41 | !set exoo=!item 1 of $exolist |
- | |
42 | !href cmd=new&module=$module&exo=$exoo Essayez-le. |
- | |
43 | !exit |
- | |
44 | !endif |
- | |
45 | - | ||
46 | !form new |
- | |
47 | <input type=hidden name=module value="$module"> |
- | |
48 | <center><table border=0><tr> |
- | |
49 | !set special_parm=!trim $special_parm |
- | |
50 | !if select iswordof $special_parm2 and $special_parm!=$empty |
- | |
51 | <td align=center>Exercices contenant<br> |
- | |
52 | <em><font color=blue> $special_parm </font></em> :<td> |
- | |
53 | !else |
- | |
54 | <td align=center>Choisissez les exercices :<td> |
- | |
55 | !endif |
- | |
56 | !read oef/select.phtml |
- | |
57 | <tr><td align=center>Une série aura<td> |
- | |
58 | !default qnum=1 |
- | |
59 | !formselect qnum from 1 to 9 |
- | |
60 | exercices. |
- | |
61 | <tr><td align=center>Niveau de sévérité<td> |
- | |
62 | !default qcmlevel=3 |
- | |
63 | !formselect qcmlevel from 1 to 9 |
- | |
64 | <tr><td align=center>Chronomètre <td> |
- | |
65 | <input size=7 name=scoredelay value="$scoredelay"> secondes. |
- | |
66 | </td></tr> |
- | |
67 | !read introhook.phtml |
- | |
68 | !if expert iswordof $special_parm2 |
- | |
69 | <tr><td align=center> |
- | |
70 | Nombre de réponses affichées dans les QCM: </td><td> |
- | |
71 | !default intro_qcmpresent=4 |
- | |
72 | !formselect intro_qcmpresent list 2,3,4,5,6,7,8 |
- | |
73 | </td></tr> |
- | |
74 | <tr><td align=center>Donner une solution (si disponible) ? </td><td> |
- | |
75 | !default intro_presentsol=1 |
- | |
76 | !formselect intro_presentsol list 0,1,2 prompt jamais,si la note est non maximale,toujours |
- | |
77 | </td></tr> |
- | |
78 | <tr><td rowspan=4> </td><td> |
- | |
79 | !default intro_check=1,2,3,4 |
- | |
80 | !formcheckbox intro_check list 1 prompt Toujours afficher |
- | |
81 | une bonne réponse dans les QCM. |
- | |
82 | </td></tr> |
- | |
83 | <tr><td align=left> |
- | |
84 | !formcheckbox intro_check list 2 prompt Pénalité pour mauvaise réponse dans les QCM. |
- | |
85 | </td></tr> |
- | |
86 | <tr><td align=left> |
- | |
87 | !formcheckbox intro_check list 3 prompt Afficher la bonne réponse. |
- | |
88 | </td></tr> |
- | |
89 | <tr><td align=left> |
- | |
90 | !formcheckbox intro_check list 4 prompt Permettre les indications (si disponibles). |
- | |
91 | !let tmp=!replace word expert by $ in $special_parm2 |
- | |
92 | </td></tr> |
- | |
93 | !if $wims_class=$empty or $wims_user!=supervisor |
- | |
94 | <tr><td colspan=2 align=center> |
- | |
95 | !href module=$module&special_parm=$special_parm&special_parm2=$tmp Paramétrage simplifié |
- | |
96 | !endif |
- | |
97 | <input type=hidden name=intro_expert value=yes> |
- | |
98 | !else |
- | |
99 | <tr><td colspan=2 align=center> |
- | |
100 | !let tmp=$special_parm2 expert |
- | |
101 | !href module=$module&special_parm=$special_parm&special_parm2=$tmp Paramétrage expert |
- | |
102 | !endif |
- | |
103 | </table></center> <p><center> |
- | |
104 | <input type=submit value="Au travail"> |
- | |
105 | <input type=submit name=print value="Version imprimable"> |
- | |
106 | </center> |
- | |
107 | </form> |
- | |
108 | - | ||
109 | !if $exocnt>10 |
- | |
110 | !form intro |
- | |
111 | <input type=hidden name=special_parm2 value=select> |
- | |
112 | <input type=hidden name=module value="$module"> |
- | |
113 | Sélectionner les titres avec le mot |
- | |
114 | <input size=12 maxlength=12 name=special_parm value="$oldparm"> |
- | |
115 | <input type=submit value=OK> |
- | |
116 | </form> |
- | |
117 | !endif |
- | |
118 | - | ||
119 | <b>Remarques</b>. Les exercices proposés seront pris aléatoirement parmi |
- | |
120 | vos choix (ou parmi tous les exercices disponibles si votre choix est vide). |
- | |
121 | !if * isin $titlelist |
- | |
122 | <p>Les exercices marqués par un * sont en général plus difficiles que les |
- | |
123 | autres. |
- | |
124 | !endif |
- | |
125 | - | ||
126 | <p><small>Vous pouvez mettre deux nombres dans le chronomètre, une petite |
- | |
127 | limite suivie d'une plus grande. Dans ce cas, la première limite déclenche |
- | |
128 | la réduction du score, qui sera à 0 quand la seconde limite est atteinte. |
- | |
129 | </small> |
- | |
130 | 2 | ||
- | 3 | !changeto oef/intromenu.phtml |