Subversion Repositories wimsdev

Rev

Rev 13443 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
23 reyssat 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
2433 bpr 6
$name_content
4812 bpr 7
<span class="wims_mod_title">$oef_title</span>.
8
!set wims_ref_class=wims_button
2391 bpr 9
!href cmd=reply&level=1 $name_menuback
23 reyssat 10
 
11
!form reply
17230 bpr 12
  <input type="hidden" name="level" value="3">
13443 obado 13
  $name_alea [
14
  !href target=wims_mhelp cmd=help&special_parm=parameters $wims_name_Explanations
17230 bpr 15
  ]<br>
13443 obado 16
  !set o_parms=!reinput $oef_parms
17
  <textarea class="nowrap" rows="6" cols="$sizex" name="oef_parms">$o_parms</textarea>
23 reyssat 18
 
13443 obado 19
  <div>
20
    $name_statement ($oef_format)&nbsp;: [
21
    !href target=wims_mhelp cmd=help&special_parm=format $wims_name_Explanations
17230 bpr 22
    ]<br>
13443 obado 23
    !set o_statement=!reinput $oef_statement
24
    <textarea class="nowrap" rows="6" cols="$sizex" required="required" name="oef_statement">$o_statement</textarea>
25
  </div>
23 reyssat 26
 
13443 obado 27
  !if $oef_answercnt>0
28
    $table_header
29
      <caption>$name_free</caption>
30
      $table_tr
31
        <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>
35
      </tr>
36
      !for i=1 to $oef_answercnt
37
        !default anstype$i=default
38
        !set p_=!reinput $(ansprompt$i)
39
        $table_tr
17230 bpr 40
          <td><input size="$[$promptlim-3]" maxlength="$promptlim" name="ansprompt$i" required="required" value="$p_">
13443 obado 41
            !set p_=!reinput $(ansgood$i)
17230 bpr 42
          </td><td> <input size="30" name="ansgood$i" value="$p_"></td>
13443 obado 43
          <td class="small">
44
            !formselect anstype$i list $typelist prompt $typenames
45
          </td>
46
        </tr>
47
      !next i
48
    $table_end
49
    <p>
50
      $name_precision:
51
      !formselect oef_precision list 100,1000,10000,100000,1000000 prompt 1/100,1/1000,1/10 000,1/100 000,1/1 000 000
17230 bpr 52
      <br>$name_function
53
      (&nbsp;<input size="6" name="oef_rangel" value="$oef_rangel">,<input size="6" name="oef_ranger" value="$oef_ranger">&nbsp;).
13443 obado 54
    </p>
55
  !endif
23 reyssat 56
 
13443 obado 57
  !if $oef_condcnt>0
58
    $table_header
59
      <caption>$name_condition_numeric,</caption>
60
      $table_tr<th>$name_name_condition</th><th>$name_definition</th></tr>
61
      !for i=1 to $oef_condcnt
62
        !set p_=!reinput $(Condname$i)
63
        $table_tr
17230 bpr 64
          <td><input size="$promptlim" maxlength="$promptlim" name="Condname$i" value="$p_"></td>
13443 obado 65
          !set p_=!reinput $(Condtest$i)
17230 bpr 66
          <td> <input size="40" name="Condtest$i" value="$p_"></td>
13443 obado 67
        </tr>
68
      !next i
69
    $table_end
70
  !endif
10185 bpr 71
 
13443 obado 72
  !if $oef_choicecnt>0
73
    $table_header
74
    <caption>$name_multiple</caption>
75
    $table_tr<th>$wims_name_name</th><th>$name_goodchoice</th><th>$name_badchoice</th></tr>
76
    !for i=1 to $oef_choicecnt
77
      !set p_=!reinput $(choiprompt$i)
78
      $table_tr
17230 bpr 79
        <td> <input size="$promptlim" maxlength="$promptlim" name="choiprompt$i" value="$p_"></td>
13443 obado 80
        !set p_=!reinput $(choigood$i)
17230 bpr 81
        <td> <input size="10" name="choigood$i" value="$p_"></td>
13443 obado 82
        !set p_=!reinput $(choibad$i)
17230 bpr 83
        <td> <input size="30" name="choibad$i" value="$p_"></td>
13443 obado 84
      </tr>
85
    !next i
86
    $table_end
87
  !endif
23 reyssat 88
 
13443 obado 89
  <div class="wimscenter">
17230 bpr 90
    <input type="submit" value="$name_sendsource">
13443 obado 91
  </div>
92
 
93
  $name_option
94
 
95
  <ul><li><label for="oef_hint">$name_indication</label> (html)
96
    !set pp=!reinput $oef_hint
97
    <textarea class="nowrap" rows="3" cols="$[$sizex-10]" name="oef_hint" id="oef_hint">$pp</textarea>
98
  </li><li><label for="oef_solution">$name_solution</label> (html)
99
    !set pp=!reinput $oef_solution
100
    <textarea class="nowrap" rows="3" cols="$[$sizex-10]" name="oef_solution" id="oef_solution">$pp</textarea>
101
  </li></ul>
5927 bpr 102
!formend