Rev 2340 | Rev 3066 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2340 | Rev 3049 | ||
---|---|---|---|
1 | 1 | ||
2 | !read search.phtml |
2 | !read search.phtml |
3 | !if $clcnt+$sccnt<1 and $keyword!=$empty |
3 | !if $clcnt+$sccnt<1 and $keyword!=$empty |
4 | $name_nofound |
4 | $name_nofound |
5 | <p> |
5 | <p> |
6 | !endif |
6 | !endif |
7 | !if $wims_user!=$empty |
7 | !if $wims_user!=$empty |
8 | !read direct.phtml |
8 | !read direct.phtml |
9 | !if $wims_user!=supervisor and $supervisable!=yes |
9 | !if $wims_user!=supervisor and $supervisable!=yes |
10 | !exit |
10 | !exit |
11 | !endif |
11 | !endif |
12 | <p> |
12 | <p> |
13 | !else |
13 | !else |
14 | !read lang/supervisor.phtml.$modu_lang |
14 | !read lang/supervisor.phtml.$modu_lang |
15 | !endif |
15 | !endif |
16 | 16 | ||
17 | !if $overflow=yes |
17 | !if $overflow=yes |
18 | !exit |
18 | !exit |
19 | !endif |
19 | !endif |
20 | 20 | ||
21 | !if $clcnt+$sccnt>0 |
21 | !if $clcnt+$sccnt>0 |
22 | !if $wims_user=$empty |
22 | !if $wims_user=$empty |
23 | $name_supervisor_text |
23 | $name_supervisor_text |
24 | !endif |
24 | !endif |
25 | 25 | ||
26 | !if $sccnt>0 |
26 | !if $sccnt>0 |
27 | <p> |
27 | <p> |
28 | $table_header |
28 | $table_header |
29 | <caption>$name_portalandgroup</caption> |
29 | <caption>$name_portalandgroup</caption> |
30 | $table_hdtr<th>$wims_name_name</th><th colspan=2>$wims_name_action</th><th>$wims_name_nameteacher</th> |
30 | $table_hdtr<th>$wims_name_name</th><th colspan=2>$wims_name_action</th><th>$wims_name_nameteacher</th> |
31 | <th colspan=2>$wims_name_Supervisor</th></tr> |
31 | <th colspan=2>$wims_name_Supervisor</th></tr> |
32 | !for i=1 to $sccnt |
32 | !for i=1 to $sccnt |
33 | !set l=!line $i of $sclasses |
33 | !set l=!line $i of $sclasses |
34 | !distribute items $l into code,expire,in,cl,la,ty,lv,pswd |
34 | !distribute items $l into code,expire,in,cl,la,ty,lv,pswd |
35 | !set supv=!item 9 of $l |
35 | !set supv=!item 9 of $l |
36 | !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def |
36 | !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def |
37 | 37 | ||
38 | $table_tr |
38 | $table_tr |
39 | <td align="center"> |
39 | <td align="center"> |
40 | $in<br>$cl |
40 | $in<br>$cl |
41 | </td> |
41 | </td> |
42 | <td align=center> |
42 | <td align="center"> |
43 | !href module=$module&type=authparticipant&class=$code $wims_name_Enter |
43 | !href module=$module&type=authparticipant&class=$code $wims_name_Enter |
44 | </td> <td align=center> |
44 | </td> <td align="center"> |
45 | !href module=adm/class/reguser&class=$code $name_register |
45 | !href module=adm/class/reguser&class=$code $name_register |
46 | </td> |
46 | </td> |
47 | <td align=center>$supv</td> |
47 | <td align="center">$supv</td> |
48 | <td align=center> |
48 | <td align="center"> |
49 | !href module=$module&type=authsupervisor&class=$code $wims_name_Enter |
49 | !href module=$module&type=authsupervisor&class=$code $wims_name_Enter |
50 | </td> |
50 | </td> |
51 | !next i |
51 | !next i |
52 | $table_end |
52 | $table_end |
53 | !endif |
53 | !endif |
54 | !if $clcnt>0 and $s_prog!=1 |
54 | !if $clcnt>0 and $s_prog!=1 |
55 | <p> |
55 | <p> |
56 | $table_header |
56 | $table_header |
57 | !if $superclass=$empty |
57 | !if $superclass=$empty |
58 | <caption>$name_independantclass</caption> |
58 | <caption>$name_independantclass</caption> |
59 | $table_hdtr<th>$wims_name_name</th><th>$wims_name_nameteacher / $wims_name_Supervisor</th> |
59 | $table_hdtr<th>$wims_name_name</th><th>$wims_name_nameteacher / $wims_name_Supervisor</th> |
60 | <th>$wims_name_action</th> |
60 | <th>$wims_name_action</th> |
61 | !else |
61 | !else |
62 | !if $splevel>1 |
62 | !if $splevel>1 |
63 | !set inst=!defof class_description in wimshome/log/classes/$superclass2/.def |
63 | !set inst=!defof class_description in wimshome/log/classes/$superclass2/.def |
64 | !else |
64 | !else |
65 | !set inst=!defof class_institution in wimshome/log/classes/$superclass/.def |
65 | !set inst=!defof class_institution in wimshome/log/classes/$superclass/.def |
66 | !endif |
66 | !endif |
67 | !default Name_level=$(CL_Name[2]) |
67 | !default Name_level=$(CL_Name[2]) |
68 | <caption>$Name_level / $inst |
68 | <caption>$Name_level / $inst |
69 | !if $class_type>2 |
69 | !if $class_type>2 |
70 | <small> |
70 | <small> |
71 | !href cmd=help&special_parm=$module_language/structure [$wims_name_help] |
71 | !href cmd=help&special_parm=$module_language/structure [$wims_name_help] |
72 | </small> |
72 | </small> |
73 | !endif |
73 | !endif |
74 | !if $splevel>1 |
74 | !if $splevel>1 |
75 | !href cmd=reply&type=$type&superclass2=$sparent&s_prog=0 $name_up |
75 | !href cmd=reply&type=$type&superclass2=$sparent&s_prog=0 $name_up |
76 | !endif |
76 | !endif |
77 | </caption> |
77 | </caption> |
78 | $table_hdtr<th>$Name_level</th><th>$wims_name_nameteacher</th> |
78 | $table_hdtr<th>$Name_level</th><th>$wims_name_nameteacher</th> |
79 | !if $superclass!=$empty and $stype=4 |
79 | !if $superclass!=$empty and $stype=4 |
80 | <th>+</th> |
80 | <th>+</th> |
81 | !if $ty!=1 and $splevel =1 |
81 | !if $ty!=1 and $splevel =1 |
82 | <th>+</th> |
82 | <th>+</th> |
83 | !endif |
83 | !endif |
84 | !endif |
84 | !endif |
85 | !endif |
85 | !endif |
86 | !for i=1 to $clcnt |
86 | !for i=1 to $clcnt |
87 | !set l=!line $i of $classes |
87 | !set l=!line $i of $classes |
88 | !distribute items $l into code,expire,in,cl,la,ty,lv,pswd |
88 | !distribute items $l into code,expire,in,cl,la,ty,lv,pswd |
89 | !set supv=!item 9 of $l |
89 | !set supv=!item 9 of $l |
90 | !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def |
90 | !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def |
91 | 91 | ||
92 | $table_tr |
92 | $table_tr |
93 | !if $superclass=$empty |
93 | !if $superclass=$empty |
94 | <td align="center">$in<br>$cl</td> |
94 | <td align="center">$in<br>$cl</td> |
95 | !else |
95 | !else |
96 | <td align="center"> |
96 | <td align="center"> |
97 | !href module=$module&type=authsupervisor&class=$code $cl |
97 | !href module=$module&type=authsupervisor&class=$code $cl |
98 | </td> |
98 | </td> |
99 | !endif |
99 | !endif |
100 | <td align="center">$supv</td> |
100 | <td align="center">$supv</td> |
101 | !if $superclass!=$empty and $stype=4 |
101 | !if $superclass!=$empty and $stype=4 |
102 | <td> |
102 | <td> |
103 | !if $ty!=1 |
103 | !if $ty!=1 |
104 | !href cmd=reply&type=$type&superclass2=$code&s_prog=0 $sousclasses |
104 | !href cmd=reply&type=$type&superclass2=$code&s_prog=0 $sousclasses |
105 | !else |
105 | !else |
106 | - |
106 | - |
107 | !endif |
107 | !endif |
108 | </td> |
108 | </td> |
109 | !if $ty!=1 and $splevel =1 |
109 | !if $ty!=1 and $splevel =1 |
110 | <td> |
110 | <td> |
111 | !href cmd=reply&type=$type&superclass2=$code&s_prog=1 $name_program |
111 | !href cmd=reply&type=$type&superclass2=$code&s_prog=1 $name_program |
112 | </td> |
112 | </td> |
113 | !endif |
113 | !endif |
114 | !endif |
114 | !endif |
115 | !if $superclass=$empty |
115 | !if $superclass=$empty |
116 | <td align=center> |
116 | <td align="center"> |
117 | !href module=$module&type=authsupervisor&class=$code $wims_name_Enter |
117 | !href module=$module&type=authsupervisor&class=$code $wims_name_Enter |
118 | </td> |
118 | </td> |
119 | !endif |
119 | !endif |
120 | !next i |
120 | !next i |
121 | $table_end |
121 | $table_end |
122 | !else |
122 | !else |
123 | !!#####################program |
123 | !!#####################program |
124 | !if $clcnt_pr>0 |
124 | !if $clcnt_pr>0 |
125 | !if $splevel>1 |
125 | !if $splevel>1 |
126 | !set inst=!defof class_description in wimshome/log/classes/$superclass2/.def |
126 | !set inst=!defof class_description in wimshome/log/classes/$superclass2/.def |
127 | !else |
127 | !else |
128 | !set inst=!defof class_institution in wimshome/log/classes/$superclass/.def |
128 | !set inst=!defof class_institution in wimshome/log/classes/$superclass/.def |
129 | !endif |
129 | !endif |
130 | $table_header |
130 | $table_header |
131 | <caption>$Name_program ($inst) |
131 | <caption>$Name_program ($inst) |
132 | !if $splevel>1 |
132 | !if $splevel>1 |
133 | !href cmd=reply&type=$type&superclass2=$sparent&s_prog=0 $name_up |
133 | !href cmd=reply&type=$type&superclass2=$sparent&s_prog=0 $name_up |
134 | !endif |
134 | !endif |
135 | </caption> |
135 | </caption> |
136 | $table_hdtr<th>$wims_name_level</th><th>$wims_name_nameteacher</th><th>+</th> |
136 | $table_hdtr<th>$wims_name_level</th><th>$wims_name_nameteacher</th><th>+</th> |
137 | !for i=1 to $clcnt_pr |
137 | !for i=1 to $clcnt_pr |
138 | !set l=!line $i of $classes_pr |
138 | !set l=!line $i of $classes_pr |
139 | !distribute items $l into code,expire,in,cl,la,ty,lv,pswd |
139 | !distribute items $l into code,expire,in,cl,la,ty,lv,pswd |
140 | !set supv=!item 9 of $l |
140 | !set supv=!item 9 of $l |
141 | !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def |
141 | !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def |
142 | $table_tr |
142 | $table_tr |
143 | <td align="center"> |
143 | <td align="center"> |
144 | !href module=$module&type=authsupervisor&class=$code $cl |
144 | !href module=$module&type=authsupervisor&class=$code $cl |
145 | </td> |
145 | </td> |
146 | <td align="center">$supv</td> |
146 | <td align="center">$supv</td> |
147 | !if $superclass!=$empty and $stype=4 |
147 | !if $superclass!=$empty and $stype=4 |
148 | <td> |
148 | <td> |
149 | !if $ty!=1 |
149 | !if $ty!=1 |
150 | !href cmd=reply&type=$type&superclass2=$code&s_prog=0 $sousclasses |
150 | !href cmd=reply&type=$type&superclass2=$code&s_prog=0 $sousclasses |
151 | !else |
151 | !else |
152 | - |
152 | - |
153 | !endif |
153 | !endif |
154 | !endif |
154 | !endif |
155 | !next i |
155 | !next i |
156 | $table_end |
156 | $table_end |
157 | !endif |
157 | !endif |
158 | !endif |
158 | !endif |
159 | !else |
159 | !else |
160 | !if $class_type=$empty and $superclass=$empty |
160 | !if $class_type=$empty and $superclass=$empty |
161 | ($name_language2) |
161 | ($name_language2) |
162 | !else |
162 | !else |
163 | !if $clcnt=0 |
163 | !if $clcnt=0 |
164 | ($name_noavailable) |
164 | ($name_noavailable) |
165 | !endif |
165 | !endif |
166 | !endif |
166 | !endif |
167 | !endif |
167 | !endif |
168 | <p> |
168 | <p> |
169 | 169 | ||
170 | 170 |