Rev 17329 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | !set wims_module_log=error: $error |
2 | |||
3 | !if not_supervisor=$error |
||
4 | ±§Ç¸, Ö»Óа༶µÄÖ÷³Ö½Ìʦ²ÅÓÐȨ׼±¸»òÐÞ¸Ä×÷ÒµÒ³. |
||
5 | !exit |
||
6 | !endif |
||
7 | |||
2071 | zjchen | 8 | !if bad_series=$error |
9 | Ææ¹Ö, ÎÒÕÒ²»µ½ÒªÐ޸ĵÄÁ·Ï°ÏµÁÐ !! |
||
10 | !exit |
||
11 | !endif |
||
12 | |||
1755 | bpr | 13 | !if bad_source=$error |
2071 | zjchen | 14 | ÄãÌá½»µÄÔ´ÂëµÄµÚ $bad_source ÏîÊÇÎÞЧµÄ. |
17206 | guerimand | 15 | !href cmd=reply&job=prep_putsource $name_correctsource |
1755 | bpr | 16 | . |
23 | reyssat | 17 | !exit |
18 | !endif |
||
19 | |||
2071 | zjchen | 20 | !if active_sheet=$error |
21 | ´ËÒ³ÒѼ¤»î. ÆäÄÚÈݲ»ÄÜÐÞ¸Ä. |
||
22 | !exit |
||
23 | !endif |
||
24 | |||
1755 | bpr | 25 | !if bad_sheet=$error |
26 | ÄãµÄÒ³Âë²»ÕýÈ·. ÊÇÈí¼þµÄ©¶´? |
||
23 | reyssat | 27 | !exit |
28 | !endif |
||
29 | |||
3062 | bpr | 30 | !if bad_maxsheet=$error |
8255 | bpr | 31 | Ò³Êý²»Äܳ¬¹ý $max_sheets. Äã²»ÄÜÔÙ´´½¨ÐÂÒ³. |
3062 | bpr | 32 | !exit |
33 | !endif |
||
34 | |||
23 | reyssat | 35 | !if no_title=$error |
4553 | zjchen | 36 | ÄãÏë×¢²áÒ»¸öûÓбêÌâµÄÒ³Ãæ, ÎÒÃDz»Ï£ÍûÄãÕâÑù×ö. ÊÇÍü¼ÇÁËÂð? |
23 | reyssat | 37 | !exit |
38 | !endif |
||
39 | |||
1755 | bpr | 40 | !if $error=not_secure |
41 | ±¾²Ù×÷±ØÐëÀ´×Ô°²È«Ö÷»ú. |
||
42 | !if $sec=$empty |
||
43 | ÄãûÓж¨Ò尲ȫÖ÷»ú, ²»ÄÜ´æÈ¡. Äã¿ÉÒÔÒªÇóÍøÕ¾¹ÜÀíԱΪÄãÉèÖÃ. |
||
44 | !else |
||
45 | ½ûÖ¹½øÈë. |
||
46 | !endif |
||
47 | !exit |
||
48 | !endif |
||
49 | |||
50 | !if $error=sharing_sheet |
||
51 | ÄãÔÚÓëÆäËü°à¼¶¹²ÏíÒ³Ãæ! |
||
52 | !if $wims_ismanager<2 |
||
53 | ÄãÓ¦¸ÃÒªÇóÍøÕ¾¹ÜÀíԱȡÏû¼¤»î´ËÒ³Ãæ. |
||
54 | !exit |
||
55 | !endif |
||
56 | È¡Ïû¼¤»î´ËÒ³ºóÓпÉÄÜʹÏàÁÚ°àÏÝÈë»ìÂÒ. Òò´Ë<b>Ç¿ÁÒȰ¸æ</b>Äã²»Òª×ö´Ë²Ù×÷. |
||
14102 | obado | 57 | <p> |
1755 | bpr | 58 | ÄãÊÇ·ñÈÔҪȡÏû¼¤»î´ËÒ³? |
5850 | bpr | 59 | </p> |
5764 | bpr | 60 | <div class="wimscenter"> |
3245 | guerimand | 61 | !href cmd=reply&job=deactivate&confirm=yes $wims_name_yes; $(wims_name_actionlist[3]) |
1755 | bpr | 62 | . |
63 | !href cmd=resume $wims_name_no; $wims_name_giveup |
||
5764 | bpr | 64 | . </div> |
1755 | bpr | 65 | <b>ÔÚ¼ÌÐø´Ë²Ù×÷ǰ, ÖÁÉÙÓ¦¸Ã֪ͨÏàÁÚ°àµÄÖ÷³Ö½Ìʦ±£´æËûÃǵİ༶!</b> |
66 | !exit |
||
67 | !endif |
||
68 | |||
14395 | bpr | 69 | !if sheet_in_exam iswordof $error |
70 | !set exa=!word 2 of $error |
||
71 | ´ËÒ³²»ÄÜÈ¡Ïû¼¤»î, ÒòΪÄãµÄ¿¼ÊÔÒªÓõ½ËüµÄÄÚÈÝ (for example, the exam $exa). |
||
72 | !exit |
||
1755 | bpr | 73 | !endif |
74 | |||
75 | !if $error=non_empty_activities |
||
14099 | obado | 76 | <p class="wims_msg warning">ÄãÏëҪȡÏû¼¤»îÒ³Ãæ $sheet, µ«ÊDzμÓÕßÒѾ¿ªÊ¼ÔÚÕâ¸öÒ³ÃæÉϹ¤×÷ÁË!</p> |
1755 | bpr | 77 | !if share iswordof $confirmed |
78 | ´ËÍâ, ´ËÒ³ÊÇÓëÆäËü°à¼¶¹²ÏíµÄ, ÄÇÀïÒ²¿ÉÄÜÓÐ×÷Òµ»ò·ÖÊý. |
||
79 | Òò´Ë²»ÔÊÐíÈ¡Ïû¼¤»î. |
||
80 | !exit |
||
81 | !endif |
||
82 | Èç¹ûÄãÈ¡Ïû¼¤»î, ´ËÒ³µÄËùÓе÷ֶ¼½«É¾³ý. ȷʵҪÕâÑù×öÂð? |
||
5764 | bpr | 83 | <div class="wimscenter"> |
3245 | guerimand | 84 | !href cmd=reply&job=deactivate&confirm=yes $wims_name_yes; $(wims_name_actionlist[3]) |
1755 | bpr | 85 | . |
86 | !href cmd=resume $wims_name_no; $wims_name_giveup |
||
5764 | bpr | 87 | . </div> |
1755 | bpr | 88 | ÔÚ´ËÒ³×÷×÷ÒµµÄÕÊ»§±í: |
14099 | obado | 89 | <p class="tt">$worktest</p> |
90 | <div class="wims_msg info"><b>×¢Òâ</b>. Èç¹ûÊDzâÊÔÓõİ༶, Ôò½ö½öÈ¡Ïû¼¤»î.</div> |
||
1755 | bpr | 91 | !exit |
92 | !endif |
||
93 | |||
23 | reyssat | 94 | !if prep_activate=$error |
7801 | bpr | 95 | ÄãÏëÒª¼¤»îÒ³Ãæ $sheet. |
96 | ¼¤»îÒ³Ãæºó, Ëü¾ÍÄܱ»°à¼¶µÄËùÓвμÓÕß¿´µ½. Ò»µ©±»¼¤»î, |
||
97 | Äã¾Í²»ÔÙÄÜÐÞ¸ÄÁË, ³ý·ÇÄãÏÈÈ¡Ïû¼¤»î, ¶øÕâÑù×öÓпÉÄÜɾ³ýËùÓеķÖÊý. |
||
98 | !if $test_expire!=$empty |
||
99 | <div class="wims_warning"> |
||
7980 | zjchen | 100 | ±¾Ò³µÄʧЧÈÕÆÚÒѹý, |
101 | Ëü½«Ôڴ˰༶µÄʧЧÈÕ±»¸üÐÂ. |
||
7801 | bpr | 102 | </div> |
103 | !endif |
||
23 | reyssat | 104 | <p> |
105 | Òª¼ÌÐøÂð? |
||
5850 | bpr | 106 | </p> |
5764 | bpr | 107 | <div class="wimscenter"> |
16286 | bpr | 108 | !href cmd=reply&save=$wims_name_tosave&job=activate $wims_name_yes; $(wims_name_actionlist[1]) |
23 | reyssat | 109 | . |
1755 | bpr | 110 | !href cmd=resume $wims_name_no; $wims_name_giveup |
5764 | bpr | 111 | . </div> |
23 | reyssat | 112 | !exit |
113 | !endif |
||
114 | |||
115 | !if prep_erase=$error |
||
2071 | zjchen | 116 | ÄãÕæµÄҪɾ³ýµÚ $sheet Ò³ ($title)? |
5764 | bpr | 117 | <div class="wimscenter"> |
7973 | bpr | 118 | !set wims_ref_class=wims_button wims_warning |
1755 | bpr | 119 | !href cmd=reply&job=erase $wims_name_yes; $wims_name_erase |
7973 | bpr | 120 | !set wims_ref_class=wims_button |
1755 | bpr | 121 | !href cmd=resume $wims_name_no ; $wims_name_giveup |
7973 | bpr | 122 | </div> |
23 | reyssat | 123 | !exit |
124 | !endif |
||
1755 | bpr | 125 | |
23 | reyssat | 126 | !if prep_expire=$error |
2071 | zjchen | 127 | µÚ $sheet Ò³ ($title) Õý³£µÄʧЧÈÕÆÚÊÇ $expyear, |
23 | reyssat | 128 | !item $expmon of $months |
129 | $expday. ÄãҪʹËûÔÚÏÖÔÚʧЧÂð? |
||
5764 | bpr | 130 | <div class="wimscenter"> |
3245 | guerimand | 131 | !href cmd=reply&job=expire $wims_name_yes ; $(wims_name_actionlist[2]) |
23 | reyssat | 132 | . |
1755 | bpr | 133 | !href cmd=resume $wims_name_no ; $wims_name_giveup |
5764 | bpr | 134 | . </div><b>×¢Òâ.</b> ÄãµÄѧÉú²»ÄÜÔÚÒÑʧЧµÄÒ³ÉÏ×ö×÷Òµ. |
23 | reyssat | 135 | µ«ËûÃÇÒÔǰµÄ³É¼¨ÈÔ±»±£´æ(¶øÇÒÔÚͳ¼ÆÊ±±»¼ÆÈë), Äã×ÜÊÇÄܲ鿴ÕâЩ³É¼¨. |
136 | !exit |
||
137 | !endif |
||
138 | |||
139 | !if prep_putsource=$error |
||
140 | Èç¹ûÄãÓÐÒѱ£´æµÄÔ´Âë, Äã¿É½«Õâ¶ÎÔ´Âë²åÈ뵱ǰҳ, Ö»Ð轫Õâ¶ÎÔ´Âë¸´ÖÆÈëÒÔÏ´°¿Ú, |
||
7801 | bpr | 141 | ÔÙµã»÷°´Å¥ <span class="wims_button disabled">$wims_name_send</span>. |
4553 | zjchen | 142 | Õâ¸ö±íÒ²ÔÊÐíÄãÓÃÇиî-¸´ÖƵÄÐÎʽ²åÈ빫¿ª×÷ÒµÒ³µÄÔ´Âë. |
5850 | bpr | 143 | |
1755 | bpr | 144 | !set wims_menu_items=!append line sheetadmin,1,cmd=resume \ |
145 | to $wims_menu_items |
||
146 | |||
17206 | guerimand | 147 | !set wims_form_method=post |
23 | reyssat | 148 | !form reply |
17180 | bpr | 149 | <input type="hidden" name="job" value="putsource"><p class="wimscenter"> |
17206 | guerimand | 150 | <textarea cols="55" rows="10" name="source">$ssource</textarea></p> |
17180 | bpr | 151 | <p class="wimscenter"><input type="submit" value="$wims_name_send"> |
5926 | bpr | 152 | </p> |
153 | !formend |
||
7801 | bpr | 154 | <span class="wims_warning">$wims_name_warning</span>. |
4553 | zjchen | 155 | ²»ÒªÐÞ¸ÄÒ³ÃæµÄÔ´Âë, ÕâÑù¿ÉÄÜʹÄãµÄÕû¸ö×÷ÒµÒ³ÎÞ·¨Ê¹ÓÃ. |
23 | reyssat | 156 | !exit |
157 | !endif |
||
158 | |||
159 | !if prep_modify=$error |
||
160 | !set cnt=!recordcnt wimshome/log/classes/$wims_class/sheets/.sheet$sheet |
||
161 | !if $modif>$cnt or $modif<1 |
||
162 | ÄãÊäÈëÁËÒ»¸öÎÞЧÇëÇó, ²»Ó迼ÂÇ. |
||
163 | !else |
||
164 | !set exo=!record $modif of wimshome/log/classes/$wims_class/sheets/.sheet$sheet |
||
2071 | zjchen | 165 | !read exomodify.phtml $exo |
23 | reyssat | 166 | !endif |
167 | !exit |
||
168 | !endif |
||
169 | |||
1755 | bpr | 170 | !if $error=toolate |
11035 | bpr | 171 | !read adm/lang/date.phtml.$moduclass_lang $class_expiration |
172 | <p>$name_expiration1 ($l_date_out). $name_expiration2 </p> |
||
173 | !set wims_ref_class=wims_button |
||
12089 | guerimand | 174 | !href cmd=resume&job=$empty&save=$empty $wims_name_back2 |
1755 | bpr | 175 | ($wims_name_sheetmanagement) |
2071 | zjchen | 176 | !exit |
177 | !endif |
||
1755 | bpr | 178 | |
2071 | zjchen | 179 | !if $error=srcnoexo |
17180 | bpr | 180 | ±¾Ò³²»º¬ÈκÎÁ·Ï°, Òò´ËÆäÔ´ÂëÊǿյÄ.<br> |
2071 | zjchen | 181 | !href cmd=resume ·µ»Ø×¼±¸Ò³ |
23 | reyssat | 182 | !exit |
183 | !endif |
||
2071 | zjchen | 184 | |
15859 | guerimand | 185 | !if $error=depindiv |
186 | <div class="wims_msg alert"> |
||
187 | <strong>$wims_name_Error:</strong> |
||
16286 | bpr | 188 | Il n'est pas possible de définir des dépendances de score en même temps que |
15946 | guerimand | 189 | l'activation de l'individualisation des feuilles de travail avec une variable technique. |
17180 | bpr | 190 | <br> |
15859 | guerimand | 191 | Vous devez choisir entre les deux avant de pouvoir activer cette feuille. |
192 | !reset error |
||
193 | </div> |
||
15947 | guerimand | 194 | <div class="wimscenter"> |
195 | !set wims_ref_class=wims_button |
||
196 | !href cmd=resume Retour |
||
197 | </div> |
||
15859 | guerimand | 198 | !exit |
199 | !endif |
||
200 | |||
16195 | guerimand | 201 | !if badtechvarname iswordof $error |
202 | <div class="wims_msg alert"> |
||
203 | <strong>$wims_name_Error:</strong> |
||
17327 | guerimand | 204 | !let code=!word 2 to -1 of $error |
205 | !if $code=_ |
||
206 | une des conditions <span class="wims_code_words">Condition pour cacher la feuille aux participants</span> n'a pas de nom de variable |
||
207 | !else |
||
208 | Un des noms de variable ( |
||
209 | !let code=!listcomplement _ in $code |
||
210 | $code |
||
17329 | guerimand | 211 | ) n'est pas un nom correct de variable technique. Les noms incorrects de variable technique |
212 | ont été supprimés du champs <span class="wims_code_words">Condition pour cacher la feuille aux participants</span>. |
||
17327 | guerimand | 213 | !endif |
16195 | guerimand | 214 | </div> |
215 | <div class="wimscenter"> |
||
216 | !set wims_ref_class=wims_button |
||
217 | !reset error |
||
218 | !href cmd=resume Retour |
||
219 | </div> |
||
220 | !exit |
||
221 | !endif |
||
222 | |||
16729 | guerimand | 223 | !if toomanyexo=$error |
224 | <div class="wims_msg alert"> |
||
225 | Le nombre d'exercices dans une feuille est limité à $max_exos. Vous devez supprimer des exercices avant de pouvoir |
||
226 | l'activer. |
||
227 | </div> |
||
228 | !exit |
||
229 | !endif |
||
230 | |||
16798 | guerimand | 231 | !if $error=badallowshare |
232 | <div class="wims_msg alert"> |
||
233 | <strong>$wims_name_Error:</strong> |
||
234 | La variable technique que vous souhaitez utiliser n'est pas disponible dans toutes les classes en partage de ressources avec votre |
||
17180 | bpr | 235 | classe. |
16798 | guerimand | 236 | Vous ne pouvez donc pas propager ces réglages aux autres classes en partage. |
237 | </div> |
||
238 | <div class="wimscenter"> |
||
239 | !set wims_ref_class=wims_button |
||
240 | !reset error |
||
241 | !href cmd=resume Retour |
||
242 | </div> |
||
243 | !exit |
||
244 | !endif |
||
245 | |||
17327 | guerimand | 246 | !if $error=hiddenbadtechvar |
247 | Attention, la <span class="wims_code_words">condition pour cacher la feuille aux participants</span> en utilisant une variable technique est incorrecte. Vous devez la corriger. |
||
248 | !exit |
||
249 | !endif |
||
17333 | guerimand | 250 | |
251 | !if techvardiscord iswordof $error |
||
252 | !! TODO_lang techvardiscord |
||
253 | !changeto lang/msg.phtml.fr |
||
254 | !endif |
||
255 | |||
1755 | bpr | 256 | !msg $error |