Rev 12721 | Rev 13057 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12721 | Rev 12845 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | !if $clcnt+$sccnt<1 and $keyword!=$empty |
4 | !if $clcnt+$sccnt<1 and $keyword!=$empty |
5 | <p class=" |
5 | <p class="wims_msg info">$name_nofound</p> |
6 | $name_nofound |
- | |
7 | </p> |
- | |
8 | !endif |
6 | !endif |
9 | !if $wims_user!=$empty |
7 | !if $wims_user!=$empty |
10 | !read direct.phtml |
8 | !read direct.phtml |
11 | !if $wims_user!=supervisor and $supervisable!=yes |
9 | !if $wims_user!=supervisor and $supervisable!=yes |
12 | !exit |
10 | !exit |
13 | !endif |
11 | !endif |
14 | !else |
12 | !else |
15 | !read lang |
13 | !read adm/language lang/supervisor.phtml |
16 | !endif |
14 | !endif |
17 | 15 | ||
18 | !if $overflow=yes |
16 | !if $overflow=yes |
19 | !exit |
17 | !exit |
20 | !endif |
18 | !endif |
Line 29... | Line 27... | ||
29 | !set table_class=sortable |
27 | !set table_class=sortable |
30 | $table_header |
28 | $table_header |
31 | <caption>$name_portalandgroup</caption> |
29 | <caption>$name_portalandgroup</caption> |
32 | <thead> |
30 | <thead> |
33 | <tr> |
31 | <tr> |
34 | <th></th> |
32 | <th></th> |
35 | <th>$wims_name_teacher</th> |
33 | <th>$wims_name_teacher</th> |
36 | <th colspan="2">$wims_name_nameteacher/$wims_name_Supervisor</th> |
34 | <th colspan="2">$wims_name_nameteacher/$wims_name_Supervisor</th> |
37 | </tr> |
35 | </tr> |
38 | $table_hdtr |
36 | $table_hdtr |
39 | <th scope="col">$wims_name_name</th> |
37 | <th scope="col">$wims_name_name</th> |
40 | <th scope="col" data-sort-method="none">$wims_name_action</th> |
38 | <th scope="col" data-sort-method="none">$wims_name_action</th> |
41 | <th scope="col">$wims_name_name</th> |
39 | <th scope="col">$wims_name_name</th> |
42 | <th scope="col" data-sort-method="none">$wims_name_action</th> |
40 | <th scope="col" data-sort-method="none">$wims_name_action</th> |
43 | </tr> |
41 | </tr> |
44 | </thead> |
42 | </thead> |
45 | <tbody> |
43 | <tbody> |
46 | !for i=1 to $sccnt |
44 | !for i=1 to $sccnt |
47 | !set l=!line $i of $sclasses |
45 | !set l=!line $i of $sclasses |
48 | !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 |
49 | !set supv=!item 9 of $l |
47 | !set supv=!item 9 of $l |
50 | !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def |
48 | !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def |
51 | 49 | ||
52 | $table_tr |
50 | $table_tr |
53 | <td> |
- | |
54 | $in |
51 | <td>$in<br />$cl</td> |
55 | </td> |
- | |
56 | !reset class_auth |
52 | !reset class_auth |
57 | !defread wimshome/log/classes/$code/.def |
53 | !defread wimshome/log/classes/$code/.def |
58 | !read adm/class/initclass $code,auth |
54 | !read adm/class/initclass $code,auth |
59 | !if $class_auth isitemof $auth_method_list and $(class_$(class_auth)_auth)!=$empty |
55 | !if $class_auth isitemof $auth_method_list and $(class_$(class_auth)_auth)!=$empty |
60 | !read supervisor2.phtml |
56 | !read supervisor2.phtml |
61 | !else |
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> |
|
62 | <td> |
64 | <td> |
63 | !set wims_ref_class=wims_button |
65 | !set wims_ref_class=wims_button |
64 | !href module=$module&type= |
66 | !href module=$module&type=authsupervisor&class=$code $wims_name_Enter |
65 | </td> |
67 | </td> |
66 | !endif |
- | |
67 | <td>$supv</td> |
- | |
68 | < |
68 | </tr> |
69 | !set wims_ref_class=wims_button |
- | |
70 | !href module=$module&type=authsupervisor&class=$code $wims_name_Enter |
- | |
71 | </td></tr> |
- | |
72 | !next i |
69 | !next i |
73 | </tbody> |
70 | </tbody> |
74 | $table_end |
71 | $table_end |
75 | !read tablesort.phtml |
72 | !read tablesort.phtml |
76 | !endif |
73 | !endif |
Line 80... | Line 77... | ||
80 | $table_header |
77 | $table_header |
81 | !if $superclass_orig=$empty |
78 | !if $superclass_orig=$empty |
82 | <caption>$name_independantclass</caption> |
79 | <caption>$name_independantclass</caption> |
83 | <thead> |
80 | <thead> |
84 | $table_hdtr |
81 | $table_hdtr |
85 | <th scope="col">$wims_name_name</th> |
82 | <th scope="col">$wims_name_name</th> |
86 | <th scope="col">$wims_name_nameteacher / $wims_name_Supervisor</th> |
83 | <th scope="col">$wims_name_nameteacher / $wims_name_Supervisor</th> |
87 | <th scope="col">$wims_name_action</th> |
84 | <th scope="col">$wims_name_action</th> |
88 | </tr> |
85 | </tr> |
89 | !else |
86 | !else |
90 | !if $splevel>1 |
87 | !if $splevel>1 |
91 | !set inst=!defof class_description in wimshome/log/classes/$superclass2/.def |
88 | !set inst=!defof class_description in wimshome/log/classes/$superclass2/.def |
92 | !else |
89 | !else |
93 | !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 |
94 | !endif |
91 | !endif |
95 | !default Name_level=$(CL_Name[2]) |
92 | !default Name_level=$(CL_Name[2]) |
96 | <caption>$Name_level / $inst |
93 | <caption>$Name_level / $inst |
97 | !if $class_type>2 |
94 | !if $class_type>2 |
98 | $ |
95 | $ |
99 | !set wims_ref_class=wims_button_help |
96 | !set wims_ref_class=wims_button_help |
100 | !href cmd=help&special_parm=$module_language/structure $wims_name_help |
97 | !href cmd=help&special_parm=$module_language/structure $wims_name_help |
101 | !endif |
98 | !endif |
102 | !if $splevel>1 |
99 | !if $splevel>1 |
103 | !href cmd=reply&type=$type&superclass2=$sparent&s_prog=0 $name_up |
100 | !href cmd=reply&type=$type&superclass2=$sparent&s_prog=0 $name_up |
104 | !endif |
101 | !endif |
105 | </caption> |
102 | </caption> |
106 | <thead> |
103 | <thead> |
107 | $table_hdtr |
104 | $table_hdtr |
108 | <th scope="col">$Name_level</th> |
105 | <th scope="col">$Name_level</th> |
109 | <th scope="col">$wims_name_nameteacher</th> |
106 | <th scope="col">$wims_name_nameteacher</th> |
110 | !if $superclass_orig!=$empty and $stype=4 |
107 | !if $superclass_orig!=$empty and $stype=4 |
111 | <th scope="col">+</th> |
- | |
112 | !if $ty!=1 and $splevel =1 |
- | |
113 | <th scope="col">+</th> |
108 | <th scope="col">+</th> |
- | 109 | !if $ty!=1 and $splevel =1 |
|
- | 110 | <th scope="col">+</th> |
|
- | 111 | !endif |
|
114 | !endif |
112 | !endif |
115 | !endif |
- | |
116 | </tr> |
113 | </tr> |
117 | !endif |
114 | !endif |
118 | </thead> |
115 | </thead> |
119 | <tbody> |
116 | <tbody> |
120 | !for i=1 to $clcnt |
117 | !for i=1 to $clcnt |
Line 169... | Line 166... | ||
169 | !endif |
166 | !endif |
170 | !set table_id=TABLE_program |
167 | !set table_id=TABLE_program |
171 | !set table_class=sortable |
168 | !set table_class=sortable |
172 | $table_header |
169 | $table_header |
173 | <caption>$Name_program ($inst) |
170 | <caption>$Name_program ($inst) |
174 | !if $splevel>1 |
171 | !if $splevel>1 |
175 | !href cmd=reply&type=$type&superclass2=$sparent&s_prog=0 $name_up |
172 | !href cmd=reply&type=$type&superclass2=$sparent&s_prog=0 $name_up |
176 | !endif |
173 | !endif |
177 | </caption> |
174 | </caption> |
178 | <thead> |
175 | <thead> |
179 | $table_hdtr |
176 | $table_hdtr |
180 | <th scope="col">$wims_name_level</th> |
177 | <th scope="col">$wims_name_level</th> |
181 | <th scope="col">$wims_name_nameteacher</th> |
178 | <th scope="col">$wims_name_nameteacher</th> |
Line 188... | Line 185... | ||
188 | !distribute items $l into code,expire,in,cl,la,ty,lv,pswd |
185 | !distribute items $l into code,expire,in,cl,la,ty,lv,pswd |
189 | !set supv=!item 9 of $l |
186 | !set supv=!item 9 of $l |
190 | !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def |
187 | !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def |
191 | $table_tr |
188 | $table_tr |
192 | <td> |
189 | <td> |
193 | !href module=$module&type=authsupervisor&class=$code $cl |
190 | !href module=$module&type=authsupervisor&class=$code $cl |
194 | </td> |
191 | </td> |
195 | <td>$supv</td> |
192 | <td>$supv</td> |
196 | !if $superclass_orig!=$empty and $stype=4 |
193 | !if $superclass_orig!=$empty and $stype=4 |
197 | <td> |
194 | <td> |
198 | !if $ty!=1 |
195 | !if $ty!=1 |