Subversion Repositories wimsdev

Rev

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

Rev 12977 Rev 12986
Line 49... Line 49...
49
  !default begintscore$_num=00:00
49
  !default begintscore$_num=00:00
50
  !default endtscore$_num=23:59
50
  !default endtscore$_num=23:59
51
  !exit
51
  !exit
52
 
52
 
53
:html
53
:html
-
 
54
!if exam isin $module
-
 
55
 !set allid_=3,4
54
 
56
!else
-
 
57
 !set allid_=2,3
-
 
58
!endif
55
!if $_num != $empty
59
!if $_num != $empty
56
  !! score restriction use a $_num for each techvar
60
  !! score restriction use a $_num for each techvar
57
  <select name="datecheck$_num" id="datecheck$_num"
61
  <select name="datecheck$_num" id="datecheck$_num"
58
          onchange="toggle_techvar_scorerestriction(this)">
62
          onchange="toggle_techvar_scorerestriction(this)">
59
    <option value="none"
63
    <option value="none"
60
      !if $(datecheck$_num)=none
64
      !if $(datecheck$_num)=none
61
        selected="selected"
65
        selected="selected"
62
      !endif
66
      !endif
63
    >$(name_allowtype[2])</option>
67
    >$(name_allowtype[$(allid_[1])])</option>
64
    <option value="select"
68
    <option value="select"
65
      !if $(datecheck$_num)!=none
69
      !if $(datecheck$_num)!=none
66
        selected="selected"
70
        selected="selected"
67
      !endif
71
      !endif
68
    >$(name_allowtype[3])</option>
72
    >$(name_allowtype[$(allid_[2])])</option>
69
  </select>
73
  </select>
70
!else
74
!else
71
  <p>$(name_allowtype[3]):</p>
75
  <p>$(name_allowtype[$(allid_[2])]):</p>
72
!endif
76
!endif
73
 
77
 
74
<ul class="wims_nopuce"
78
<ul class="wims_nopuce"
75
!if $_num != $empty and $(datecheck$_num)=none
79
!if $_num != $empty and $(datecheck$_num)=none
76
  style="display:none"
80
  style="display:none"