Rev 17329 | Blame | Compare with Previous | Last modification | View Log | RSS feed
!set wims_module_log=error: $error
!if not_supervisor=$error
©êºp¡A§@·~²M³æªº·Ç³Æ / ×§ïÅv§Q«O¯dµ¹½Òµ{ªººÞ²zªÌ¡C
!exit
!endif
!if bad_class=$error
©_©Ç¡A§Úµo²{±zªº½Òµ{¤£À³·í¡I
!exit
!endif
!if bad_source=$error
The item number $bad_source in the source you just submitted is not
valid.
!href cmd=reply&job=prep_putsource $name_correctsource
.
!exit
!endif
!if bad_sheet=$error
±zªº§@·~²M³æ½s¸¹¤£¾A·í¡A¥i¯à¬O³nÅ骺 bug ¡H
!exit
!endif
!if bad_maxsheet=$error
The number of worksheets is limited to $max_sheets. You may not create another worksheet.
!exit
!endif
!if no_title=$error
±z©Òµn¿ýªº§@·~²M³æ¨S¦³¼ÐÃD¡A¤£«ØÄ³±z³o»ò°µ¡C³B²z®Éªº¿ù»~¡H
!exit
!endif
!if $error=not_secure
This operation can only be done from a secure host.
!if $sec=$empty
You have not defined secure host. Access denied. You may ask the webmaster
to do it for you.
!else
Access denied.
!endif
!exit
!endif
!if $error=sharing_sheet
You are sharing worksheets with other classes!
!if $wims_ismanager<2
You must ask the webmaster to deactivate the worksheet for you.
!exit
!endif
You might put your neighboring classes in total disorder by deactivating
this worksheet. This operation is therefore <b>stronly discouraged</b>.
<p>
Do you still want to deactivate the worksheet?
</p>
<div class="wimscenter">
!href cmd=reply&job=deactivate&confirm=yes $wims_name_yes; $(wims_name_actionlist[3])
.
!href cmd=resume $wims_name_no; $wims_name_giveup
. </div>
<b>Before continuing, ask at least the supervisors of your class neighbors to
save their classes!</b>
!exit
!endif
!if sheet_in_exam iswordof $error
!set exa=!word 2 of $error
Impossible to deactivate this worksheet, because you have exams based on its
content (for example, exam $exa).
!exit
!endif
!if $error=non_empty_activities
<p class="wims_msg warning">You want to deactivate the worksheet $sheet, while participants have already
started to work on it!</p>
!if share iswordof $confirmed
Moreover, the worksheet is shared with other classes where there may be works
and scores too. It is therefore not allowed to deactivate it.
!exit
!endif
All scores obtained on this worksheet will be erased, if you deactivate. Really
want to do it?
<div class="wimscenter">
!href cmd=reply&job=deactivate&confirm=yes $wims_name_yes; $(wims_name_actionlist[3])
.
!href cmd=resume $wims_name_no; $wims_name_giveup
. </div>
List of accounts having worked on this worksheet:
<p class="tt">$worktest</p>
<div class="wims_msg info"><b>Note</b>. This action should be taken only if this is a testing class.
Do not go further if the participants are your real students!</div>
!exit
!endif
!if prep_activate=$error
±zn¨D¹B§@§@·~²M³æ $sheet ¡A¥ç§YÅý§@·~²M³æ³Q½Òµ{°Ñ»PªÌ¦s¨ú¡C<br>
½Ðª`·N¡A¤@¥¹§@·~²M³æ¹B§@«á¡A±z´NµLªk¦A×§ï²M³æ¡C±z½T©wnÄ~Äò¡H
!if $test_expire!=$empty
<div class="wims_warning">
The expiration date of the sheet is previous to today, it will be
updated at the expiration date of your class.
</div>
!endif
<div class="wimscenter">
!href cmd=reply&save=$wims_name_tosave&job=activate ¹B§@²M³æ
¡C
!href cmd=resume ©ñ±ó¹B§@
¡C</div>
!exit
!endif
!if prep_erase=$error
±z½T©wn§R°£³oÓ§@·~²M³æ #$sheet ($title) ¶Ü¡H
<div class="wimscenter">
!href cmd=reply&job=erase §R°£
¡C
!href cmd=resume ©ñ±ó§R°£
¡C</div>
!exit
!endif
!if prep_expire=$error
§@·~²M³æ #$sheet ($title) ªººI¤î¤é´Á¬°¡G $expday
!item $expmon of $months
$expyear ¡C±zn±N²M³æ³]©w¬°¤w¹L´Á¶Ü¡H
<div class="wimscenter">
!href cmd=reply&job=expire ³]©w¬°¤w¹L´Á
¡C
!href cmd=resume ©ñ±ó³]©w
¡C </div><b>³Æµù¡G</b>±zªº¾Ç¥ÍµLªk¹B§@¤w¨ì´Áªº§@·~²M³æ
¡C¦ý¥LÌì¥ýªº¦¨ÁZ¤´µM«O¯d(²Îp®É¤´µM¥]§t³o¨Ç¦¨ÁZ)¡A¥B±z¤´¥i¥H¬d¸ß³o¨Ç¦¨ÁZ¡C
!exit
!endif
!if prep_putsource=$error
If you have a source of a worksheet saved earlier, you can insert this source
into the current worksheet, by copying this source into the window below,
then clicking on the button `Send'. This form also allows you to insert the
source of a public worksheet using cut-and-paste.
!set wims_menu_items=!append line sheetadmin,1,cmd=resume \
to $wims_menu_items
!set wims_form_method=post
!form reply
<input type="hidden" name="job" value="putsource"><p class="wimscenter">
<textarea cols="55" rows="10" name="source">$ssource</textarea>
</p>
<p class="wimscenter"><input type="submit" value="$wims_name_send">
</p>
!formend
<span class="wims_warning">$wims_name_warning</span>.
Do not insert modified source file! You risk to make your
worksheet useless.
!exit
!endif
!if prep_modify=$error
!set cnt=!recordcnt wimshome/log/classes/$wims_class/sheets/.sheet$sheet
!if $modif>$cnt or $modif<1
You have sent an invalid request. Ignored.
!else
!set exo=!record $modif of wimshome/log/classes/$wims_class/sheets/.sheet$sheet
!changeto exomodify.phtml $exo
!endif
!exit
!endif
!!if $error=toolate
!read adm/lang/date.phtml.$moduclass_lang $class_expiration
<p>$name_expiration1 ($l_date_out). $name_expiration2 </p>
!set wims_ref_class=wims_button
!href cmd=resume&job=$empty&ssave=$empty $wims_name_back2
($wims_name_sheetmanagement)
!exit
!endif
!if $error=depindiv
<div class="wims_msg alert">
<strong>$wims_name_Error:</strong>
Il n'est pas possible de définir des dépendances de score en même temps que
l'activation de l'individualisation des feuilles de travail avec une variable technique.
<br>
Vous devez choisir entre les deux avant de pouvoir activer cette feuille.
!reset error
</div>
<div class="wimscenter">
!set wims_ref_class=wims_button
!href cmd=resume Retour
</div>
!exit
!endif
!if badtechvarname iswordof $error
<div class="wims_msg alert">
<strong>$wims_name_Error:</strong>
!let code=!word 2 to -1 of $error
!if $code=_
une des conditions <span class="wims_code_words">Condition pour cacher la feuille aux participants</span> n'a pas de nom de variable
!else
Un des noms de variable (
!let code=!listcomplement _ in $code
$code
) n'est pas un nom correct de variable technique. Les noms incorrects de variable technique
ont été supprimés du champs <span class="wims_code_words">Condition pour cacher la feuille aux participants</span>.
!endif
</div>
<div class="wimscenter">
!set wims_ref_class=wims_button
!reset error
!href cmd=resume Retour
</div>
!exit
!endif
!if toomanyexo=$error
<div class="wims_msg alert">
Le nombre d'exercices dans une feuille est limité à $max_exos. Vous devez supprimer des exercices avant de pouvoir
l'activer.
</div>
!exit
!endif
!if $error=badallowshare
<div class="wims_msg alert">
<strong>$wims_name_Error:</strong>
La variable technique que vous souhaitez utiliser n'est pas disponible dans toutes les classes en partage de ressources avec votre
classe.
Vous ne pouvez donc pas propager ces réglages aux autres classes en partage.
</div>
<div class="wimscenter">
!set wims_ref_class=wims_button
!reset error
!href cmd=resume Retour
</div>
!exit
!endif
!if $error=hiddenbadtechvar
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.
!exit
!endif
!if techvardiscord iswordof $error
!! TODO_lang techvardiscord
!changeto lang/msg.phtml.fr
!endif
!msg $error