Subversion Repositories wimsdev

Rev

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

  1.  
  2. !form reply
  3.   <fieldset class="property_fields">
  4.     <legend>$wims_name_properties</legend>
  5.     <div class="field box halfwidth">
  6.       <label for="oef_author">$wims_name_Author</label>
  7.       <input size="30" maxlength="60" name="oef_author" id="oef_author" value="$oef_author" placeholder="$wims_name_firstname,$wims_name_lastname">
  8.     </div>
  9.     <div class="field box halfwidth">
  10.       <label for="oef_email">$wims_name_email</label>
  11.       <input size="30" maxlength="80" name="oef_email" id="oef_email" value="$oef_email">
  12.     </div>
  13.     <div class="field box">
  14.      <label for="oef_title">$name_givetitle</label>
  15.      <input size="40" maxlength="40" name="oef_title" id="oef_title" required="required" value="$oef_title">
  16.     </div>
  17.  
  18.     <input type="hidden" name="level" value="2">
  19.  
  20.     !!<p>
  21.     !!  $name_giveformat
  22.     !!  !formselect oef_format list tex,html
  23.     !!  !set wims_ref_class=wims_button_help
  24.     !!  !href target=wims_mhelp cmd=help&special_parm=format $wims_name_help
  25.     !!</p>
  26.     <div class="field box">
  27.       <label for="oef_answercnt">$name_exo</label>
  28.       !formselect oef_answercnt from 0 to 10
  29.       <label for="oef_choicecnt"> $name_answer1</label>
  30.       !formselect oef_choicecnt from 0 to 10
  31. $name_answer2.
  32.       !set wims_ref_class=wims_button_help
  33.       !href target=wims_mhelp cmd=help&special_parm=reply $wims_name_help
  34.     </div>
  35.  
  36.     <div class="field box">
  37.       <label for="oef_computeanswer">$name_nonnumeric</label>
  38.       !formselect oef_computeanswer list yes,no prompt $name_prompt
  39.     </div>
  40.  
  41.     <div class="field box">
  42.       !formselect oef_condcnt from 0 to $condlim
  43.       <label for="oef_condcnt">$name_condition</label>
  44.     </div>
  45.   </fieldset>
  46.  
  47.   <div class="wimscenter wimsform">
  48.     <input class="wims_button" type="submit" value="$name_continue">
  49.   </div>
  50. !formend
  51.  
  52. !if $wims_user=supervisor
  53.   !read wimshome/log/classes/$wims_class/Exindex
  54.   !if $exototal>0
  55.     !form new
  56.       <input type="hidden" name="module" value="$module">
  57.       $name_modify
  58.       !formselect existing list $exolist prompt $titlelist
  59.       <input class="wims_button" type="submit" value="$wims_name_tosave">
  60.     !formend
  61.   !endif
  62. !endif
  63.