Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
4344 guerimand 1
!!##!! language independant
2
!read adm/class/classname.phtml $wims_classname\
3
$wims_institutionname
4
 
5
!read adm/title.phtml 1\
6
$classname\
7
$livret_title\
8
$name_job
9
 
6235 bpr 10
<hr style="width:40%" />
5900 bpr 11
<ul>
6374 bpr 12
 <li>$name_title_comp : <span style="color:green;" class="bold">$(title_$comp)</span>.</li>
12429 bpr 13
!let eold=!record $palier of wimshome/log/classes/$wims_class/livret/.comp$comp
14
!distribute line $eold into name,eold
6374 bpr 15
 <li>$name_n_Palier $palier : <span style="color:green;" class="bold">$name</span>.</li>
12429 bpr 16
!if $eold!=
9563 guerimand 17
  !read proc/legend.proc legend
12481 guerimand 18
  !set table_id=TABLE_user
19
  !set table_class=sortable
4344 guerimand 20
  $table_header
12481 guerimand 21
  <thead>
22
  $table_hdtr
23
    <th scope="col">$wims_name_Sheet</th>
24
    <th scope="col">$wims_name_Exercise</th>
25
    <th scope="col">$wims_name_title</th>
26
    <th scope="col">&nbsp;</th>
27
  </tr>
28
  </thead>
29
  <tbody>
12429 bpr 30
  !for l in $eold
4344 guerimand 31
    !let t=!replace internal . by , in $l
32
    !if $(t[1]) notitemof $livret_nonactivesheet
12429 bpr 33
      $table_tr
6374 bpr 34
       <td>
12429 bpr 35
      !if $(t[1]) isitemof $nssheets
36
        $(t[1])
37
      !else
38
        !href module=adm/sheet&sh=$(t[1]) $(t[1])
39
      !endif
40
      </td><td>
41
      !if $(t[1]) notitemof $nssheets
42
        !set ex=!record $(t[2]) of wimshome/log/classes/$wims_class/sheets/.sheet$(t[1])
43
        !distribute lines $ex into di,pa,require,we,ti,de
44
        !if $(deps_$(l[1]))=$empty
15821 guerimand 45
!! TODO indiv : maybe problem with individualisation of sheet with techvar.
4344 guerimand 46
          !let requires=!getscorerequire sheet=$(t[1])
47
          !let scores=!getscore sheet=$(t[1])
48
          !let means=!getscoremean sheet=$(t[1])
49
          !readproc adm/mkdepsheet.proc $(t[1])
50
          !let deps_$(t[1])=$deps
12429 bpr 51
        !endif
52
        !set dep=!row $(t[2]) of $(deps_$(t[1]))
53
        !set dep=!trim $dep
54
        !if $dep=$empty
4344 guerimand 55
          !href module=$di&cmd=new&worksheet=$(t[1])&$pa $(t[2])
12429 bpr 56
        !else
4344 guerimand 57
          $(t[2])
58
        !endif
12429 bpr 59
      !else
60
        $(t[2])
61
      !endif
62
      </td><td>
63
      !line $(t[2]) of $(sheet$(t[1]))
64
      </td>
65
      !let t=!word $(t[2]) of $(score[$(t[1]);])
66
      !readproc adm/class/colors $t,livret
12481 guerimand 67
      <td style=$style_note data-sort="$value_note">
12429 bpr 68
       $output_note
69
      </td>
4344 guerimand 70
      </tr>
12429 bpr 71
    !endif
72
  !next l
12481 guerimand 73
  </tbody>
12429 bpr 74
  $table_end
12638 obado 75
  !read tablesort.phtml
12429 bpr 76
!endif
4344 guerimand 77
 </li>
78
</ul>
12481 guerimand 79
 
4344 guerimand 80
!set wims_menu_items=!append line back2,1,cmd=renew\
81
to $wims_menu_items