Subversion Repositories wimsdev

Rev

Rev 3091 | Rev 7770 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

!distribute line $wims_read_parm into t0_,t1_,t2_
!if livret notin $module
 !if $class_scorecolor=$empty
  !set class_scorecolor=!defof class_scorecolor in wimshome/log/classes/$wims_class/.def
  !default class_scorecolor=,red,red,red,orange,orange,orange,yellow,yellow,green,green
 !endif
 !set style_note="background-color: $(class_scorecolor[$t0_+1]);font-weight:bold;text-align:center;border;solid 1px;"
!else
 !let t_=!charcnt $t0_
 !if $t_>1 or ($t_=1 and $t0_>0)
  !let t_=$t0_+0.0000001
 !else
  !let t_=0
 !endif
 !set style_note="background-color: $(wims_scorecolor[$[ceil(min($t_,10))+1]]);font-weight:bold;text-align:center;border;solid 1px;"
!!  $t2_
  !if $wims_scoreview>=0 and $t_>0
   !set output_note=$[rint(($t0_)*10^($wims_scoreview))/10^($wims_scoreview)]
  !else
   !set output_note= 
  !endif
!!  $t1_
!! </td>
!endif

Generated by GNU Enscript 1.6.5.90.