Subversion Repositories wimsdev

Rev

Rev 14073 | Rev 14374 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14073 Rev 14074
Line 517... Line 517...
517
!if $cnt_glob>0
517
!if $cnt_glob>0
518
  !distribute item $[rint(100*$mean_auto/max(1,$cnt_auto))/100],\
518
  !distribute item $[rint(100*$mean_auto/max(1,$cnt_auto))/100],\
519
   $[rint(100*$mean_tea/max(1,$cnt_tea))/100],\
519
   $[rint(100*$mean_tea/max(1,$cnt_tea))/100],\
520
   $[rint(100*$mean_glob/max(1,$cnt_glob))/100] into m_auto,m_tea,m_glob
520
   $[rint(100*$mean_glob/max(1,$cnt_glob))/100] into m_auto,m_tea,m_glob
521
  </tr>
521
  </tr>
522
  $table_hdtr<th>$name_posAverage</th>
522
  $table_hdtr<th>$name_posAverage ($cnt_glob)</th>
523
  !if $manual>0
523
  !if $manual>0
524
    !if $m_glob>0
524
    !if $m_glob>0
525
      !read adm/class/colors $[ceil($m_glob*10/$scoremax)]
525
      !read adm/class/colors $[ceil($m_glob*10/$scoremax)]
526
        <td style=$style_note>$m_glob
526
        <td style=$style_note>$m_glob
527
    !else
527
    !else