Subversion Repositories wimsdev

Rev

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

  1. !set sizex=65
  2.  
  3. !set types=!nonempty lines $types
  4. !set typelist=!column 2 of $types
  5. !set typenames=!column 1 of $types
  6.  
  7. $name_content
  8. <span class="wims_mod_title">$oef_title</span>.
  9. !set wims_ref_class=wims_button
  10. !href cmd=reply&level=1 $name_menuback
  11.  
  12. <p>
  13.  
  14. !form reply
  15. <input type="hidden" name="level" value="3"/>
  16. $name_alea [
  17. !href target=wims_mhelp cmd=help&special_parm=parameters $wims_name_Explanations
  18.  ]<br>
  19. !set o_parms=!reinput $oef_parms
  20. <textarea wrap="off" rows="6" cols="$sizex" name="oef_parms">$o_parms</textarea>
  21. <p>
  22. $name_statement ($oef_format)&nbsp;: [
  23. !href target=wims_mhelp cmd=help&special_parm=format $wims_name_Explanations
  24.  ]<br>
  25. !set o_statement=!reinput $oef_statement
  26. <textarea wrap="off" rows="6" cols="$sizex" name="oef_statement">$o_statement</textarea>
  27. <p>
  28. !if $oef_answercnt>0
  29. $table_header
  30.  <caption>$name_free
  31. $table_tr<th>$wims_name_name</th><th>$name_goodsol</th><th>$wims_name_Type</b>
  32.  !set wims_ref_class=wims_button_help
  33.  !href target=wims_mhelp cmd=help&special_parm=reply#freestyle $wims_name_help
  34. </th></tr>
  35.  !for i=1 to $oef_answercnt
  36.   !default anstype$i=default
  37.   !set p_=!reinput $(ansprompt$i)
  38.  $table_tr<td> <input size="$[$promptlim-3]" maxlength="$promptlim" name="ansprompt$i" value="$p_"/>
  39.   !set p_=!reinput $(ansgood$i)
  40.   </td><td> <input size="30" name="ansgood$i" value="$p_"/></td>
  41.   <td><small>
  42.   !formselect anstype$i list $typelist prompt $typenames
  43.   </small></td></tr>
  44.  !next i
  45.  $table_end <p>
  46.  $name_precision:
  47.  !formselect oef_precision list 100,1000,10000,100000,1000000 prompt 1/100,1/1000,1/10 000,1/100 000,1/1 000 000
  48.  <br>$name_function
  49.  (&nbsp;<input size="6" name="oef_rangel" value="$oef_rangel"/>,<input size="6" name="oef_ranger" value="$oef_ranger"/>&nbsp;).
  50.  <p>
  51. !endif
  52.  
  53. !if $oef_condcnt>0
  54.  $table_header
  55.  <caption>$name_condition_numeric,
  56.  $table_tr<th>$name_name_condition</th><th>$name_definition</th></tr>
  57.  !for i=1 to $oef_condcnt
  58.   !set p_=!reinput $(Condname$i)
  59.    $table_tr<td><input size="$promptlim" maxlength="$promptlim" name="Condname$i" value="$p_"/></td>
  60.   !set p_=!reinput $(Condtest$i)
  61.   <td> <input size="40" name="Condtest$i" value="$p_"/></td></tr>
  62.  !next i
  63. $table_end <p>
  64. !endif
  65.  
  66. !if $oef_choicecnt>0
  67.  $table_header
  68.  <caption>$name_multiple
  69.   $table_tr<th>$wims_name_name</th><th>$name_goodchoice</th><th>$name_badchoice</th></tr>
  70.  !for i=1 to $oef_choicecnt
  71.   !set p_=!reinput $(choiprompt$i)
  72.  $table_tr<td> <input size="$promptlim" maxlength="$promptlim" name="choiprompt$i" value="$p_"/></td>
  73.   !set p_=!reinput $(choigood$i)
  74.   <td> <input size="10" name="choigood$i" value="$p_"/></td>
  75.   !set p_=!reinput $(choibad$i)
  76.   <td> <input size="30" name="choibad$i" value="$p_"/></td></tr>
  77.  !next i
  78.  $table_end <p>
  79. !endif
  80.  
  81. <p><center>
  82. <input type="submit" value="$name_sendsource"/>
  83. </center> <p>
  84. $name_option
  85. <table border="0" align="center">
  86. <tr><td>$name_indication</td>
  87. !set pp=!reinput $oef_hint
  88. <td><textarea wrap="off" rows="3" cols="$[$sizex-10]" name="oef_hint">$pp</textarea></td></tr>
  89. <tr><td>$name_solution</td>
  90. !set pp=!reinput $oef_solution
  91. <td><textarea wrap="off" rows="3" cols="$[$sizex-10]" name="oef_solution">$pp</textarea></td></tr>
  92. </table>
  93. </form>
  94.  
  95.