Rev 3049 | Rev 3908 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | |
1741 | bpr | 2 | !!!####language independant |
23 | reyssat | 3 | !read search.phtml |
4 | !if $overflow=yes |
||
5 | !exit |
||
6 | !endif |
||
7 | |||
8 | !if $clcnt+$sccnt+$directcnt<1 |
||
9 | !if $keyword=$empty |
||
1741 | bpr | 10 | $name_language |
11 | !href module=home&list=0 $wims_name_search |
||
23 | reyssat | 12 | !else |
1741 | bpr | 13 | $name_nofound |
23 | reyssat | 14 | !endif |
15 | !exit |
||
16 | !endif |
||
17 | |||
18 | !if $wims_user!=$empty |
||
19 | !read direct.phtml |
||
20 | !if $wims_user!=supervisor and $superclass=$empty |
||
21 | !exit |
||
22 | !endif |
||
23 | !else |
||
1741 | bpr | 24 | $name_text1 |
23 | reyssat | 25 | |
26 | !endif |
||
27 | |||
28 | !if $sccnt>0 |
||
3066 | bpr | 29 | <div class="emptyline"></div> |
30 | $table_header |
||
1741 | bpr | 31 | <caption>$name_portalandgroup</caption> |
32 | $table_hdtr$ |
||
2340 | bpr | 33 | <th>$wims_name_name</th><th colspan=2>$wims_name_action</th><th>$wims_name_Supervisor</th><th>$wims_name_Status</th> |
23 | reyssat | 34 | !for i=1 to $sccnt |
35 | !set l=!line $i of $sclasses |
||
36 | !distribute items $l into code,expire,inst,cl,la,ty,lv,pswd |
||
37 | !if $superclass=$empty |
||
1550 | bpr | 38 | !set show=$inst<br>$cl |
39 | !else |
||
40 | show=$inst |
||
23 | reyssat | 41 | !endif |
1204 | bpr | 42 | !set supv=!item 9 of $l |
23 | reyssat | 43 | !if $supv=$empty |
44 | !reset class_password |
||
45 | !defread wimshome/log/classes/$code/.def |
||
46 | !set supv=$class_supervisor |
||
47 | !set pswd=$class_password |
||
48 | !endif |
||
49 | |||
3049 | bpr | 50 | $table_tr<td align="center"> |
23 | reyssat | 51 | !!!href module=$module&type=authparticipant&class=$code |
52 | $show |
||
3049 | bpr | 53 | </td> <td align="center"> |
3066 | bpr | 54 | !set wims_ref_class=wims_button |
1741 | bpr | 55 | !href module=$module&type=authparticipant&class=$code $wims_name_Enter |
3049 | bpr | 56 | </td> <td align="center"> |
3066 | bpr | 57 | !set wims_ref_class=wims_button |
1550 | bpr | 58 | !href module=adm/class/reguser&class=$code&subclass=yes $name_register |
3049 | bpr | 59 | </td> <td align="center"> |
23 | reyssat | 60 | $supv |
3049 | bpr | 61 | </td> <td align="center"> |
23 | reyssat | 62 | !if $pswd=$empty |
1741 | bpr | 63 | $name_open |
23 | reyssat | 64 | !else |
1741 | bpr | 65 | $name_protected |
23 | reyssat | 66 | !endif |
67 | !next i |
||
68 | $table_end <p> |
||
69 | !endif |
||
70 | |||
71 | !if $clcnt>0 |
||
72 | <p>$table_header |
||
73 | !if $superclass=$empty |
||
1741 | bpr | 74 | <caption>$name_independantclass</caption> |
23 | reyssat | 75 | $table_hdtr |
2340 | bpr | 76 | <th>$wims_name_name</th><th colspan=2>$wims_name_action</th> |
1741 | bpr | 77 | <th>$wims_name_nameteacher</th><th>$wims_name_level</th><th>$wims_name_Status</th> |
23 | reyssat | 78 | !else |
79 | !if $splevel>1 |
||
80 | !set inst=!defof class_description in wimshome/log/classes/$superclass2/.def |
||
81 | !else |
||
82 | !set inst=!defof class_institution in wimshome/log/classes/$superclass/.def |
||
83 | !endif |
||
1741 | bpr | 84 | <caption>$Name_levels ($inst) |
23 | reyssat | 85 | !if $splevel>1 |
1743 | bpr | 86 | !href cmd=reply&type=$type&superclass2=$sparent $name_up |
23 | reyssat | 87 | !endif |
411 | bpr | 88 | </caption> |
23 | reyssat | 89 | $table_hdtr |
2340 | bpr | 90 | <th>$wims_name_name</th><th colspan=2>$wims_name_action</th> |
1741 | bpr | 91 | <th>$wims_name_nameteacher</th><th>$wims_name_level</th><th>$wims_name_Status</th> |
23 | reyssat | 92 | !if $superclass!=$empty and $stype=4 |
93 | <th>+</th> |
||
94 | !endif |
||
95 | !endif |
||
96 | !for i=1 to $clcnt |
||
97 | !set l=!line $i of $classes |
||
98 | !distribute items $l into code,expire,inst,cl,la,ty,lv,pswd |
||
1204 | bpr | 99 | !set supv=!item 9 of $l |
23 | reyssat | 100 | !if $supv=$empty |
101 | !reset class_password |
||
102 | !defread wimshome/log/classes/$code/.def |
||
103 | !set lv=$class_level |
||
104 | !set supv=$class_supervisor |
||
105 | !set pswd=$class_password |
||
106 | !endif |
||
107 | !distribute char $lv into l_,y_ |
||
108 | |||
109 | !if $superclass=$empty |
||
110 | !set show=$inst <br>$cl |
||
111 | !else |
||
112 | !set show=$cl |
||
113 | !endif |
||
3049 | bpr | 114 | $table_tr<td align="center"> |
23 | reyssat | 115 | $show |
3049 | bpr | 116 | </td><td align="center"> |
3066 | bpr | 117 | !set wims_ref_class=wims_button |
1741 | bpr | 118 | !href module=$module&type=authparticipant&class=$code $wims_name_Enter |
3049 | bpr | 119 | </td> <td align="center"> |
23 | reyssat | 120 | !if $splevel=$empty or $splevel=2 |
3066 | bpr | 121 | !set wims_ref_class=wims_button |
1550 | bpr | 122 | !href module=adm/class/reguser&class=$code $name_register |
23 | reyssat | 123 | !else |
1550 | bpr | 124 | <font color=grey>$name_register</font> |
23 | reyssat | 125 | !endif |
3049 | bpr | 126 | </td><td align="center"> |
23 | reyssat | 127 | $supv |
3049 | bpr | 128 | </td><td align="center">$(wims_name_n_$l_)<br>$name_year $y_</td> |
129 | <td align="center"> |
||
23 | reyssat | 130 | !if $pswd=$empty |
1741 | bpr | 131 | $name_open |
23 | reyssat | 132 | !else |
1741 | bpr | 133 | $name_protected |
23 | reyssat | 134 | !endif |
135 | </td> |
||
136 | !if $superclass!=$empty and $stype=4 |
||
137 | <td> |
||
138 | !if $ty!=1 |
||
139 | !href cmd=reply&type=$type&superclass2=$code $sousclasses |
||
140 | !else |
||
141 | - |
||
142 | !endif |
||
143 | !endif |
||
144 | !next i |
||
145 | $table_end <p> |
||
146 | !endif |
||
147 | |||
148 |