Rev 12638 | Rev 12720 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
5619 | bpr | 1 | <div class="wims_content"> |
23 | reyssat | 2 | |
3 | !read search.phtml |
||
4 | !if $clcnt+$sccnt<1 and $keyword!=$empty |
||
6118 | obado | 5 | <p class="notfound"> |
1741 | bpr | 6 | $name_nofound |
5800 | bpr | 7 | </p> |
23 | reyssat | 8 | !endif |
9 | !if $wims_user!=$empty |
||
10 | !read direct.phtml |
||
11 | !if $wims_user!=supervisor and $supervisable!=yes |
||
12 | !exit |
||
13 | !endif |
||
14 | !else |
||
2238 | bpr | 15 | !read lang/supervisor.phtml.$modu_lang |
23 | reyssat | 16 | !endif |
17 | |||
18 | !if $overflow=yes |
||
19 | !exit |
||
20 | !endif |
||
21 | |||
22 | !if $clcnt+$sccnt>0 |
||
23 | !if $wims_user=$empty |
||
2218 | bpr | 24 | $name_supervisor_text |
23 | reyssat | 25 | !endif |
2238 | bpr | 26 | |
23 | reyssat | 27 | !if $sccnt>0 |
12534 | guerimand | 28 | !set table_id=TABLE_portal |
29 | !set table_class=sortable |
||
23 | reyssat | 30 | $table_header |
1741 | bpr | 31 | <caption>$name_portalandgroup</caption> |
12534 | guerimand | 32 | <thead> |
12719 | bpr | 33 | <tr> |
12534 | guerimand | 34 | <th></th> |
35 | <th>$wims_name_teacher</th> |
||
36 | <th colspan="2">$wims_name_nameteacher/$wims_name_Supervisor</th> |
||
37 | </tr> |
||
12719 | bpr | 38 | $table_hdtr |
12534 | guerimand | 39 | <th scope="col">$wims_name_name</th> |
40 | <th scope="col" data-sort-method="none">$wims_name_action</th> |
||
41 | <th scope="col">$wims_name_name</th> |
||
42 | <th scope="col" data-sort-method="none">$wims_name_action</th> |
||
43 | </tr> |
||
44 | </thead> |
||
45 | <tbody> |
||
23 | reyssat | 46 | !for i=1 to $sccnt |
47 | !set l=!line $i of $sclasses |
||
48 | !distribute items $l into code,expire,in,cl,la,ty,lv,pswd |
||
1204 | bpr | 49 | !set supv=!item 9 of $l |
23 | reyssat | 50 | !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def |
10164 | bpr | 51 | |
23 | reyssat | 52 | $table_tr |
5894 | bpr | 53 | <td> |
6235 | bpr | 54 | $in<br />$cl |
5168 | guerimand | 55 | </td> |
5028 | bpr | 56 | !reset class_auth |
5071 | bpr | 57 | !defread wimshome/log/classes/$code/.def |
5028 | bpr | 58 | !read adm/class/initclass $code,auth |
59 | !if $class_auth isitemof $auth_method_list and $(class_$(class_auth)_auth)!=$empty |
||
60 | !read supervisor2.phtml |
||
61 | !else |
||
5894 | bpr | 62 | <td> |
5168 | guerimand | 63 | !set wims_ref_class=wims_button |
64 | !href module=$module&type=authparticipant&class=$code $wims_name_Enter |
||
23 | reyssat | 65 | </td> |
10164 | bpr | 66 | !endif |
5894 | bpr | 67 | <td>$supv</td> |
68 | <td> |
||
5168 | guerimand | 69 | !set wims_ref_class=wims_button |
70 | !href module=$module&type=authsupervisor&class=$code $wims_name_Enter |
||
5800 | bpr | 71 | </td></tr> |
10164 | bpr | 72 | !next i |
12534 | guerimand | 73 | </tbody> |
23 | reyssat | 74 | $table_end |
12638 | obado | 75 | !read tablesort.phtml |
23 | reyssat | 76 | !endif |
411 | bpr | 77 | !if $clcnt>0 and $s_prog!=1 |
12534 | guerimand | 78 | !set table_id=TABLE_cls |
79 | !set table_class=sortable |
||
1741 | bpr | 80 | $table_header |
12534 | guerimand | 81 | <thead> |
10770 | bpr | 82 | !if $superclass_orig=$empty |
1741 | bpr | 83 | <caption>$name_independantclass</caption> |
12534 | guerimand | 84 | $table_hdtr |
85 | <th scope="col">$wims_name_name</th> |
||
86 | <th scope="col">$wims_name_nameteacher / $wims_name_Supervisor</th> |
||
87 | <th scope="col">$wims_name_action</th> |
||
88 | </tr> |
||
23 | reyssat | 89 | !else |
90 | !if $splevel>1 |
||
91 | !set inst=!defof class_description in wimshome/log/classes/$superclass2/.def |
||
92 | !else |
||
10770 | bpr | 93 | !set inst=!defof class_institution in wimshome/log/classes/$superclass_orig/.def |
23 | reyssat | 94 | !endif |
1741 | bpr | 95 | !default Name_level=$(CL_Name[2]) |
96 | <caption>$Name_level / $inst |
||
97 | !if $class_type>2 |
||
10605 | bpr | 98 | $ |
3066 | bpr | 99 | !set wims_ref_class=wims_button_help |
100 | !href cmd=help&special_parm=$module_language/structure $wims_name_help |
||
1741 | bpr | 101 | !endif |
411 | bpr | 102 | !if $splevel>1 |
1743 | bpr | 103 | !href cmd=reply&type=$type&superclass2=$sparent&s_prog=0 $name_up |
411 | bpr | 104 | !endif |
105 | </caption> |
||
12534 | guerimand | 106 | $table_hdtr |
107 | <th scope="col">$Name_level</th> |
||
108 | <th scope="col">$wims_name_nameteacher</th> |
||
109 | !if $superclass_orig!=$empty and $stype=4 |
||
110 | <th scope="col">+</th> |
||
111 | !if $ty!=1 and $splevel =1 |
||
112 | <th scope="col">+</th> |
||
113 | !endif |
||
114 | !endif |
||
115 | </tr> |
||
411 | bpr | 116 | !endif |
12534 | guerimand | 117 | </thead> |
118 | <tbody> |
||
411 | bpr | 119 | !for i=1 to $clcnt |
120 | !set l=!line $i of $classes |
||
121 | !distribute items $l into code,expire,in,cl,la,ty,lv,pswd |
||
1204 | bpr | 122 | !set supv=!item 9 of $l |
411 | bpr | 123 | !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def |
10164 | bpr | 124 | |
411 | bpr | 125 | $table_tr |
10770 | bpr | 126 | !if $superclass_orig=$empty |
6235 | bpr | 127 | <td>$in<br />$cl</td> |
411 | bpr | 128 | !else |
5894 | bpr | 129 | <td> |
411 | bpr | 130 | !href module=$module&type=authsupervisor&class=$code $cl |
131 | </td> |
||
132 | !endif |
||
5894 | bpr | 133 | <td>$supv</td> |
10770 | bpr | 134 | !if $superclass_orig!=$empty and $stype=4 |
5894 | bpr | 135 | <td> |
411 | bpr | 136 | !if $ty!=1 |
5063 | bpr | 137 | !set wims_ref_class=wims_button |
411 | bpr | 138 | !href cmd=reply&type=$type&superclass2=$code&s_prog=0 $sousclasses |
139 | !else |
||
140 | - |
||
141 | !endif |
||
142 | </td> |
||
143 | !if $ty!=1 and $splevel =1 |
||
5894 | bpr | 144 | <td> |
5063 | bpr | 145 | !set wims_ref_class=wims_button |
411 | bpr | 146 | !href cmd=reply&type=$type&superclass2=$code&s_prog=1 $name_program |
147 | </td> |
||
148 | !endif |
||
149 | !endif |
||
10770 | bpr | 150 | !if $superclass_orig=$empty |
5894 | bpr | 151 | <td> |
3066 | bpr | 152 | !set wims_ref_class=wims_button |
1741 | bpr | 153 | !href module=$module&type=authsupervisor&class=$code $wims_name_Enter |
411 | bpr | 154 | </td> |
5800 | bpr | 155 | !endif |
156 | </tr> |
||
411 | bpr | 157 | !next i |
12534 | guerimand | 158 | </tbody> |
411 | bpr | 159 | $table_end |
12638 | obado | 160 | !read tablesort.phtml |
491 | bpr | 161 | !else |
411 | bpr | 162 | !!#####################program |
163 | !if $clcnt_pr>0 |
||
23 | reyssat | 164 | !if $splevel>1 |
411 | bpr | 165 | !set inst=!defof class_description in wimshome/log/classes/$superclass2/.def |
166 | !else |
||
10770 | bpr | 167 | !set inst=!defof class_institution in wimshome/log/classes/$superclass_orig/.def |
23 | reyssat | 168 | !endif |
12534 | guerimand | 169 | !set table_id=TABLE_program |
170 | !set table_class=sortable |
||
411 | bpr | 171 | $table_header |
12534 | guerimand | 172 | <thead> |
1741 | bpr | 173 | <caption>$Name_program ($inst) |
411 | bpr | 174 | !if $splevel>1 |
1743 | bpr | 175 | !href cmd=reply&type=$type&superclass2=$sparent&s_prog=0 $name_up |
23 | reyssat | 176 | !endif |
411 | bpr | 177 | </caption> |
12534 | guerimand | 178 | $table_hdtr |
179 | <th scope="col">$wims_name_level</th> |
||
180 | <th scope="col">$wims_name_nameteacher</th> |
||
181 | <th scope="col">+</th> |
||
182 | </tr> |
||
183 | </thead> |
||
184 | <tbody> |
||
411 | bpr | 185 | !for i=1 to $clcnt_pr |
186 | !set l=!line $i of $classes_pr |
||
187 | !distribute items $l into code,expire,in,cl,la,ty,lv,pswd |
||
1204 | bpr | 188 | !set supv=!item 9 of $l |
10164 | bpr | 189 | !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def |
411 | bpr | 190 | $table_tr |
5894 | bpr | 191 | <td> |
411 | bpr | 192 | !href module=$module&type=authsupervisor&class=$code $cl |
193 | </td> |
||
5894 | bpr | 194 | <td>$supv</td> |
10770 | bpr | 195 | !if $superclass_orig!=$empty and $stype=4 |
5894 | bpr | 196 | <td> |
411 | bpr | 197 | !if $ty!=1 |
5063 | bpr | 198 | !set wims_ref_class=wims_button |
411 | bpr | 199 | !href cmd=reply&type=$type&superclass2=$code&s_prog=0 $sousclasses |
200 | !else |
||
201 | - |
||
202 | !endif |
||
5800 | bpr | 203 | </td> |
411 | bpr | 204 | !endif |
5800 | bpr | 205 | </td></tr> |
411 | bpr | 206 | !next i |
12534 | guerimand | 207 | </tbody> |
411 | bpr | 208 | $table_end |
12638 | obado | 209 | !read tablesort.phtml |
23 | reyssat | 210 | !endif |
491 | bpr | 211 | !endif |
12534 | guerimand | 212 | |
23 | reyssat | 213 | !else |
10770 | bpr | 214 | !if $class_type=$empty and $superclass_orig=$empty and $keyword=$empty |
1741 | bpr | 215 | ($name_language2) |
1777 | bpr | 216 | !else |
5105 | bpr | 217 | !if $clcnt=0 and $keyword=$empty |
1741 | bpr | 218 | ($name_noavailable) |
411 | bpr | 219 | !endif |
23 | reyssat | 220 | !endif |
221 | !endif |
||
5601 | obado | 222 | |
223 | </div> |