Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
1479 bpr 1
!!##!! language independant
2
!read adm/title.phtml 1\
3
$wims_classname - $wims_institutionname\
4
$livret_title
1319 guerimand 5
 
6
!if $usercnt==0
1479 bpr 7
 $name_noyetparticipant
1319 guerimand 8
 !exit
9
!endif
10
!if $livret_nbcomp==0
1479 bpr 11
 $name_no_competence
1319 guerimand 12
 !exit
13
!endif
14
!default note=0
15
<p>
16
$table_header
17
 $table_hdtr
1479 bpr 18
   <th rowspan=2>$wims_name_lastname, $wims_name_firstname</th>
1319 guerimand 19
   !for k=1 to $livret_nbcomp
20
    <th valign=center colspan=$(nbpalier_$k)>
1479 bpr 21
     !href cmd=renew&job=addcomp&comp=$k $name_competence $k
1319 guerimand 22
     <a onmouseover="Tip('$(title_$k)',$tooltip_parm)"> ? </a>
23
    </th>
24
   !next k
25
 </tr>
26
 $table_hdtr
27
  !for k=1 to $livret_nbcomp
28
   !for j=1 to $(nbpalier_$k)
29
    !let desc=!record $j of wimshome/log/classes/$wims_class/livret/.comp$k
30
    !let desc=!line 1 of $desc
1479 bpr 31
    <th valign=center><a onmouseover="Tip('$desc',$tooltip_parm)">$name_n_palier $j</a></th>
1319 guerimand 32
   !next j
33
  !next k
34
 </tr>    
35
 !for i=1 to $usercnt
36
  !set uu=!record $i of wimshome/log/classes/$wims_class/.userlist
37
  !distribute items $uu into lastname,firstname,uu
38
  $table_tr
39
   <td>
40
    !href cmd=reply&job=user&user=$uu $lastname,$firstname
41
   </td>
42
   !for k=1 to $livret_nbcomp
43
    !for j=1 to $(nbpalier_$k)
44
     !let t=!charcnt $(l_$(uu)_$(k)_$(j))
45
     !if $t>1
46
      !let note=$[rint($(l_$(uu)_$(k)_$(j)))]
47
     !else
48
      !let note=&nbsp;
49
     !endif
50
     <td align="center" style="background-color: $(livret_color[$note+1])">$note</td>
51
    !next j
52
   !next k
53
  </tr>
54
 !next i
55
$table_end
56