Subversion Repositories wimsdev

Rev

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

Rev 12616 Rev 12626
Line 4... Line 4...
4
!set sup=$class_Supervisor
4
!set sup=$class_Supervisor
5
<div id="widget_zone_list">
5
<div id="widget_zone_list">
6
!if $jquery_defined=yes
6
!if $jquery_defined=yes
7
  !read adm/tabscript zone_list
7
  !read adm/tabscript zone_list
8
!endif
8
!endif
-
 
9
<script src="scripts/js/tablesort.js"></script>
9
<ul>
10
<ul>
10
 <li><a href="#wims_classform">$wims_name_properties</a></li>
11
 <li><a href="#wims_classform">$wims_name_properties</a></li>
11
 <li><a href="#wims_othergestion">$name_othergestion</a></li>
12
 <li><a href="#wims_othergestion">$name_othergestion</a></li>
12
 <li><a href="#wims_zone_course">$wims_name_course</a></li>
13
 <li><a href="#wims_zone_course">$wims_name_course</a></li>
13
 <li><a href="#wims_zone_icourse">$wims_name_icourse</a></li>
14
 <li><a href="#wims_zone_icourse">$wims_name_icourse</a></li>
Line 43... Line 44...
43
  $
44
  $
44
  !set wims_ref_class=wims_button_help
45
  !set wims_ref_class=wims_button_help
45
  !href cmd=help&special_parm=structure#course $wims_name_help
46
  !href cmd=help&special_parm=structure#course $wims_name_help
46
  $
47
  $
47
!else
48
!else
-
 
49
  !set table_id=TABLE_courselist
-
 
50
  !set table_class=sortable
48
  $table_header
51
  $table_header
49
  <caption>$name_prog5
52
  <caption>$name_prog5
50
  $
53
  $
51
  !set wims_ref_class=wims_button_help
54
  !set wims_ref_class=wims_button_help
52
  !href cmd=help&special_parm=structure#course $wims_name_help
55
  !href cmd=help&special_parm=structure#course $wims_name_help
53
  $
56
  $
54
  !href cmd=reply&cparent=prog&job=addcourse $wims_name_addcourse
57
  !href cmd=reply&cparent=prog&job=addcourse $wims_name_addcourse
55
  </caption>
58
  </caption>
-
 
59
  <thead>
56
  $table_hdtr
60
  $table_hdtr
-
 
61
  <th scope="col">$name_code</th><th scope="col">$wims_name_name</th>
57
  <th>$name_code</th><th>$wims_name_name</th><th>$wims_name_action</th><th>$name_supervisor2</th>
62
  <th scope="col" data-sort-method="none">$wims_name_action</th><th scope="col">$name_supervisor2</th>
58
  <th class="small">$name_participant</th>
63
  <th class="small" scope="col">$name_participant</th>
59
  </tr>
64
  </tr>
-
 
65
  </thead>
60
  !for i=1 to $coursecnt
66
  !for i=1 to $coursecnt
61
    !set l=!line $i of $courses
67
    !set l=!line $i of $courses
62
    !distribute items $l into l_,s_,t_,n_
68
    !distribute items $l into l_,s_,t_,n_
63
    $table_tr<td>$l_</td>
69
    $table_tr<td>$l_</td>
64
    <td>
70
    <td>
Line 80... Line 86...
80
    !set c=!recordcnt $classdir1/$l_/.userlist
86
    !set c=!recordcnt $classdir1/$l_/.userlist
81
    </td><td>$c</td>
87
    </td><td>$c</td>
82
    </tr>
88
    </tr>
83
  !next i
89
  !next i
84
  $table_end
90
  $table_end
-
 
91
  <script>
-
 
92
    new Tablesort(document.getElementById('TABLE_courselist'));
-
 
93
 </script>
85
!endif
94
!endif
86
</div>
95
</div>
87
<div id="wims_zone_icourse">
96
<div id="wims_zone_icourse">
88
!if $icoursecnt=0
97
!if $icoursecnt=0
89
  $name_prog9
98
  $name_prog9
90
  !href cmd=reply&cparent=prog&job=addicourse $wims_name_addicourse
99
  !href cmd=reply&cparent=prog&job=addicourse $wims_name_addicourse
91
   $
100
   $
92
  !set wims_ref_class=wims_button_help
101
  !set wims_ref_class=wims_button_help
93
  !href cmd=help&special_parm=structure#icourse $wims_name_help
102
  !href cmd=help&special_parm=structure#icourse $wims_name_help
94
!else
103
!else
-
 
