Rev 10770 | Rev 12638 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 10770 | Rev 12534 | ||
---|---|---|---|
Line 18... | Line 18... | ||
18 | !if $overflow=yes |
18 | !if $overflow=yes |
19 | !exit |
19 | !exit |
20 | !endif |
20 | !endif |
21 | 21 | ||
22 | !if $clcnt+$sccnt>0 |
22 | !if $clcnt+$sccnt>0 |
- | 23 | <script src="scripts/js/tablesort.js"></script> |
|
23 | !if $wims_user=$empty |
24 | !if $wims_user=$empty |
24 | $name_supervisor_text |
25 | $name_supervisor_text |
25 | !endif |
26 | !endif |
26 | 27 | ||
27 | !if $sccnt>0 |
28 | !if $sccnt>0 |
- | 29 | !set table_id=TABLE_portal |
|
- | 30 | !set table_class=sortable |
|
28 | $table_header |
31 | $table_header |
29 | - | ||
30 | <caption>$name_portalandgroup</caption> |
32 | <caption>$name_portalandgroup</caption> |
- | 33 | <thead> |
|
- | 34 | $table_hdtr |
|
- | 35 | <th></th> |
|
- | 36 | <th>$wims_name_teacher</th> |
|
31 |
|
37 | <th colspan="2">$wims_name_nameteacher/$wims_name_Supervisor</th> |
- | 38 | </tr> |
|
- | 39 | <tr data-sort-method='thead'> |
|
- | 40 | <th scope="col">$wims_name_name</th> |
|
32 |
|
41 | <th scope="col" data-sort-method="none">$wims_name_action</th> |
33 |
|
42 | <th scope="col">$wims_name_name</th> |
- | 43 | <th scope="col" data-sort-method="none">$wims_name_action</th> |
|
- | 44 | </tr> |
|
- | 45 | </thead> |
|
- | 46 | <tbody> |
|
34 | !for i=1 to $sccnt |
47 | !for i=1 to $sccnt |
35 | !set l=!line $i of $sclasses |
48 | !set l=!line $i of $sclasses |
36 | !distribute items $l into code,expire,in,cl,la,ty,lv,pswd |
49 | !distribute items $l into code,expire,in,cl,la,ty,lv,pswd |
37 | !set supv=!item 9 of $l |
50 | !set supv=!item 9 of $l |
38 | !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def |
51 | !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def |
Line 56... | Line 69... | ||
56 | <td> |
69 | <td> |
57 | !set wims_ref_class=wims_button |
70 | !set wims_ref_class=wims_button |
58 | !href module=$module&type=authsupervisor&class=$code $wims_name_Enter |
71 | !href module=$module&type=authsupervisor&class=$code $wims_name_Enter |
59 | </td></tr> |
72 | </td></tr> |
60 | !next i |
73 | !next i |
- | 74 | </tbody> |
|
61 | $table_end |
75 | $table_end |
62 | !endif |
76 | !endif |
63 | !if $clcnt>0 and $s_prog!=1 |
77 | !if $clcnt>0 and $s_prog!=1 |
- | 78 | !set table_id=TABLE_cls |
|
- | 79 | !set table_class=sortable |
|
64 | $table_header |
80 | $table_header |
- | 81 | <thead> |
|
65 | !if $superclass_orig=$empty |
82 | !if $superclass_orig=$empty |
66 | <caption>$name_independantclass</caption> |
83 | <caption>$name_independantclass</caption> |
- | 84 | $table_hdtr |
|
- | 85 | <th scope="col">$wims_name_name</th> |
|
67 |
|
86 | <th scope="col">$wims_name_nameteacher / $wims_name_Supervisor</th> |
68 | <th |
87 | <th scope="col">$wims_name_action</th> |
- | 88 | </tr> |
|
69 | !else |
89 | !else |
70 | !if $splevel>1 |
90 | !if $splevel>1 |
71 | !set inst=!defof class_description in wimshome/log/classes/$superclass2/.def |
91 | !set inst=!defof class_description in wimshome/log/classes/$superclass2/.def |
72 | !else |
92 | !else |
73 | !set inst=!defof class_institution in wimshome/log/classes/$superclass_orig/.def |
93 | !set inst=!defof class_institution in wimshome/log/classes/$superclass_orig/.def |
Line 77... | Line 97... | ||
77 | !if $class_type>2 |
97 | !if $class_type>2 |
78 | $ |
98 | $ |
79 | !set wims_ref_class=wims_button_help |
99 | !set wims_ref_class=wims_button_help |
80 | !href cmd=help&special_parm=$module_language/structure $wims_name_help |
100 | !href cmd=help&special_parm=$module_language/structure $wims_name_help |
81 | !endif |
101 | !endif |
82 | !if $splevel>1 |
102 | !if $splevel>1 |
83 | !href cmd=reply&type=$type&superclass2=$sparent&s_prog=0 $name_up |
103 | !href cmd=reply&type=$type&superclass2=$sparent&s_prog=0 $name_up |
84 | !endif |
104 | !endif |
85 | </caption> |
105 | </caption> |
- | 106 | $table_hdtr |
|
- | 107 | <th scope="col">$Name_level</th> |
|
86 |
|
108 | <th scope="col">$wims_name_nameteacher</th> |
87 | !if $superclass_orig!=$empty and $stype=4 |
109 | !if $superclass_orig!=$empty and $stype=4 |
88 | <th>+</th> |
110 | <th scope="col">+</th> |
89 | !if $ty!=1 and $splevel =1 |
111 | !if $ty!=1 and $splevel =1 |
90 | <th>+</th> |
112 | <th scope="col">+</th> |
91 | !endif |
113 | !endif |
92 | !endif |
114 | !endif |
93 | </tr> |
115 | </tr> |
94 | !endif |
116 | !endif |
- | 117 | </thead> |
|
- | 118 | <tbody> |
|
95 | !for i=1 to $clcnt |
119 | !for i=1 to $clcnt |
96 | !set l=!line $i of $classes |
120 | !set l=!line $i of $classes |
97 | !distribute items $l into code,expire,in,cl,la,ty,lv,pswd |
121 | !distribute items $l into code,expire,in,cl,la,ty,lv,pswd |
98 | !set supv=!item 9 of $l |
122 | !set supv=!item 9 of $l |
99 | !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def |
123 | !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def |
Line 118... | Line 142... | ||
118 | </td> |
142 | </td> |
119 | !if $ty!=1 and $splevel =1 |
143 | !if $ty!=1 and $splevel =1 |
120 | <td> |
144 | <td> |
121 | !set wims_ref_class=wims_button |
145 | !set wims_ref_class=wims_button |
122 | !href cmd=reply&type=$type&superclass2=$code&s_prog=1 $name_program |
146 | !href cmd=reply&type=$type&superclass2=$code&s_prog=1 $name_program |
123 | </td> |
147 | </td> |
124 | !endif |
148 | !endif |
125 | !endif |
149 | !endif |
126 | !if $superclass_orig=$empty |
150 | !if $superclass_orig=$empty |
127 | <td> |
151 | <td> |
128 | !set wims_ref_class=wims_button |
152 | !set wims_ref_class=wims_button |
129 | !href module=$module&type=authsupervisor&class=$code $wims_name_Enter |
153 | !href module=$module&type=authsupervisor&class=$code $wims_name_Enter |
130 | </td> |
154 | </td> |
131 | !endif |
155 | !endif |
132 | </tr> |
156 | </tr> |
133 | !next i |
157 | !next i |
- | 158 | </tbody> |
|
134 | $table_end |
159 | $table_end |
135 | !else |
160 | !else |
136 | !!#####################program |
161 | !!#####################program |
137 | !if $clcnt_pr>0 |
162 | !if $clcnt_pr>0 |
138 | !if $splevel>1 |
163 | !if $splevel>1 |
139 | !set inst=!defof class_description in wimshome/log/classes/$superclass2/.def |
164 | !set inst=!defof class_description in wimshome/log/classes/$superclass2/.def |
140 | !else |
165 | !else |
141 | !set inst=!defof class_institution in wimshome/log/classes/$superclass_orig/.def |
166 | !set inst=!defof class_institution in wimshome/log/classes/$superclass_orig/.def |
142 | !endif |
167 | !endif |
- | 168 | !set table_id=TABLE_program |
|
- | 169 | !set table_class=sortable |
|
143 | $table_header |
170 | $table_header |
- | 171 | <thead> |
|
144 | <caption>$Name_program ($inst) |
172 | <caption>$Name_program ($inst) |
145 | !if $splevel>1 |
173 | !if $splevel>1 |
146 | !href cmd=reply&type=$type&superclass2=$sparent&s_prog=0 $name_up |
174 | !href cmd=reply&type=$type&superclass2=$sparent&s_prog=0 $name_up |
147 | !endif |
175 | !endif |
148 | </caption> |
176 | </caption> |
- | 177 | $table_hdtr |
|
- | 178 | <th scope="col">$wims_name_level</th> |
|
149 |
|
179 | <th scope="col">$wims_name_nameteacher</th> |
- | 180 | <th scope="col">+</th> |
|
- | 181 | </tr> |
|
- | 182 | </thead> |
|
- | 183 | <tbody> |
|
150 | !for i=1 to $clcnt_pr |
184 | !for i=1 to $clcnt_pr |
151 | !set l=!line $i of $classes_pr |
185 | !set l=!line $i of $classes_pr |
152 | !distribute items $l into code,expire,in,cl,la,ty,lv,pswd |
186 | !distribute items $l into code,expire,in,cl,la,ty,lv,pswd |
153 | !set supv=!item 9 of $l |
187 | !set supv=!item 9 of $l |
154 | !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def |
188 | !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def |
Line 167... | Line 201... | ||
167 | !endif |
201 | !endif |
168 | </td> |
202 | </td> |
169 | !endif |
203 | !endif |
170 | </td></tr> |
204 | </td></tr> |
171 | !next i |
205 | !next i |
- | 206 | </tbody> |
|
172 | $table_end |
207 | $table_end |
173 | !endif |
208 | !endif |
174 | !endif |
209 | !endif |
- | 210 | <script> |
|
- | 211 | !if $clcnt+$sccnt>0 |
|
- | 212 | new Tablesort(document.getElementById('TABLE_portal')); |
|
- | 213 | !endif |
|
- | 214 | !if $clcnt>0 and $s_prog!=1 |
|
- | 215 | new Tablesort(document.getElementById('TABLE_cls')); |
|
- | 216 | !endif |
|
- | 217 | !if $clcnt_pr>0 |
|
- | 218 | new Tablesort(document.getElementById('TABLE_program')); |
|
- | 219 | !endif |
|
- | 220 | </script> |
|
- | 221 | ||
175 | !else |
222 | !else |
176 | !if $class_type=$empty and $superclass_orig=$empty and $keyword=$empty |
223 | !if $class_type=$empty and $superclass_orig=$empty and $keyword=$empty |
177 | ($name_language2) |
224 | ($name_language2) |
178 | !else |
225 | !else |
179 | !if $clcnt=0 and $keyword=$empty |
226 | !if $clcnt=0 and $keyword=$empty |