Subversion Repositories wimsdev

Rev

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

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