Subversion Repositories wimsdev

Rev

Rev 2522 | Rev 3064 | 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
1855 bpr 3
 <th rowspan=2>$wims_name_name</th>
4
 <th colspan=2>$name_declaration<small>
1464 bpr 5
  !href cmd=help&special_parm=neibordecl $wims_name_help
956 guerimand 6
 </small></th>
1855 bpr 7
 <th rowspan=2>$name_sharing</b><small>
1464 bpr 8
  !href cmd=help&special_parm=share $wims_name_help
956 guerimand 9
  </small>
10
 </th>
2374 bpr 11
 <th rowspan=2>$wims_name_nameteacher</th>
1721 bpr 12
 <th rowspan=2>$wims_name_language</th>
956 guerimand 13
</tr>
14
$table_hdtr
3049 bpr 15
 <th align="center"><small>$name_byyou</small></td>
16
 <th align="center"><small>$name_other</small></td>
956 guerimand 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
3049 bpr 32
 <td align="center">
956 guerimand 33
  !href cmd=reply&job2=def&nei=$i&nlevel=$t_ $i_<br>$d_
34
 </td>
3049 bpr 35
 <td align="center">$(n_n$t_)</td>
956 guerimand 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
3049 bpr 48
  <td align="center">$(n_n$t_)</td>
956 guerimand 49
  !if $i notitemof $sharable_all,$sharing_all and\
23 reyssat 50
        $wims_class notitemof $nsharable,$nsharing
3049 bpr 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
1855 bpr 56
    $name_actif
23 reyssat 57
   !else
58
    !if $i isitemof $sharing_all
1855 bpr 59
      $name_share1
23 reyssat 60
    !else
1855 bpr 61
      $name_share2
23 reyssat 62
    !endif
63
   !endif
64
  !else
65
   !if $i isitemof $sharable_all and $wims_class isitemof $nsharable
1855 bpr 66
     $name_permit1
23 reyssat 67
   !else
68
    !if $i isitemof $sharable_all
1855 bpr 69
     $name_permit2
23 reyssat 70
    !else
1855 bpr 71
     $name_permit3
23 reyssat 72
    !endif
73
   !endif
1855 bpr 74
  !endif
956 guerimand 75
  </td>
23 reyssat 76
 !endif
3049 bpr 77
 <td align="center"><small>$s_</small></td>
78
 <td align="center">$l_</td>
956 guerimand 79
</tr>
23 reyssat 80
!next i
81