Subversion Repositories wimsdev

Rev

Rev 11781 | Rev 12638 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11781 Rev 12534
Line 19... Line 19...
19
  !!goto end
19
  !!goto end
20
 !endif
20
 !endif
21
!else
21
!else
22
  $name_text1
22
  $name_text1
23
!endif
23
!endif
-
 
24
 
-
 
25
<script src="scripts/js/tablesort.js"></script>
24
 
26
 
25
!set super_mixed_auth=!defof class_mixed_external_auth in wimshome/log/classes/$wims_superclass/.def
27
!set super_mixed_auth=!defof class_mixed_external_auth in wimshome/log/classes/$wims_superclass/.def
26
!if $sccnt>0 and $super_mixed_auth!=2
28
!if $sccnt>0 and $super_mixed_auth!=2
-
 
29
 !set table_id=TABLE_portal
-
 
30
 !set table_class=sortable
27
 $table_header
31
 $table_header
28
 <caption>$name_portalandgroup</caption>
32
 <caption>$name_portalandgroup</caption>
-
 
33
 <thead>
29
 $table_hdtr
34
 $table_hdtr
-
 
35
   <th scope="col">$wims_name_name</th>
30
 <th>$wims_name_name</th><th>$wims_name_action</th><th>$wims_name_Supervisor</th><th>$wims_name_Status</th></tr>
36
   <th scope="col" data-sort-method="none">$wims_name_action</th>
-
 
37
   <th scope="col">$wims_name_Supervisor</th>
-
 
38
   <th scope="col">$wims_name_Status</th>
-
 
39
 </tr>
-
 
40
 </thead>
-
 
41
 <tbody>
31
 !for i=1 to $sccnt
42
 !for i=1 to $sccnt
32
  !set l=!line $i of $sclasses
43
  !set l=!line $i of $sclasses
33
  !distribute items $l into code,expire,inst,cl,la,ty,lv,pswd
44
  !distribute items $l into code,expire,inst,cl,la,ty,lv,pswd
34
  !!!if $sclass=$empty
45
  !!!if $sclass=$empty
35
   !set show=$inst<br />$cl
46
   !set show=$inst<br />$cl
36
  !!!else
47
  !!!else
37
  !! !set show=$inst
48
  !! !set show=$inst
38
  !!!endif
49
  !!!endif
39
  !set supv=!item 9 of $l
50
  !set supv=!item 9 of $l
40
  !if $supv=$empty
51
  !if $supv=$empty
41
   !reset class_password
52
   !reset class_password
42
   !defread wimshome/log/classes/$code/.def
53
   !defread wimshome/log/classes/$code/.def
43
   !set supv=$class_supervisor
54
   !set supv=$class_supervisor
44
   !set pswd=$class_password
55
   !set pswd=$class_password
45
  !endif
56
  !endif
46
  $table_tr<td>
57
  $table_tr<td>
47
  !!!href module=$module&type=authparticipant&class=$code
58
  !!!href module=$module&type=authparticipant&class=$code
48
  $show
59
  $show
Line 67... Line 78...
67
  !else
78
  !else
68
   $name_protected
79
   $name_protected
69
  !endif
80
  !endif
70
</td></tr>
81
</td></tr>
71
 !next i
82
 !next i
-
 
83
 </tbody>
72
 $table_end
84
 $table_end
73
!endif
85
!endif
74
 
86
 
75
!if $clcnt>0 and $super_mixed_auth!=2
87
!if $clcnt>0 and $super_mixed_auth!=2
-
 
88
 !set table_id=TABLE_cls
-
 
89
 !set table_class=sortable
76
$table_header
90
 $table_header
77
 !if $superclass_orig=$empty
91
 !if $superclass_orig=$empty
78
  <caption>$name_independantclass</caption>
92
  <caption>$name_independantclass</caption>
-
 
93
  <thead>
79
  $table_hdtr
94
  $table_hdtr
80
  <th>$wims_name_name</th><th>$wims_name_action</th>
95
  <th scope="col">$wims_name_name</th>
81
  <th>$wims_name_nameteacher</th><th>$wims_name_level</th><th>$wims_name_Status</th>
96
  <th scope="col" data-sort-method="none">$wims_name_action</th>
