Rev 1198 | Rev 1664 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
20 | reyssat | 1 | !nocache |
2 | !if $oef_test=yes |
||
3 | !set renewlink=cmd=next&retest=again |
||
1105 | bpr | 4 | !!$header_js |
20 | reyssat | 5 | !goto tester |
6 | !else |
||
7 | !set init_parm=!translate + to $ $ in $module_init_parm |
||
1105 | bpr | 8 | !set init_parm=!replace internal $\ |
9 | $ by ; in $init_parm |
||
20 | reyssat | 10 | !set renewlink=cmd=renew&worksheet=$worksheet&$init_parm |
11 | !endif |
||
12 | |||
13 | !if $printing=yes |
||
14 | !changeto oef/print.phtml |
||
15 | !endif |
||
16 | |||
17 | !if $title!=$empty |
||
18 | !set module_title=$title |
||
19 | !set module_author=$author |
||
20 | !set module_address=$email |
||
21 | !endif |
||
22 | |||
23 | !if 0$delay2>0 and $status!=$empty |
||
24 | !set now_=$wims_nowseconds |
||
1060 | bpr | 25 | !read js/chrono.phtml $[max(0,$delay1-($now_-$starttime))] |
20 | reyssat | 26 | !endif |
1060 | bpr | 27 | !set wims_html_header=!append line $header_js to $wims_html_header |
1105 | bpr | 28 | !set wims_html_header=$oefcss\ |
29 | $wims_html_header |
||
20 | reyssat | 30 | |
1105 | bpr | 31 | !header1 |
32 | <h1 class="oeftitle">$title</h1> |
||
33 | |||
20 | reyssat | 34 | !if $module_checkdata!=yes |
1105 | bpr | 35 | !read oef/$module_language/nodata.phtml |
20 | reyssat | 36 | !goto end |
37 | !endif |
||
38 | |||
39 | !if $title=$empty |
||
40 | Este módulo es una agrupación de ejercicios. Aparentemente lo ha |
||
41 | abierto sin precisar un ejercicio válido que quiera hacer. Esto puede |
||
42 | ocurrir porque ha seguido un enlace erróneo, o tratarse de un error del |
||
43 | programa. |
||
44 | <p><center> |
||
45 | !href module=$module Pruebe a comenzar de nuevo |
||
46 | , o |
||
47 | !href $ cancelar |
||
48 | . </center> |
||
49 | !goto end |
||
50 | !endif |
||
51 | |||
52 | !if 0$delay1>0 and $status!=$empty |
||
1060 | bpr | 53 | <p><form target="#" name=chrono><center> |
1009 | bpr | 54 | <table border=2 bgcolor="$wims_ref_bgcolor"><tr><td> |
20 | reyssat | 55 | <b><font color=red>¡Atención!</font></b> |
56 | !if $qnum>1 |
||
57 | Esta serie tiene límite de tiempo. |
||
58 | !else |
||
59 | Ete ejercicio tiene límite de tiempo. |
||
60 | !endif |
||
1060 | bpr | 61 | <input size=4 name=clock readonly onFocus="this.blur();"> |
20 | reyssat | 62 | </table> |
63 | </center></form> <p> |
||
64 | !endif |
||
65 | |||
66 | :tester |
||
67 | !read oef/present.phtml |
||
68 | |||
1409 | bpr | 69 | !if $wims_theme_version= or $wims_theme_version<1 |
1006 | bpr | 70 | <center><hr width="50%"></center> |
1409 | bpr | 71 | !endif |
20 | reyssat | 72 | |
73 | !if $cmd=hint |
||
74 | !read oef/hint.phtml |
||
75 | !goto end |
||
76 | !endif |
||
77 | |||
78 | !if $status=waiting |
||
79 | !if $error!=$empty |
||
80 | !read oef/msg.phtml |
||
1409 | bpr | 81 | !if $wims_theme_version= or $wims_theme_version<1 |
1006 | bpr | 82 | <center><hr width="50%"></center> |
20 | reyssat | 83 | !endif |
1409 | bpr | 84 | !endif |
20 | reyssat | 85 | !read oef/form.phtml |
86 | <p> |
||
87 | !if $hint!=$empty and $givehint>0 |
||
88 | !href cmd=hint Pista |
||
89 | . |
||
90 | !endif |
||
91 | !if $help!=$empty |
||
92 | !href cmd=help Ayuda |
||
93 | . |
||
94 | !endif |
||
95 | !if $qnum<=1 |
||
96 | !href $renewlink Reiniciar el ejercicio |
||
97 | . |
||
98 | !else |
||
99 | Este es el ejercicio número $[$reply_cnt+1] de una serie con $qnum |
||
100 | ejercicios. |
||
101 | !href $renewlink Abandonar la serie |
||
102 | . |
||
103 | !endif |
||
104 | !else |
||
105 | !if $error!=$empty |
||
106 | !read oef/msg.phtml |
||
1409 | bpr | 107 | !if $wims_theme_version= or $wims_theme_version<1 |
1006 | bpr | 108 | <center><hr width="50%"></center> |
1409 | bpr | 109 | !endif |
20 | reyssat | 110 | !endif |
111 | !read oef/answer.phtml |
||
112 | <p> |
||
113 | !if $status!=$empty |
||
114 | Este es el ejercicio número $reply_cnt de una serie de $qnum exercicios. <p> |
||
115 | !href cmd=next Continuar la serie con el siguiente ejercicio |
||
116 | , o |
||
117 | !href $renewlink abandonar la serie y solicitar una nueva |
||
118 | (debe seguir hasta el final de la serie si quiere recibir puntuación). |
||
119 | !else |
||
120 | !if $qnum>1 |
||
121 | Ha terminado una serie de $qnum ejercicios, con una puntuación de |
||
122 | $module_score sobre 10. |
||
123 | !ifval $module_score>9.8 |
||
124 | ¡Felicidades! |
||
125 | !endif |
||
126 | !if $toolate!=$empty and $score>$module_score |
||
127 | (Ha sido penalizado por superar el límite de tiempo permitido). |
||
128 | !endif |
||
129 | <p> |
||
130 | !href $renewlink Una vez más |
||
131 | . |
||
132 | !if $wims_sheet=$empty |
||
133 | !href exo_Intro |
||
134 | . |
||
135 | !endif |
||
136 | !else |
||
137 | Ha obtenido una puntuación de $module_score sobre 10. |
||
138 | !ifval $module_score>9.8 |
||
139 | ¡Felicidades! |
||
140 | !endif |
||
141 | !if $toolate!=$empty and $score>$module_score |
||
142 | (Ha sido penalizado por superar el límite de tiempo permitido). |
||
143 | !endif |
||
144 | |||
145 | <p> |
||
146 | !href $renewlink Una vez más |
||
147 | . |
||
148 | !if $wims_sheet=$empty and $oef_test!=yes |
||
149 | !href exo_Intro |
||
150 | . |
||
151 | !endif |
||
152 | !endif |
||
153 | !endif |
||
154 | !endif |
||
155 | |||
156 | !if $replydefaulted=yes |
||
157 | <p> <small> |
||
158 | Modo de desarrollo: |
||
159 | !if $oef_default=yes |
||
160 | las respuestas correctas se insertan en los campos |
||
161 | de respuesta de forma predeterminada. |
||
162 | !else |
||
163 | !href cmd=config&oef_default=yes insertar las respuestas correctas |
||
164 | en los campos de respuesta. |
||
165 | !endif |
||
166 | </small> |
||
167 | !endif |
||
168 | |||
169 | !read endhook.phtml |
||
1198 | bpr | 170 | !!!if $wims_user=supervisor and exam notin $session and \ |
171 | !! ..classes/ notin ..$module and ..adm/ notin ..$module and \ |
||
172 | !! ..devel/ notin ..$module and \ |
||
173 | !! GNU isin $module_copyright and \ |
||
174 | !! _check notin $session and \ |
||
175 | !! $class_importation!=no |
||
176 | !! <p> |
||
177 | !! !href module=adm/createxo&existing=$thisexo&catmodule=$module Importar |
||
178 | !! este ejercicio a su clase (donde podrá modificarlo). |
||
179 | !!!endif |
||
20 | reyssat | 180 | :end |
181 | |||
182 | !tail |
||
183 |