Subversion Repositories wimsdev

Rev

Rev 2522 | Rev 3064 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2522 Rev 3049
1
 
1
 
2
$table_hdtr
2
$table_hdtr
3
 <th rowspan=2>$wims_name_name</th>
3
 <th rowspan=2>$wims_name_name</th>
4
 <th colspan=2>$name_declaration<small>
4
 <th colspan=2>$name_declaration<small>
5
  !href cmd=help&special_parm=neibordecl $wims_name_help
5
  !href cmd=help&special_parm=neibordecl $wims_name_help
6
 </small></th>
6
 </small></th>
7
 <th rowspan=2>$name_sharing</b><small>
7
 <th rowspan=2>$name_sharing</b><small>
8
  !href cmd=help&special_parm=share $wims_name_help
8
  !href cmd=help&special_parm=share $wims_name_help
9
  </small>
9
  </small>
10
 </th>
10
 </th>
11
 <th rowspan=2>$wims_name_nameteacher</th>
11
 <th rowspan=2>$wims_name_nameteacher</th>
12
 <th rowspan=2>$wims_name_language</th>
12
 <th rowspan=2>$wims_name_language</th>
13
</tr>
13
</tr>
14
$table_hdtr
14
$table_hdtr
15
 <th align=center><small>$name_byyou</small></td>
15
 <th align="center"><small>$name_byyou</small></td>
16
 <th align=center><small>$name_other</small></td>
16
 <th align="center"><small>$name_other</small></td>
17
</tr>
17
</tr>
18
!for i in $clst
18
!for i in $clst
19
 !set D_=!defof class_institution\
19
 !set D_=!defof class_institution\
20
class_description\
20
class_description\
21
class_lang\
21
class_lang\
22
class_supervisor in wimshome/log/classes/$i/.def
22
class_supervisor in wimshome/log/classes/$i/.def
23
 !distribute lines $D_ into i_,d_,l_,s_
23
 !distribute lines $D_ into i_,d_,l_,s_
24
 !set t_=0
24
 !set t_=0
25
 !if $i isitemof $n_sup
25
 !if $i isitemof $n_sup
26
  !advance t_
26
  !advance t_
27
 !endif
27
 !endif
28
 !if $i isitemof $n_part
28
 !if $i isitemof $n_part
29
  !set t_=$[$t_+2]
29
  !set t_=$[$t_+2]
30
 !endif
30
 !endif
31
 $table_tr
31
 $table_tr
32
 <td align=center>
32
 <td align="center">
33
  !href cmd=reply&job2=def&nei=$i&nlevel=$t_ $i_<br>$d_
33
  !href cmd=reply&job2=def&nei=$i&nlevel=$t_ $i_<br>$d_
34
 </td>
34
 </td>
35
 <td align=center>$(n_n$t_)</td>
35
 <td align="center">$(n_n$t_)</td>
36
  !set t_=0
36
  !set t_=0
37
  !set D_=!defof n_sup\
37
  !set D_=!defof n_sup\
38
n_part\
38
n_part\
39
sharable_all\
39
sharable_all\
40
sharing_all in wimshome/log/classes/$i/neighbors
40
sharing_all in wimshome/log/classes/$i/neighbors
41
  !distribute line $D_ into sup,part,nsharable,nsharing
41
  !distribute line $D_ into sup,part,nsharable,nsharing
42
  !if $wims_class isitemof $sup or all isitemof $sup
42
  !if $wims_class isitemof $sup or all isitemof $sup
43
   !advance t_
43
   !advance t_
44
  !endif
44
  !endif
45
  !if $wims_class isitemof $part or all isitemof $part
45
  !if $wims_class isitemof $part or all isitemof $part
46
   !set t_=$[$t_+2]
46
   !set t_=$[$t_+2]
47
  !endif
47
  !endif
48
  <td align=center>$(n_n$t_)</td>
48
  <td align="center">$(n_n$t_)</td>
49
  !if $i notitemof $sharable_all,$sharing_all and\
49
  !if $i notitemof $sharable_all,$sharing_all and\
50
        $wims_class notitemof $nsharable,$nsharing
50
        $wims_class notitemof $nsharable,$nsharing
51
  <td align=center>---</td>
51
  <td align="center">---</td>
52
 !else
52
 !else
53
  <td>
53
  <td>
54
  !if $i isitemof $sharing_all or $wims_class isitemof $nsharing
54
  !if $i isitemof $sharing_all or $wims_class isitemof $nsharing
55
   !if $i isitemof $sharing_all and $wims_class isitemof $nsharing
55
   !if $i isitemof $sharing_all and $wims_class isitemof $nsharing
56
    $name_actif
56
    $name_actif
57
   !else
57
   !else
58
    !if $i isitemof $sharing_all
58
    !if $i isitemof $sharing_all
59
      $name_share1
59
      $name_share1
60
    !else
60
    !else
61
      $name_share2
61
      $name_share2
62
    !endif
62
    !endif
63
   !endif
63
   !endif
64
  !else
64
  !else
65
   !if $i isitemof $sharable_all and $wims_class isitemof $nsharable
65
   !if $i isitemof $sharable_all and $wims_class isitemof $nsharable
66
     $name_permit1
66
     $name_permit1
67
   !else
67
   !else
68
    !if $i isitemof $sharable_all
68
    !if $i isitemof $sharable_all
69
     $name_permit2
69
     $name_permit2
70
    !else
70
    !else
71
     $name_permit3
71
     $name_permit3
72
    !endif
72
    !endif
73
   !endif
73
   !endif
74
  !endif
74
  !endif
75
  </td>
75
  </td>
76
 !endif
76
 !endif
77
 <td align=center><small>$s_</small></td>
77
 <td align="center"><small>$s_</small></td>
78
 <td align=center>$l_</td>
78
 <td align="center">$l_</td>
79
</tr>
79
</tr>
80
!next i
80
!next i
81
 
81
 
82
 
82