104
  !set table_id=TABLE_icourselist
-
 
105
  !set table_class=sortable
95
  $table_header
106
  $table_header
96
   <caption>$wims_name_icourse
107
   <caption>$wims_name_icourse
97
    $
108
    $
98
  !set wims_ref_class=wims_button_help
109
  !set wims_ref_class=wims_button_help
99
  !href cmd=help&special_parm=structure#icourse $wims_name_help
110
  !href cmd=help&special_parm=structure#icourse $wims_name_help
100
  $
111
  $
101
  !href cmd=reply&cparent=prog&job=addicourse $wims_name_addcourse
112
  !href cmd=reply&cparent=prog&job=addicourse $wims_name_addcourse
102
  </caption>
113
  </caption>
-
 
114
  <thead>
103
  $table_hdtr
115
  $table_hdtr
-
 
116
  <th scope="col">$name_code</th><th scope="col">$wims_name_name</th>
104
  <th>$name_code</th><th>$wims_name_name</th><th>$wims_name_action</th><th>$name_supervisor2</th>
117
  <th scope="col">$wims_name_action</th><th scope="col">$name_supervisor2</th>
105
  <th class="small">$name_participant</th>
118
  <th class="small" scope="col">$name_participant</th>
106
  </tr>
119
  </tr>
-
 
120
  </thead>
-
 
121
  <tbody>
107
  !for i=1 to $icoursecnt
122
  !for i=1 to $icoursecnt
108
    !set l=!line $i of $icourses
123
    !set l=!line $i of $icourses
109
    !distribute items $l into l_,s_,t_,n_
124
    !distribute items $l into l_,s_,t_,n_
110
    $table_tr<td>$l_</td>
125
    $table_tr<td>$l_</td>
111
    <td>
126
    <td>
Line 126... Line 141...
126
    !endif
141
    !endif
127
    !set c=!recordcnt $classdir1/$l_/.userlist
142
    !set c=!recordcnt $classdir1/$l_/.userlist
128
    </td><td>$c</td>
143
    </td><td>$c</td>
129
  !next i
144
  !next i
130
  </tr>
145
  </tr>
-
 
146
  </tbody>
131
  $table_end
147
  $table_end
-
 
148
  <script>
-
 
149
    new Tablesort(document.getElementById('TABLE_icourselist'));
-
 
150
  </script>
132
!endif
151
!endif
133
</div>
152
</div>
134
<div id="wims_zone_recsharable">
153
<div id="wims_zone_recsharable">
135
!if $recsharable!=$empty
154
!if $recsharable!=$empty
-
 
155
  !set table_id=TABLE_programlist
-
 
156
  !set table_class=sortable
136
  $table_header
157
  $table_header
137
  <caption>$name_prog6</caption>
158
  <caption>$name_prog6</caption>
-
 
159
  <thead>
138
  $table_hdtr
160
  $table_hdtr
139
  <th>Code</th>
161
  <th scope="col">Code</th>
140
  <th>$wims_name_level</th>
162
  <th scope="col">$wims_name_level</th>
141
  <th>$wims_name_program</th>
163
  <th scope="col">$wims_name_program</th>
142
  </tr>
164
  </tr>
-
 
165
  </thead>
-
 
166
  <tbody>
143
  !set n=!linecnt $recsharable
167
  !set n=!linecnt $recsharable
144
  !for i=1 to $n
168
  !for i=1 to $n
145
    $table_tr
169
    $table_tr
146
    !set l=!line $i of $recsharable
170
    !set l=!line $i of $recsharable
147
    !distribute items $l into add,name
171
    !distribute items $l into add,name
Line 152... Line 176...
152
    <td>$l_</td>
176
    <td>$l_</td>
153
    <td style="text-align:left">
177
    <td style="text-align:left">
154
    !href cmd=reply&job=progshare&prog=$prog&shareprog=$add $name
178
    !href cmd=reply&job=progshare&prog=$prog&shareprog=$add $name
155
    </td></tr>
179
    </td></tr>
156
  !next i
180
  !next i
-
 
181
  </tbody>
157
  $table_end
182
  $table_end
-
 
183
  <script>
-
 
184
    new Tablesort(document.getElementById('TABLE_programlist'));
-
 
185
  </script>
158
!endif
186
!endif
159
!if $class_recshare!=$empty
187
!if $class_recshare!=$empty
160
  <p>
188
  <p>
161
  !if $class_recshare=main
189
  !if $class_recshare=main
162
    $name_prog7
190
    $name_prog7