Rev 411 | Rev 1550 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | |
2 | !read search.phtml |
||
3 | !if $overflow=yes |
||
4 | !exit |
||
5 | !endif |
||
6 | |||
7 | !if $clcnt+$sccnt+$directcnt<1 |
||
8 | !if $keyword=$empty |
||
9 | Il n'y a pas de classe en langue française sur ce site. Cherchez-vous une |
||
10 | classe d'une |
||
11 | !href module=home&list=0 autre langue |
||
12 | ? |
||
13 | !else |
||
14 | Aucune classe correspondant à votre recherche. |
||
15 | !endif |
||
16 | !exit |
||
17 | !endif |
||
18 | |||
19 | !if $wims_user!=$empty |
||
20 | !read direct.phtml |
||
21 | !if $wims_user!=supervisor and $superclass=$empty |
||
22 | !exit |
||
23 | !endif |
||
24 | !else |
||
25 | Choisissez la ligne correspondant à la classe ou l'établissement |
||
26 | qui vous concerne. |
||
27 | <p> |
||
28 | Si vous n'êtes pas encore inscrit, cliquer sur <tt>S'inscrire</tt> |
||
29 | (si le statut est <tt>protégé</tt>, vous avez besoin d'un mot de passe |
||
30 | que vous obtiendrez auprès de l'enseignant ou de l'administrateur). |
||
31 | |||
32 | <p>Sinon, cliquez <tt>Entrer</tt> pour y entrer. |
||
33 | !endif |
||
34 | |||
35 | !if $sccnt>0 |
||
36 | <p>$table_header |
||
37 | <caption>Etablissements et groupements de classes</caption> |
||
38 | $table_hdtr |
||
39 | <th>Nom<th colspan=2>Elève</th><th>Administrateur</th><th>Statut</th> |
||
40 | !for i=1 to $sccnt |
||
41 | !set l=!line $i of $sclasses |
||
42 | !distribute items $l into code,expire,inst,cl,la,ty,lv,pswd |
||
43 | !if $superclass=$empty |
||
44 | !set show=$inst |
||
45 | !else |
||
46 | !set show=$cl |
||
47 | !endif |
||
1204 | bpr | 48 | !set supv=!item 9 of $l |
23 | reyssat | 49 | !if $supv=$empty |
50 | !reset class_password |
||
51 | !defread wimshome/log/classes/$code/.def |
||
52 | !set supv=$class_supervisor |
||
53 | !set pswd=$class_password |
||
54 | !endif |
||
55 | |||
56 | $table_tr<td align=center> |
||
57 | !!!href module=$module&type=authparticipant&class=$code |
||
58 | $show |
||
59 | </td> <td align=center> |
||
60 | !href module=$module&type=authparticipant&class=$code Entrer |
||
61 | </td> <td align=center> |
||
62 | !href module=adm/class/reguser&class=$code&subclass=yes S'inscrire |
||
63 | </td> <td align=center> |
||
64 | $supv |
||
65 | </td> <td align=center> |
||
66 | !if $pswd=$empty |
||
67 | ouvert |
||
68 | !else |
||
69 | protégé |
||
70 | !endif |
||
71 | !next i |
||
72 | $table_end <p> |
||
73 | !endif |
||
74 | |||
75 | !if $clcnt>0 |
||
76 | <p>$table_header |
||
77 | !if $superclass=$empty |
||
78 | <caption>Classes indépendantes</caption> |
||
79 | $table_hdtr |
||
80 | <th>Nom de classe</th><th colspan=2>Elève</th> |
||
81 | <th>Enseignant</th><th>Niveau</th><th>Statut</th> |
||
82 | !else |
||
83 | !if $splevel>1 |
||
84 | !set inst=!defof class_description in wimshome/log/classes/$superclass2/.def |
||
85 | !else |
||
86 | !set inst=!defof class_institution in wimshome/log/classes/$superclass/.def |
||
87 | !endif |
||
88 | <caption>$Name_levels dans $inst |
||
89 | !if $splevel>1 |
||
90 | !href cmd=reply&type=$type&superclass2=$sparent Up |
||
91 | !endif |
||
411 | bpr | 92 | </caption> |
23 | reyssat | 93 | $table_hdtr |
94 | <th>Nom de classe</th><th colspan=2>Elève</th> |
||
95 | <th>Enseignant</th><th>Niveau</th><th>Statut</th> |
||
96 | !if $superclass!=$empty and $stype=4 |
||
97 | <th>+</th> |
||
98 | !endif |
||
99 | !endif |
||
100 | !for i=1 to $clcnt |
||
101 | !set l=!line $i of $classes |
||
102 | !distribute items $l into code,expire,inst,cl,la,ty,lv,pswd |
||
1204 | bpr | 103 | !set supv=!item 9 of $l |
23 | reyssat | 104 | !if $supv=$empty |
105 | !reset class_password |
||
106 | !defread wimshome/log/classes/$code/.def |
||
107 | !set lv=$class_level |
||
108 | !set supv=$class_supervisor |
||
109 | !set pswd=$class_password |
||
110 | !endif |
||
111 | !distribute char $lv into l_,y_ |
||
112 | |||
113 | !if $superclass=$empty |
||
114 | !set show=$inst <br>$cl |
||
115 | !else |
||
116 | !set show=$cl |
||
117 | !endif |
||
118 | $table_tr<td align=center> |
||
119 | $show |
||
120 | </td><td align=center> |
||
121 | !href module=$module&type=authparticipant&class=$code Entrer |
||
122 | </td> <td align=center> |
||
123 | !if $splevel=$empty or $splevel=2 |
||
124 | !href module=adm/class/reguser&class=$code S'inscrire |
||
125 | !else |
||
126 | <font color=grey>S'inscrire</font> |
||
127 | !endif |
||
128 | </td><td align=center> |
||
129 | $supv |
||
130 | </td><td align=center>$(n_$l_)<br>année $y_</td> |
||
131 | <td align=center> |
||
132 | !if $pswd=$empty |
||
133 | ouvert |
||
134 | !else |
||
135 | protégé |
||
136 | !endif |
||
137 | </td> |
||
138 | !if $superclass!=$empty and $stype=4 |
||
139 | <td> |
||
140 | !if $ty!=1 |
||
141 | !href cmd=reply&type=$type&superclass2=$code $sousclasses |
||
142 | !else |
||
143 | - |
||
144 | !endif |
||
145 | !endif |
||
146 | !next i |
||
147 | $table_end <p> |
||
148 | !endif |
||
149 | |||
150 |