Subversion Repositories wimsdev

Rev

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

  1.  
  2. !if equalities iswordof $m_options or $laststep<1
  3.  !exit
  4. !endif
  5.  
  6. !readproc tabletheme
  7. <p>$table_header
  8. <caption>History of steps</caption>
  9. $table_hdtr<th>Step</th>
  10. !if $casecnt>1
  11.  <th>Case</th>
  12. !endif
  13. <th>Result</th><th></th>
  14. <th>Method</th>
  15. <th>Remarks</th></tr>
  16. !reset light1,light2
  17. !set hstart=$[max(1,$currstep-10)]
  18. !set hstop=$[min($laststep,$currstep+8)]
  19. !for i=$hstart to $hstop
  20.  !if $i=$currstep
  21.   !distribute item <font color="#9090C0">,</font> into light1,light2
  22.  !endif
  23.  $table_tr<td align="center" nowrap>$light1
  24.  $i
  25.  !if $status=waiting
  26.   <small>
  27.   !if $i<$currstep
  28.    !href cmd=reply&opt=newstep&gotostep=$i undo
  29.   !else
  30.    !href cmd=reply&opt=newstep&gotostep=$[$i+1] redo
  31.   !endif
  32.   </small>
  33.  !endif
  34. $light2</td>
  35.  !if $casecnt>1
  36.  !set c_=!item $i of $stepcases
  37.   <td align="center">$light1 \($c_) $light2</td>
  38.  !endif
  39.  <td align="center">$light1
  40.  !read deduc/putobject.phtml $i
  41. $light2</td><td></td><td>$light1
  42.  !line $i of $methods
  43. $light2</td>
  44. <td>$light1
  45. !reset R_
  46. !if $objisgoal=yes
  47.  Goal change.
  48. !endif
  49. !set t_=!char $i of $stepcounting
  50. !if $t_=0
  51.  Not counted for score.
  52.  !set R_=1
  53. !endif
  54. !if $R_!=1
  55.  &nbsp;
  56. !endif
  57. $light2</td>
  58. </tr>
  59. !next i
  60. $table_end<a id="last"></a>
  61.  
  62.  
  63.