Subversion Repositories wimsdev

Rev

Rev 6146 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1.  
  2. !if $prelogcnt<1
  3.   $name_noexercise
  4.   !exit
  5. !endif
  6.  
  7. $name_listexercise:
  8.  
  9. !read tabletheme
  10.  
  11. $table_header
  12. $table_hdtr
  13.   <th class="small">$name_number</th>
  14.   <th class="small">$name_Steps</th>
  15.   <th>$wims_name_Score1</th>
  16.   <th></th>
  17.   <th>$wims_name_title</th></tr>
  18. !for i=1 to $prelogcnt
  19.   !set l=!word $i of $prelog3
  20.   !set e=!item -1 of $l
  21.   !set c=!recordcnt wimshome/$wims_sesdir/exolog.$logsheet.$e
  22.   !set s=!getdef w_module_score in wimshome/$wims_sesdir/exolog.$logsheet.$e
  23.   !default s=-
  24.   !set V_=!record $e of wimshome/log/classes/$wims_class/sheets/.sheet$logsheet
  25.   !distribute lines $V_ into a,a,a,a,T_,D_
  26.     $table_tr<td>$e</td>
  27.     <td>$c</td>
  28.     <td>$s</td>
  29.     <td class="small">
  30.     !href cmd=reply&job=log&logsheet=$logsheet&logexo=$e&checkuser=$wims_user $wims_name_tosave
  31.     </td>
  32.     <td>$T_ <span class="small">$D_</span></td>
  33.     </tr>
  34. !next i
  35. $table_end
  36.