Rev 10605 | Rev 12534 | 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 |
28 | $table_header |
||
5601 | obado | 29 | |
1741 | bpr | 30 | <caption>$name_portalandgroup</caption> |
5828 | bpr | 31 | $table_hdtr<th rowspan="2">$wims_name_name</th><th>$wims_name_teacher</th><th colspan="2">$wims_name_nameteacher/$wims_name_Supervisor</th></tr> |
5831 | bpr | 32 | $table_hdtr<th>$wims_name_action</th><th>$wims_name_name</th><th>$wims_name_action</th></tr> |
5168 | guerimand | 33 | !! <th colspan="2">$wims_name_Supervisor</th></tr> |
23 | reyssat | 34 | !for i=1 to $sccnt |
35 | !set l=!line $i of $sclasses |
||
36 | !distribute items $l into code,expire,in,cl,la,ty,lv,pswd |
||
1204 | bpr | 37 | !set supv=!item 9 of $l |
23 | reyssat | 38 | !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def |
10164 | bpr | 39 | |
23 | reyssat | 40 | $table_tr |
5894 | bpr | 41 | <td> |
6235 | bpr | 42 | $in<br />$cl |
5168 | guerimand | 43 | </td> |
5028 | bpr | 44 | !reset class_auth |
5071 | bpr | 45 | !defread wimshome/log/classes/$code/.def |
5028 | bpr | 46 | !read adm/class/initclass $code,auth |
47 | !if $class_auth isitemof $auth_method_list and $(class_$(class_auth)_auth)!=$empty |
||
48 | !read supervisor2.phtml |
||
49 | !else |
||
5894 | bpr | 50 | <td> |
5168 | guerimand | 51 | !set wims_ref_class=wims_button |
52 | !href module=$module&type=authparticipant&class=$code $wims_name_Enter |
||
23 | reyssat | 53 | </td> |
10164 | bpr | 54 | !endif |
5894 | bpr | 55 | <td>$supv</td> |
56 | <td> |
||
5168 | guerimand | 57 | !set wims_ref_class=wims_button |
58 | !href module=$module&type=authsupervisor&class=$code $wims_name_Enter |
||
5800 | bpr | 59 | </td></tr> |
10164 | bpr | 60 | !next i |
23 | reyssat | 61 | $table_end |
62 | !endif |
||
411 | bpr | 63 | !if $clcnt>0 and $s_prog!=1 |
1741 | bpr | 64 | $table_header |
10770 | bpr | 65 | !if $superclass_orig=$empty |
1741 | bpr | 66 | <caption>$name_independantclass</caption> |
2340 | bpr | 67 | $table_hdtr<th>$wims_name_name</th><th>$wims_name_nameteacher / $wims_name_Supervisor</th> |
5831 | bpr | 68 | <th>$wims_name_action</th></tr> |
23 | reyssat | 69 | !else |
70 | !if $splevel>1 |
||
71 | !set inst=!defof class_description in wimshome/log/classes/$superclass2/.def |
||
72 | !else |
||
10770 | bpr | 73 | !set inst=!defof class_institution in wimshome/log/classes/$superclass_orig/.def |
23 | reyssat | 74 | !endif |
1741 | bpr | 75 | !default Name_level=$(CL_Name[2]) |
76 | <caption>$Name_level / $inst |
||
77 | !if $class_type>2 |
||
10605 | bpr | 78 | $ |
3066 | bpr | 79 | !set wims_ref_class=wims_button_help |
80 | !href cmd=help&special_parm=$module_language/structure $wims_name_help |
||
1741 | bpr | 81 | !endif |
411 | bpr | 82 | !if $splevel>1 |
1743 | bpr | 83 | !href cmd=reply&type=$type&superclass2=$sparent&s_prog=0 $name_up |
411 | bpr | 84 | !endif |
85 | </caption> |
||
1741 | bpr | 86 | $table_hdtr<th>$Name_level</th><th>$wims_name_nameteacher</th> |
10770 | bpr | 87 | !if $superclass_orig!=$empty and $stype=4 |
411 | bpr | 88 | <th>+</th> |
89 | !if $ty!=1 and $splevel =1 |
||
90 | <th>+</th> |
||
91 | !endif |
||
92 | !endif |
||
5894 | bpr | 93 | </tr> |
411 | bpr | 94 | !endif |
95 | !for i=1 to $clcnt |
||
96 | !set l=!line $i of $classes |
||
97 | !distribute items $l into code,expire,in,cl,la,ty,lv,pswd |
||
1204 | bpr | 98 | !set supv=!item 9 of $l |
411 | bpr | 99 | !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def |
10164 | bpr | 100 | |
411 | bpr | 101 | $table_tr |
10770 | bpr | 102 | !if $superclass_orig=$empty |
6235 | bpr | 103 | <td>$in<br />$cl</td> |
411 | bpr | 104 | !else |
5894 | bpr | 105 | <td> |
411 | bpr | 106 | !href module=$module&type=authsupervisor&class=$code $cl |
107 | </td> |
||
108 | !endif |
||
5894 | bpr | 109 | <td>$supv</td> |
10770 | bpr | 110 | !if $superclass_orig!=$empty and $stype=4 |
5894 | bpr | 111 | <td> |
411 | bpr | 112 | !if $ty!=1 |
5063 | bpr | 113 | !set wims_ref_class=wims_button |
411 | bpr | 114 | !href cmd=reply&type=$type&superclass2=$code&s_prog=0 $sousclasses |
115 | !else |
||
116 | - |
||
117 | !endif |
||
118 | </td> |
||
119 | !if $ty!=1 and $splevel =1 |
||
5894 | bpr | 120 | <td> |
5063 | bpr | 121 | !set wims_ref_class=wims_button |
411 | bpr | 122 | !href cmd=reply&type=$type&superclass2=$code&s_prog=1 $name_program |
123 | </td> |
||
124 | !endif |
||
125 | !endif |
||
10770 | bpr | 126 | !if $superclass_orig=$empty |
5894 | bpr | 127 | <td> |
3066 | bpr | 128 | !set wims_ref_class=wims_button |
1741 | bpr | 129 | !href module=$module&type=authsupervisor&class=$code $wims_name_Enter |
411 | bpr | 130 | </td> |
5800 | bpr | 131 | !endif |
132 | </tr> |
||
411 | bpr | 133 | !next i |
134 | $table_end |
||
491 | bpr | 135 | !else |
411 | bpr | 136 | !!#####################program |
137 | !if $clcnt_pr>0 |
||
23 | reyssat | 138 | !if $splevel>1 |
411 | bpr | 139 | !set inst=!defof class_description in wimshome/log/classes/$superclass2/.def |
140 | !else |
||
10770 | bpr | 141 | !set inst=!defof class_institution in wimshome/log/classes/$superclass_orig/.def |
23 | reyssat | 142 | !endif |
411 | bpr | 143 | $table_header |
1741 | bpr | 144 | <caption>$Name_program ($inst) |
411 | bpr | 145 | !if $splevel>1 |
1743 | bpr | 146 | !href cmd=reply&type=$type&superclass2=$sparent&s_prog=0 $name_up |
23 | reyssat | 147 | !endif |
411 | bpr | 148 | </caption> |
1741 | bpr | 149 | $table_hdtr<th>$wims_name_level</th><th>$wims_name_nameteacher</th><th>+</th> |
411 | bpr | 150 | !for i=1 to $clcnt_pr |
151 | !set l=!line $i of $classes_pr |
||
152 | !distribute items $l into code,expire,in,cl,la,ty,lv,pswd |
||
1204 | bpr | 153 | !set supv=!item 9 of $l |
10164 | bpr | 154 | !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def |
411 | bpr | 155 | $table_tr |
5894 | bpr | 156 | <td> |
411 | bpr | 157 | !href module=$module&type=authsupervisor&class=$code $cl |
158 | </td> |
||
5894 | bpr | 159 | <td>$supv</td> |
10770 | bpr | 160 | !if $superclass_orig!=$empty and $stype=4 |
5894 | bpr | 161 | <td> |
411 | bpr | 162 | !if $ty!=1 |
5063 | bpr | 163 | !set wims_ref_class=wims_button |
411 | bpr | 164 | !href cmd=reply&type=$type&superclass2=$code&s_prog=0 $sousclasses |
165 | !else |
||
166 | - |
||
167 | !endif |
||
5800 | bpr | 168 | </td> |
411 | bpr | 169 | !endif |
5800 | bpr | 170 | </td></tr> |
411 | bpr | 171 | !next i |
172 | $table_end |
||
23 | reyssat | 173 | !endif |
491 | bpr | 174 | !endif |
23 | reyssat | 175 | !else |
10770 | bpr | 176 | !if $class_type=$empty and $superclass_orig=$empty and $keyword=$empty |
1741 | bpr | 177 | ($name_language2) |
1777 | bpr | 178 | !else |
5105 | bpr | 179 | !if $clcnt=0 and $keyword=$empty |
1741 | bpr | 180 | ($name_noavailable) |
411 | bpr | 181 | !endif |
23 | reyssat | 182 | !endif |
183 | !endif |
||
5601 | obado | 184 | |
185 | </div> |