Subversion Repositories wimsdev

Rev

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

  1. !set list_=
  2. !for k=1 to 2
  3.  !set n=!linecnt $(typelist$k)
  4.  !for j = 1 to $n
  5.    !set l=!line $j of $(typelist$k)
  6.    !set name=$(l[1])
  7.    !if | isin $name
  8.      !set name2=!replace internal | by $\
  9. $ in $name
  10.      !distribute lines $name2 into bidon,name
  11.    !endif
  12.    !set name=!words2items $name
  13.    !if $name=radiocheckbox
  14.      !set name=radio,checkbox
  15.    !endif
  16.    !set list_=!append item $name to $list_
  17.   !next
  18. !next
  19. !set list_=!sort item $list_
  20. $table_header
  21. $table_hdtr<th>$wims_name_name</th><th>Option</th></tr>
  22. !for f in $list_
  23.   !if $f iswordof radio checkbox
  24.     !set opt=!lookup :option in help/anstype.fr/radiocheckbox.phtml
  25.   !else
  26.     !set opt=!lookup :option in help/anstype.fr/$f.phtml
  27.   !endif
  28.   !if $opt!=$empty
  29. $table_tr<td>
  30. !href cmd=help&special_parm=reply,$f#_$f $f
  31. </td><td style="text-align:left">$opt</td></tr>
  32.   !endif
  33. !next
  34. </table>
  35.