Rev 12845 | Rev 13073 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12845 | Rev 13057 | ||
---|---|---|---|
Line 46... | Line 46... | ||
46 | !distribute items $l into code,expire,in,cl,la,ty,lv,pswd |
46 | !distribute items $l into code,expire,in,cl,la,ty,lv,pswd |
47 | !set supv=!item 9 of $l |
47 | !set supv=!item 9 of $l |
48 | !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def |
48 | !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def |
49 | 49 | ||
50 | $table_tr |
50 | $table_tr |
51 |
|
51 | <td>$in<br />$cl</td> |
52 |
|
52 | !reset class_auth |
53 |
|
53 | !defread wimshome/log/classes/$code/.def |
54 |
|
54 | !read adm/class/initclass $code,auth |
55 |
|
55 | !if $class_auth isitemof $auth_method_list and $(class_$(class_auth)_auth)!=$empty |
56 |
|
56 | !read supervisor2.phtml |
57 |
|
57 | !else |
58 | <td> |
- | |
59 | !set wims_ref_class=wims_button |
- | |
60 | !href module=$module&type=authparticipant&class=$code $wims_name_Enter |
- | |
61 | </td> |
- | |
62 | !endif |
- | |
63 | <td>$supv</td> |
- | |
64 | <td> |
58 | <td> |
65 |
|
59 | !set wims_ref_class=wims_button |
- | 60 | !href module=$module&type=authparticipant&class=$code $wims_name_Enter |
|
- | 61 | </td> |
|
- | 62 | !endif |
|
- | 63 | <td>$supv</td> |
|
- | 64 | <td> |
|
- | 65 | !set wims_ref_class=wims_button |
|
66 |
|
66 | !href module=$module&type=authsupervisor&class=$code $wims_name_Enter |
67 | </td> |
67 | </td> |
68 | </tr> |
68 | </tr> |
69 | !next i |
69 | !next i |
70 | </tbody> |
70 | </tbody> |
71 | $table_end |
71 | $table_end |
Line 89... | Line 89... | ||
89 | !else |
89 | !else |
90 | !set inst=!defof class_institution in wimshome/log/classes/$superclass_orig/.def |
90 | !set inst=!defof class_institution in wimshome/log/classes/$superclass_orig/.def |
91 | !endif |
91 | !endif |
92 | !default Name_level=$(CL_Name[2]) |
92 | !default Name_level=$(CL_Name[2]) |
93 | <caption>$Name_level / $inst |
93 | <caption>$Name_level / $inst |
94 |
|
94 | !if $class_type>2 |
95 |
|
95 | $ |
96 |
|
96 | !set wims_ref_class=wims_button_help |
97 |
|
97 | !href cmd=help&special_parm=$module_language/structure $wims_name_help |
98 |
|
98 | !endif |
99 |
|
99 | !if $splevel>1 |
100 |
|
100 | !href cmd=reply&type=$type&superclass2=$sparent&s_prog=0 $name_up |
101 |
|
101 | !endif |
102 | </caption> |
102 | </caption> |
103 | <thead> |
103 | <thead> |
104 | $table_hdtr |
104 | $table_hdtr |
105 |
|
105 | <th scope="col">$Name_level</th> |
106 |
|
106 | <th scope="col">$wims_name_nameteacher</th> |
107 |
|
107 | !if $superclass_orig!=$empty and $stype=4 |
- | 108 | <th scope="col">+</th> |
|
- | 109 | !if $ty!=1 and $splevel =1 |
|
108 | <th scope="col">+</th> |
110 | <th scope="col">+</th> |
109 | !if $ty!=1 and $splevel =1 |
- | |
110 | <th scope="col">+</th> |
- | |
111 | !endif |
- | |
112 | !endif |
- | |
113 | </tr> |
- | |
114 | !endif |
- | |
115 | </thead> |
- | |
116 | <tbody> |
- | |
117 | !for i=1 to $clcnt |
- | |
118 | !set l=!line $i of $classes |
- | |
119 | !distribute items $l into code,expire,in,cl,la,ty,lv,pswd |
- | |
120 | !set supv=!item 9 of $l |
- | |
121 | !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def |
- | |
122 | - | ||
123 | $table_tr |
- | |
124 | !if $superclass_orig=$empty |
- | |
125 | <td>$in<br />$cl</td> |
- | |
126 | !else |
- | |
127 | <td> |
- | |
128 | !href module=$module&type=authsupervisor&class=$code $cl |
- | |
129 | </td> |
- | |
130 | !endif |
- | |
131 | <td>$supv</td> |
- | |
132 | !if $superclass_orig!=$empty and $stype=4 |
- | |
133 | <td> |
- | |
134 | !if $ty!=1 |
- | |
135 | !set wims_ref_class=wims_button |
- | |
136 | !href cmd=reply&type=$type&superclass2=$code&s_prog=0 $sousclasses |
- | |
137 | !else |
- | |
138 | - |
- | |
139 | !endif |
- | |
140 | </td> |
- | |
141 | !if $ty!=1 and $splevel =1 |
- | |
142 | <td> |
- | |
143 | !set wims_ref_class=wims_button |
- | |
144 | !href cmd=reply&type=$type&superclass2=$code&s_prog=1 $name_program |
- | |
145 | </td> |
- | |
146 | !endif |
111 | !endif |
147 | !endif |
- | |
148 | !if $superclass_orig=$empty |
- | |
149 | <td> |
- | |
150 | !set wims_ref_class=wims_button |
- | |
151 | !href module=$module&type=authsupervisor&class=$code $wims_name_Enter |
- | |
152 | </td> |
- | |
153 | !endif |
112 | !endif |
154 | </tr> |
113 | </tr> |
155 | !next i |
- | |
156 | </tbody> |
- | |
157 | $table_end |
- | |
158 | !read tablesort.phtml |
- | |
159 | !else |
- | |
160 | !!#####################program |
- | |
161 | !if $clcnt_pr>0 |
- | |
162 | !if $splevel>1 |
- | |
163 | !set inst=!defof class_description in wimshome/log/classes/$superclass2/.def |
- | |
164 | !else |
- | |
165 | !set inst=!defof class_institution in wimshome/log/classes/$superclass_orig/.def |
- | |
166 | !endif |
114 | !endif |
167 | !set table_id=TABLE_program |
- | |
168 | !set table_class=sortable |
- | |
169 | $table_header |
- | |
170 | <caption>$Name_program ($inst) |
- | |
171 | !if $splevel>1 |
- | |
172 | !href cmd=reply&type=$type&superclass2=$sparent&s_prog=0 $name_up |
- | |
173 | !endif |
- | |
174 | </caption> |
- | |
175 | <thead> |
- | |
176 | $table_hdtr |
- | |
177 | <th scope="col">$wims_name_level</th> |
- | |
178 | <th scope="col">$wims_name_nameteacher</th> |
- | |
179 | <th scope="col">+</th> |
- | |
180 | </tr> |
- | |
181 | </thead> |
115 | </thead> |
182 | <tbody> |
116 | <tbody> |
183 | !for i=1 to |
117 | !for i=1 to $clcnt |
184 | !set l=!line $i of |
118 | !set l=!line $i of $classes |
185 | !distribute items $l into code,expire,in,cl,la,ty,lv,pswd |
119 | !distribute items $l into code,expire,in,cl,la,ty,lv,pswd |
186 | !set supv=!item 9 of $l |
120 | !set supv=!item 9 of $l |
187 | !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def |
121 | !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def |
- | 122 | ||
188 | $table_tr |
123 | $table_tr |
- | 124 | !if $superclass_orig=$empty |
|
- | 125 | <td>$in<br />$cl</td> |
|
- | 126 | !else |
|
189 | <td> |
127 | <td> |
190 | !href module=$module&type=authsupervisor&class=$code $cl |
128 | !href module=$module&type=authsupervisor&class=$code $cl |
191 | </td> |
129 | </td> |
- | 130 | !endif |
|
192 | <td>$supv</td> |
131 | <td>$supv</td> |
193 | !if $superclass_orig!=$empty and $stype=4 |
132 | !if $superclass_orig!=$empty and $stype=4 |
194 | <td> |
133 | <td> |
195 | !if $ty!=1 |
134 | !if $ty!=1 |
196 | !set wims_ref_class=wims_button |
135 | !set wims_ref_class=wims_button |
197 | !href cmd=reply&type=$type&superclass2=$code&s_prog=0 $sousclasses |
136 | !href cmd=reply&type=$type&superclass2=$code&s_prog=0 $sousclasses |
198 | !else |
137 | !else |
199 | - |
138 | - |
200 | !endif |
139 | !endif |
- | 140 | </td> |
|
- | 141 | !if $ty!=1 and $splevel =1 |
|
- | 142 | <td> |
|
- | 143 | !set wims_ref_class=wims_button |
|
- | 144 | !href cmd=reply&type=$type&superclass2=$code&s_prog=1 $name_program |
|
- | 145 | </td> |
|
- | 146 | !endif |
|
- | 147 | !endif |
|
- | 148 | !if $superclass_orig=$empty |
|
- | 149 | <td> |
|
- | 150 | !set wims_ref_class=wims_button |
|
- | 151 | !href module=$module&type=authsupervisor&class=$code $wims_name_Enter |
|
201 | </td> |
152 | </td> |
202 | !endif |
153 | !endif |
203 |
|
154 | </tr> |
204 | !next i |
155 | !next i |
205 | </tbody> |
156 | </tbody> |
206 | $table_end |
157 | $table_end |
207 | !read tablesort.phtml |
158 | !read tablesort.phtml |
- | 159 | !else |
|
- | 160 | !!#####################program |
|
- | 161 | !if $clcnt_pr>0 |
|
- | 162 | !if $splevel>1 |
|
- | 163 | !set inst=!defof class_description in wimshome/log/classes/$superclass2/.def |
|
- | 164 | !else |
|
- | 165 | !set inst=!defof class_institution in wimshome/log/classes/$superclass_orig/.def |
|
- | 166 | !endif |
|
- | 167 | !set table_id=TABLE_program |
|
- | 168 | !set table_class=sortable |
|
- | 169 | $table_header |
|
- | 170 | <caption>$Name_program ($inst) |
|
- | 171 | !if $splevel>1 |
|
- | 172 | !href cmd=reply&type=$type&superclass2=$sparent&s_prog=0 $name_up |
|
- | 173 | !endif |
|
- | 174 | </caption> |
|
- | 175 | <thead> |
|
- | 176 | $table_hdtr |
|
- | 177 | <th scope="col">$wims_name_level</th> |
|
- | 178 | <th scope="col">$wims_name_nameteacher</th> |
|
- | 179 | <th scope="col">+</th> |
|
- | 180 | </tr> |
|
- | 181 | </thead> |
|
- | 182 | <tbody> |
|
- | 183 | !for i=1 to $clcnt_pr |
|
- | 184 | !set l=!line $i of $classes_pr |
|
- | 185 | !distribute items $l into code,expire,in,cl,la,ty,lv,pswd |
|
- | 186 | !set supv=!item 9 of $l |
|
- | 187 | !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def |
|
- | 188 | $table_tr |
|
- | 189 | <td> |
|
- | 190 | !href module=$module&type=authsupervisor&class=$code $cl |
|
- | 191 | </td> |
|
- | 192 | <td>$supv</td> |
|
- | 193 | !if $superclass_orig!=$empty and $stype=4 |
|
- | 194 | <td> |
|
- | 195 | !if $ty!=1 |
|
- | 196 | !set wims_ref_class=wims_button |
|
- | 197 | !href cmd=reply&type=$type&superclass2=$code&s_prog=0 $sousclasses |
|
- | 198 | !else |
|
- | 199 | - |
|
- | 200 | !endif |
|
- | 201 | </td> |
|
- | 202 | !endif |
|
- | 203 | </td></tr> |
|
- | 204 | !next i |
|
- | 205 | </tbody> |
|
- | 206 | $table_end |
|
- | 207 | !read tablesort.phtml |
|
- | 208 | !endif |
|
208 | !endif |
209 | !endif |
209 | !endif |
- | |
210 | - | ||
211 | !else |
210 | !else |
212 | !if $class_type=$empty and $superclass_orig=$empty and $keyword=$empty |
211 | !if $class_type=$empty and $superclass_orig=$empty and $keyword=$empty |
213 | ($name_language2) |
212 | ($name_language2) |
214 | !else |
213 | !else |
215 | !if $clcnt=0 and $keyword=$empty |
214 | !if $clcnt=0 and $keyword=$empty |