-
 
97
  <th scope="col">$wims_name_nameteacher</th>
-
 
98
  <th scope="col">$wims_name_level</th>
-
 
99
  <th scope="col">$wims_name_Status</th>
82
 !else
100
 !else
83
   !if $splevel>1
101
   !if $splevel>1
84
    !set inst=!defof class_description in wimshome/log/classes/$superclass2/.def
102
    !set inst=!defof class_description in wimshome/log/classes/$superclass2/.def
85
   !else
103
   !else
86
    !set inst=!defof class_institution in wimshome/log/classes/$superclass_orig/.def
104
    !set inst=!defof class_institution in wimshome/log/classes/$superclass_orig/.def
Line 89... Line 107...
89
   !if $splevel>1
107
   !if $splevel>1
90
    !href cmd=reply&type=$type&superclass2=$sparent $name_up
108
    !href cmd=reply&type=$type&superclass2=$sparent $name_up
91
   !endif
109
   !endif
92
   </caption>
110
   </caption>
93
   $table_hdtr
111
   $table_hdtr
94
   <th>$wims_name_name</th><th>$wims_name_action</th>
112
    <th scope="col">$wims_name_name</th>
95
   <th>$wims_name_nameteacher</th><th>$wims_name_level</th><th>$wims_name_Status</th>
113
    <th scope="col" data-sort-method="none">$wims_name_action</th>
-
 
114
    <th scope="col">$wims_name_nameteacher</th>
-
 
115
    <th scope="col">$wims_name_level</th>
-
 
116
    <th scope="col">$wims_name_Status</th>
96
   !if $superclass_orig!=$empty and $stype=4
117
    !if $superclass_orig!=$empty and $stype=4
97
    <th>+</th>
118
      <th scope="col">+</th>
98
   !endif
119
    !endif
99
 !endif
120
 !endif
100
 </tr>
121
 </tr>
-
 
122
 </thead>
101
 
123
 <tbody>
102
 !!! put it var.proc ??
124
 !!! put it var.proc ??
103
  !set directlist_=!replace internal , by $ ; $ $ in $directlist
125
  !set directlist_=!replace internal , by $ ; $ $ in $directlist
104
 !for i=1 to $clcnt
126
 !for i=1 to $clcnt
105
  !set l=!line $i of $classes
127
  !set l=!line $i of $classes
106
  !distribute items $l into code,expire,inst,cl,la,ty,lv,pswd
128
  !distribute items $l into code,expire,inst,cl,la,ty,lv,pswd
Line 146... Line 168...
146
  <td>
168
  <td>
147
  !if $pswd=$empty
169
  !if $pswd=$empty
148
   $name_open
170
   $name_open
149
  !else
171
  !else
150
   $name_protected
172
   $name_protected
151
  !endif
173
  !endif
152
  </td>
174
  </td>
153
   !if $superclass_orig!=$empty and $stype=4
175
   !if $superclass_orig!=$empty and $stype=4
154
    <td>
176
    <td>
155
    !if $ty!=1 and $splevel!=3
177
    !if $ty!=1 and $splevel!=3
156
    !set wims_ref_class=wims_button
178
    !set wims_ref_class=wims_button
157
     !href cmd=reply&type=$type&superclass2=$code $sousclasses
179
     !href cmd=reply&type=$type&superclass2=$code $sousclasses
158
    !else
180
    !else
159
    -
181
    -
160
    !endif
182
    !endif
161
    </td>
183
    </td>
162
   !endif
184
   !endif
163
   </tr>
185
   </tr>
164
:endloop
186
:endloop
165
 !next i
187
 !next i
-
 
188
 </tbody>
166
 $table_end
189
 $table_end
167
!endif
190
!endif
-
 
191
<script>
-
 
192
  !if $super_mixed_auth!=2
-
 
193
    !if $sccnt>0
-
 
194
      new Tablesort(document.getElementById('TABLE_portal'));
-
 
195
    !endif
-
 
196
    !if $clcnt>0
-
 
197
      new Tablesort(document.getElementById('TABLE_cls'));
-
 
198
    !endif
168
 
199
  !endif
-
 
200
</script>
169
:end
201
:end
170
</div>
202
</div>