Subversion Repositories wimsdev

Rev

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

Rev 11849 Rev 14335
Line 46... Line 46...
46
!! needed by datemenu.phtml.$lang
46
!! needed by datemenu.phtml.$lang
47
!default creyear=!char 1 to 4 of $class_creation
47
!default creyear=!char 1 to 4 of $class_creation
48
!default expyear=!char 1 to 4 of $class_expiration
48
!default expyear=!char 1 to 4 of $class_expiration
49
 
49
 
50
!if $jyear=$empty
50
!if $jyear=$empty
51
 !let jyear=!char 1 to 4 of $wims_now
51
  !let jyear=!char 1 to 4 of $wims_now
52
 !let jmonth=!char 5 to 6 of $wims_now
52
  !let jmonth=!char 5 to 6 of $wims_now
53
 !let jday=!char 7 to 8 of $wims_now
53
  !let jday=!char 7 to 8 of $wims_now
54
!endif
54
!endif
55
  <th>$name_group1</th>
55
  <th>$name_group1</th>
56
  <th>$name_numstud</th>
56
  <th>$name_numstud</th>
57
  <th>$name_sessiondate</th>
57
  <th>$name_sessiondate</th>
58
  <th>$name_begintime</th>
58
  <th>$name_begintime</th>
59
  <th>$name_endtime</th>
59
  <th>$name_endtime</th>
60
  <th>$name_connip</th>
60
  <th>$name_connip</th>
61
  <th>$name_extra</th>
61
  <th>$name_extra</th>
62
 </tr>
62
 </tr>
63
 !for i=1 to $numsess
63
!for i=1 to $numsess
64
$table_tr
64
  $table_tr
65
  <td>$(listval[$i])
65
  <td>$(listval[$i])
66
  <td>
66
  <td>
67
  <input size="4" name="up_nstud$i" id="nstud$i" value="$(nstud$i)" />
67
  <input size="4" name="up_nstud$i" id="nstud$i" value="$(nstud$i)" />
68
  </td>
68
  </td>
69
  <td>
69
  <td>
70
    !default up_bday$i=$jday
70
  !default up_bday$i=$jday
71
    !default up_byear$i=$jyear
71
  !default up_byear$i=$jyear
72
    !default up_bmonth$i=$jmonth
72
  !default up_bmonth$i=$jmonth
73
    !distribute item $[$(up_bday$i)],$[$(up_bmonth$i)],$[$(up_byear$i)] into up_bday$i,up_bmonth$i,up_byear$i
73
  !distribute item $[$(up_bday$i)],$[$(up_bmonth$i)],$[$(up_byear$i)] into up_bday$i,up_bmonth$i,up_byear$i
74
    !if $vote_status=0
74
  !if $vote_status=0
75
        !if $jquery_defined!=yes
75
    !if $jquery_defined!=yes
76
            !read adm/lang/datemenu.phtml.$moduclass_lang 1, up_bday$i,up_bmonth$i,up_byear$i
76
      !read adm/lang/datemenu.phtml.$moduclass_lang 1, up_bday$i,up_bmonth$i,up_byear$i
77
        !else
77
    !else
78
            !let up_bday$i=!char 2 to 3 of $[100+$(up_bday$i)]
78
      !let up_bday$i=!char 2 to 3 of $[100+$(up_bday$i)]
79
            !let up_bmonth$i=!char 2 to 3 of $[100+$(up_bmonth$i)]
79
      !let up_bmonth$i=!char 2 to 3 of $[100+$(up_bmonth$i)]
80
            !read adm/datepickerform.phtml $(up_byear$i)$(up_bmonth$i)$(up_bday$i)\
80
      !read adm/datepickerform.phtml $(up_byear$i)$(up_bmonth$i)$(up_bday$i)\
81
up_bdate$i\
81
up_bdate$i\
82
"$class_creation","$class_expiration"
82
"$class_creation","$class_expiration"
83
        !endif
83
    !endif
84
    !else
84
  !else
85
        $(bday$i) $(months[$(bmonth$i)]) $(byear$i)
85
    $(bday$i) $(months[$(bmonth$i)]) $(byear$i)
86
    !endif
86
  !endif
87
  </td>
87
  </td>
88
  <td>
88
  <td>
89
    !if $vote_status=0
89
  !if $vote_status=0
90
        !read adm/lang/datemenu.phtml.$moduclass_lang 6,up_bhour$i,up_bmin$i
90
    !read adm/lang/datemenu.phtml.$moduclass_lang 6,up_bhour$i,up_bmin$i
91
    !else
91
  !else
92
        $(bhour$i):$(bmin$i)
92
    $(bhour$i):$(bmin$i)
93
    !endif
93
  !endif
94
  </td>
94
  </td>
95
  <td>
95
  <td>
96
    !if $vote_status=0
96
  !if $vote_status=0
97
        !read adm/lang/datemenu.phtml.$moduclass_lang 6,up_ehour$i,up_emin$i
97
    !read adm/lang/datemenu.phtml.$moduclass_lang 6,up_ehour$i,up_emin$i
98
    !else
98
  !else
99
        $(ehour$i):$(emin$i)
99
    $(ehour$i):$(emin$i)
100
    !endif
100
  !endif
101
  </td>
101
  </td>
102
  <td>
102
  <td>
103
    !if $vote_status=0
103
  !if $vote_status=0
104
        !default up_exconnip$i=$defconnip
104
    !default up_exconnip$i=$defconnip
105
        <input size="10" name="up_exconnip$i" id="exconnip$i" value="$(up_exconnip$i)" />
105
    <input size="10" name="up_exconnip$i" id="exconnip$i" value="$(up_exconnip$i)" />
106
    !else
106
  !else
107
        $(exconnip$i)
107
    $(exconnip$i)
108
    !endif
108
  !endif
109
  </td>
109
  </td>
110
  <td>
110
  <td>
111
   <input size="10" name="up_testoextra$i" id="testoextra$i" value="$(testoextra$i)" />
111
   <input size="10" name="up_testoextra$i" id="testoextra$i" value="$(testoextra$i)" />
112
  </td>
112
  </td>
113
 </tr>
113
  </tr>
114
 !next i
114
 !next i
115
 $table_end
115
 $table_end
116
 <div class="formHelp">$name_remark_numstud</div>
116
 <div class="formHelp">$name_remark_numstud</div>
117
 <input type="hidden" name="gstep" value="3" />
117
 <input type="hidden" name="gstep" value="3" />
118
!exit
118
!exit