Rev 2604 | Rev 3066 | 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 |
||
29 | <p>$table_header |
||
1741 | bpr | 30 | <caption>$name_portalandgroup</caption> |
31 | $table_hdtr$ |
||
2340 | bpr | 32 | <th>$wims_name_name</th><th colspan=2>$wims_name_action</th><th>$wims_name_Supervisor</th><th>$wims_name_Status</th> |
23 | reyssat | 33 | !for i=1 to $sccnt |
34 | !set l=!line $i of $sclasses |
||
35 | !distribute items $l into code,expire,inst,cl,la,ty,lv,pswd |
||
36 | !if $superclass=$empty |
||
1550 | bpr | 37 | !set show=$inst<br>$cl |
38 | !else |
||
39 | show=$inst |
||
23 | reyssat | 40 | !endif |
1204 | bpr | 41 | !set supv=!item 9 of $l |
23 | reyssat | 42 | !if $supv=$empty |
43 | !reset class_password |
||
44 | !defread wimshome/log/classes/$code/.def |
||
45 | !set supv=$class_supervisor |
||
46 | !set pswd=$class_password |
||
47 | !endif |
||
48 | |||
3049 | bpr | 49 | $table_tr<td align="center"> |
23 | reyssat | 50 | !!!href module=$module&type=authparticipant&class=$code |
51 | $show |
||
3049 | bpr | 52 | </td> <td align="center"> |
1741 | bpr | 53 | !href module=$module&type=authparticipant&class=$code $wims_name_Enter |
3049 | bpr | 54 | </td> <td align="center"> |
1550 | bpr | 55 | !href module=adm/class/reguser&class=$code&subclass=yes $name_register |
3049 | bpr | 56 | </td> <td align="center"> |
23 | reyssat | 57 | $supv |
3049 | bpr | 58 | </td> <td align="center"> |
23 | reyssat | 59 | !if $pswd=$empty |
1741 | bpr | 60 | $name_open |
23 | reyssat | 61 | !else |
1741 | bpr | 62 | $name_protected |
23 | reyssat | 63 | !endif |
64 | !next i |
||
65 | $table_end <p> |
||
66 | !endif |
||
67 | |||
68 | !if $clcnt>0 |
||
69 | <p>$table_header |
||
70 | !if $superclass=$empty |
||
1741 | bpr | 71 | <caption>$name_independantclass</caption> |
23 | reyssat | 72 | $table_hdtr |
2340 | bpr | 73 | <th>$wims_name_name</th><th colspan=2>$wims_name_action</th> |
1741 | bpr | 74 | <th>$wims_name_nameteacher</th><th>$wims_name_level</th><th>$wims_name_Status</th> |
23 | reyssat | 75 | !else |
76 | !if $splevel>1 |
||
77 | !set inst=!defof class_description in wimshome/log/classes/$superclass2/.def |
||
78 | !else |
||
79 | !set inst=!defof class_institution in wimshome/log/classes/$superclass/.def |
||
80 | !endif |
||
1741 | bpr | 81 | <caption>$Name_levels ($inst) |
23 | reyssat | 82 | !if $splevel>1 |
1743 | bpr | 83 | !href cmd=reply&type=$type&superclass2=$sparent $name_up |
23 | reyssat | 84 | !endif |
411 | bpr | 85 | </caption> |
23 | reyssat | 86 | $table_hdtr |
2340 | bpr | 87 | <th>$wims_name_name</th><th colspan=2>$wims_name_action</th> |
1741 | bpr | 88 | <th>$wims_name_nameteacher</th><th>$wims_name_level</th><th>$wims_name_Status</th> |
23 | reyssat | 89 | !if $superclass!=$empty and $stype=4 |
90 | <th>+</th> |
||
91 | !endif |
||
92 | !endif |
||
93 | !for i=1 to $clcnt |
||
94 | !set l=!line $i of $classes |
||
95 | !distribute items $l into code,expire,inst,cl,la,ty,lv,pswd |
||
1204 | bpr | 96 | !set supv=!item 9 of $l |
23 | reyssat | 97 | !if $supv=$empty |
98 | !reset class_password |
||
99 | !defread wimshome/log/classes/$code/.def |
||
100 | !set lv=$class_level |
||
101 | !set supv=$class_supervisor |
||
102 | !set pswd=$class_password |
||
103 | !endif |
||
104 | !distribute char $lv into l_,y_ |
||
105 | |||
106 | !if $superclass=$empty |
||
107 | !set show=$inst <br>$cl |
||
108 | !else |
||
109 | !set show=$cl |
||
110 | !endif |
||
3049 | bpr | 111 | $table_tr<td align="center"> |
23 | reyssat | 112 | $show |
3049 | bpr | 113 | </td><td align="center"> |
1741 | bpr | 114 | !href module=$module&type=authparticipant&class=$code $wims_name_Enter |
3049 | bpr | 115 | </td> <td align="center"> |
23 | reyssat | 116 | !if $splevel=$empty or $splevel=2 |
1550 | bpr | 117 | !href module=adm/class/reguser&class=$code $name_register |
23 | reyssat | 118 | !else |
1550 | bpr | 119 | <font color=grey>$name_register</font> |
23 | reyssat | 120 | !endif |
3049 | bpr | 121 | </td><td align="center"> |
23 | reyssat | 122 | $supv |
3049 | bpr | 123 | </td><td align="center">$(wims_name_n_$l_)<br>$name_year $y_</td> |
124 | <td align="center"> |
||
23 | reyssat | 125 | !if $pswd=$empty |
1741 | bpr | 126 | $name_open |
23 | reyssat | 127 | !else |
1741 | bpr | 128 | $name_protected |
23 | reyssat | 129 | !endif |
130 | </td> |
||
131 | !if $superclass!=$empty and $stype=4 |
||
132 | <td> |
||
133 | !if $ty!=1 |
||
134 | !href cmd=reply&type=$type&superclass2=$code $sousclasses |
||
135 | !else |
||
136 | - |
||
137 | !endif |
||
138 | !endif |
||
139 | !next i |
||
140 | $table_end <p> |
||
141 | !endif |
||
142 | |||
143 |