Subversion Repositories wimsdev

Rev

Rev 956 | Rev 1721 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
23 reyssat 1
 
956 guerimand 2
$table_hdtr
3
 <th rowspan=2>Nom de classe</th>
4
 <th colspan=2>Déclaration<br>voisinage</b><small>
1464 bpr 5
  !href cmd=help&special_parm=neibordecl $wims_name_help
956 guerimand 6
 </small></th>
7
 <th rowspan=2>Partage de ressource</b><small>
1464 bpr 8
  !href cmd=help&special_parm=share $wims_name_help
956 guerimand 9
  </small>
10
 </th>
11
 <th rowspan=2>Enseignant</th>
12
 <th rowspan=2>Langue</th>
13
</tr>
14
$table_hdtr
15
 <td align=center><small>par vous</small></td>
16
 <td align=center><small>par l'autre</small></td>
17
</tr>
23 reyssat 18
!for i in $clst
19
 !set D_=!defof class_institution\
20
class_description\
21
class_lang\
22
class_supervisor in wimshome/log/classes/$i/.def
23
 !distribute lines $D_ into i_,d_,l_,s_
24
 !set t_=0
25
 !if $i isitemof $n_sup
26
  !advance t_
27
 !endif
28
 !if $i isitemof $n_part
29
  !set t_=$[$t_+2]
30
 !endif
956 guerimand 31
 $table_tr
32
 <td align=center>
33
  !href cmd=reply&job2=def&nei=$i&nlevel=$t_ $i_<br>$d_
34
 </td>
35
 <td align=center>$(n_n$t_)</td>
36
  !set t_=0
37
  !set D_=!defof n_sup\
23 reyssat 38
n_part\
39
sharable_all\
40
sharing_all in wimshome/log/classes/$i/neighbors
956 guerimand 41
  !distribute line $D_ into sup,part,nsharable,nsharing
42
  !if $wims_class isitemof $sup or all isitemof $sup
43
   !advance t_
44
  !endif
45
  !if $wims_class isitemof $part or all isitemof $part
46
   !set t_=$[$t_+2]
47
  !endif
48
  <td align=center>$(n_n$t_)</td>
49
  !if $i notitemof $sharable_all,$sharing_all and\
23 reyssat 50
        $wims_class notitemof $nsharable,$nsharing
956 guerimand 51
  <td align=center>---</td>
23 reyssat 52
 !else
53
  <td>
54
  !if $i isitemof $sharing_all or $wims_class isitemof $nsharing
55
   !if $i isitemof $sharing_all and $wims_class isitemof $nsharing
56
    Partages mutuels actifs.
57
   !else
58
    !if $i isitemof $sharing_all
59
     Vous partagez ses ressources.
60
    !else
61
     Partage vos ressources.
62
    !endif
63
   !endif
64
  !else
65
   !if $i isitemof $sharable_all and $wims_class isitemof $nsharable
66
    Permissions mutuelles de partage.
67
   !else
68
    !if $i isitemof $sharable_all
69
     A le droit de partager vos ressources.
70
    !else
71
     Vous permet de partager ses ressources.
72
    !endif
73
   !endif
74
  !endif
956 guerimand 75
  </td>
23 reyssat 76
 !endif
956 guerimand 77
 <td align=center><small>$s_</small></td>
78
 <td align=center>$l_</td>
79
</tr>
23 reyssat 80
!next i
81