Subversion Repositories wimsdev

Rev

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

  1. !if ($wims_sheet>0 or P isin $wims_sheet) and $cmd=reply and $module_score!=$empty \
  2.   and $wims_listexo!=$empty
  3.   <div id="wims_nextinsheet">
  4.     !if $(wims_listexo[1])!=swork
  5.       !let p=!positionof item $wims_exo in $wims_listexo
  6.       !if $wims_exo!=$(wims_listexo[1])
  7.         !set wims_ref_class=wims_button
  8.         !href module=home&directworksheet=$wims_sheet.$(wims_listexo[$p-1]) $wims_name_previousseries
  9.       !endif
  10.       !if $wims_exo!=$(wims_listexo[-1])
  11.         !set wims_ref_class=wims_button
  12.         !href module=home&directworksheet=$wims_sheet.$($wims_listexo[$p+1]) $wims_name_nextseries
  13.       !endif
  14.     !else
  15.       !let p=!positionof item $wims_sheet.$wims_exo in $wims_listexo
  16.       !if $wims_sheet.$wims_exo!=$(wims_listexo[2])
  17.         !set wims_ref_class=wims_button
  18.         !href module=home&directworksheet=$(wims_listexo[$p-1]) $wims_name_previousseries
  19.       !endif
  20.       !if $wims_sheet.$wims_exo!=$(wims_listexo[-1])
  21.         !set wims_ref_class=wims_button
  22.         !href module=home&directworksheet=$($wims_listexo[$p+1]) $wims_name_nextseries
  23.       !endif
  24.     !endif
  25.   </div>
  26. !endif
  27.