Subversion Repositories wimsdev

Rev

Rev 17329 | Rev 17333 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 17329 Rev 17331
Line 27... Line 27...
27
  Your worksheet number is not valid. Could be this a bug?
27
  Your worksheet number is not valid. Could be this a bug?
28
  !exit
28
  !exit
29
!endif
29
!endif
30
 
30
 
31
!if bad_maxsheet=$error
31
!if bad_maxsheet=$error
32
 The number of worksheets is limited to $max_sheets. You may not create another worksheet.
32
  The number of worksheets is limited to $max_sheets. You may not create another worksheet.
33
 !exit
33
  !exit
34
!endif
34
!endif
35
 
35
 
36
!if no_title=$error
36
!if no_title=$error
37
  You want to register a worksheet without a title, which is not advisable.
37
  You want to register a worksheet without a title, which is not advisable.
38
  Did you simply forget?
38
  Did you simply forget?
Line 67... Line 67...
67
  !href cmd=resume $wims_name_no, $wims_name_giveup
67
  !href cmd=resume $wims_name_no, $wims_name_giveup
68
 </p><p>
68
 </p><p>
69
  <b>Before continuing, ask at least the supervisors of your class neighbors to
69
  <b>Before continuing, ask at least the supervisors of your class neighbors to
70
  save their classes!</b>
70
  save their classes!</b>
71
 </p>
71
 </p>
72
 !exit
72
  !exit
73
!endif
73
!endif
74
 
74
 
75
!if sheet_in_exam iswordof $error
75
!if sheet_in_exam iswordof $error
76
  !set exa=!word 2 of $error
76
  !set exa=!word 2 of $error
77
  Impossible to deactivate this worksheet, because you have exams based on its
77
  Impossible to deactivate this worksheet, because you have exams based on its
78
  content (for example exam $exa).
78
  content (for example exam $exa).
79
  !exit
79
  !exit
80
!endif
80
!endif
81
 
81
 
82
!if $error=non_empty_activities
82
!if $error=non_empty_activities
83
  <p class="wims_msg warning">You want to deactivate worksheet $sheet, although participants have already
83
  <p class="wims_msg warning">You want to deactivate worksheet $sheet, although participants have already
84
  started to work on it!</p>
84
  started to work on it!</p>
85
 
-
 
86
  !if share iswordof $confirmed
85
  !if share iswordof $confirmed
87
    <p>Moreover, the worksheet is shared with other classes where there may be scores too.
86
    <p>Moreover, the worksheet is shared with other classes where there may be scores too.
88
    It is therefore not allowed to deactivate it.</p>
87
    It is therefore not allowed to deactivate it.</p>
89
    !exit
88
    !exit
90
  !endif
89
  !endif
Line 120... Line 119...
120
  <p>Do you want to continue?</p>
119
  <p>Do you want to continue?</p>
121
  <p class="wimscenter">
120
  <p class="wimscenter">
122
   !set wims_ref_class=wims_button
121
   !set wims_ref_class=wims_button
123
   !href cmd=reply&save=$wims_name_tosave&job=activate $wims_name_yes; $(wims_name_actionlist[1])
122
   !href cmd=reply&save=$wims_name_tosave&job=activate $wims_name_yes; $(wims_name_actionlist[1])
124
$ $
123
$ $
125
   !set wims_ref_class=wims_button
124
  !set wims_ref_class=wims_button
126
   !href cmd=resume $wims_name_no, $wims_name_giveup
125
  !href cmd=resume $wims_name_no, $wims_name_giveup
127
  </p>
126
  </p>
128
  !exit
127
  !exit
129
!endif
128
!endif
130
 
129
 
131
!if prep_erase=$error
130
!if prep_erase=$error