Subversion Repositories wimsdev

Rev

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

  1. !!!### language independant
  2. !!
  3. !! Tableau d'information générale de la feuille d'examen
  4.  
  5. !form reply
  6.  <input type="hidden" name="job" value="text" />
  7.  
  8.  <fieldset class="property_fields blockcenter">
  9.  
  10.    <legend>$name_info</legend>
  11.  
  12.   !!Title
  13.   <div class="field box fullwidth">
  14.     <label for="title">$(name_shinfo[1])</label>
  15.     <input size="65" name="title" id="title" value="$title" />
  16.     <div class="formHelp">$name_desc_title</div>
  17.   </div>
  18.  
  19.   !!Status
  20.   !if $activetest>-1
  21.     <div class="field box">
  22.      <label for="">$(name_shinfo[2]) </label>
  23.      $(wims_name_shstatus[$activetest+1]) &nbsp;
  24.       !read adm/sheet/sheetaction.phtml exam,$exam,$activetest,0
  25.     </div>
  26.   !endif
  27.   !!Description
  28.   <div class="field box fullwidth">
  29.    <label for="desc">$(name_shinfo[3])</label>
  30.    <div class="formHelp">$name_desc_desc</div>
  31.    <textarea id="desc" class="iEdit" rows="6" cols="65" name="desc">$desc</textarea>
  32.   </div>
  33.  
  34.   !!Comments
  35.   <div class="field box fullwidth">
  36.    <label for="comment">$(name_shinfo[8])</label>
  37.    <div class="formHelp">$name_desc_comment</div>
  38.    <textarea id="comment" class="iEdit" rows="6" cols="65" name="comment">$comment</textarea>
  39.   </div>
  40.   !!Expiration Date
  41.   <div class="field box halfwidth">
  42.        <label for="expday">$(name_shinfo[4])</label>
  43.         !distribute item $[$expday],$[$expmon] into expday,expmon
  44.         !formselect expday from 1 to 31
  45.         !formselect expmon from 1 to 12 prompt $months
  46.         !formselect expyear from $thisyear to $thisyear+1
  47.         <div class="formHelp">$name_desc_expday</div>
  48.   </div>
  49.  
  50.   !!Duration
  51.   <div class="field box halfwidth">
  52.        <label for="duration">$(name_shinfo[9])</label>
  53.        <input size="5" name="duration" id="duration" value="$duration" style="text-align:right;" /> <span class="units">$name_units_duration</span>
  54.        <div class="formHelp">$name_desc_duration</div>
  55.   </div>
  56.  
  57.   !! Tries
  58.   <div class="field box halfwidth">
  59.        <label for="tries">$(name_shinfo[10])</label>
  60.        <input size="5" name="tries" id="tries" value="$stries" />
  61.        <div class="formHelp">$name_desc_tries &nbsp;</div>
  62.   </div>
  63.  
  64.   !if $activetest>0
  65.     !!Allow Type
  66.     <div class="field box halfwidth">
  67.      <input type="hidden" name="allow" value="yes" />
  68.      <label for="allowtype">$(name_shinfo[6])</label>
  69.       !set wims_ref_class=wims_button_help float_right
  70.       !href target=wims_mhelp cmd=help&special_parm=allowtype $wims_name_help
  71.      <br class="clearall" />
  72.      !formselect allowtype list all, simulation, none, select prompt $name_allowtype
  73.      <input size="50" name="IPlist" value="$IPlist" />
  74.      !set allowshare=0
  75.  
  76.      !if $sharers!=$empty
  77.       ( $(name_shinfo[7])
  78.       !formselect allowshare list 0,1 prompt $wims_name_no,$wims_name_yes
  79.       )
  80.      !else
  81.       <input type="hidden" name="allowshare" value="0" />
  82.      !endif
  83.     </div>
  84.  
  85.     !!Cut Hours
  86.     <div class="field box fullwidth">
  87.       <label for="cutt">$name_shinfo_cutt</label>
  88.       <input name="cutt" id="cutt" value="$cutt" />
  89.     </div>
  90.   !endif
  91.    <div class="wimscenter wimsform">
  92.     !ifval $activetest=-1
  93.      <input type="submit" value="$name_mkexam" />
  94.     !else
  95.      <input type="submit" value="$wims_name_tosave" />
  96.     !endif
  97.    </div>
  98.   </fieldset>
  99.  
  100.  
  101.  
  102. !formend
  103.