Subversion Repositories wimsdev

Rev

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

  1. !form reply
  2.   <input type="hidden" name="job" value="addliving" />
  3.   <input type="hidden" name="living" value="$living"/>
  4.   <fieldset class="property_fields blockcenter">
  5.     <legend>$name_configliving $living</legend>
  6.     <div class="field box fullwidth">
  7.       <label for="title">$name_title</label>
  8.       <input size="65" name="title" id="title" value="$title" />
  9.       <div class="formHelp">$name_desc_title</div>
  10.     </div>
  11.     <div class="field box fullwidth">
  12.       <strong>$name_statut</strong>
  13.       !if $living>$nbliving
  14.         $name_close
  15.       !else
  16.         !if $(livingst_$living)=0
  17.           $name_close
  18.           !let wims_ref_class=wims_button
  19.           !href module=$module&+living=$living&+job2=1&+job=$job&+cmd=reply $name_opening
  20.         !else
  21.           $name_open
  22.           !let wims_ref_class=wims_button
  23.           !href module=$module&+living=$living&+job2=0&+job=$job&+cmd=reply $name_closing
  24.         !endif
  25.       !endif
  26.     </div>
  27.     <div class="field box fullwidth">
  28.     !if $living>0
  29.       <label for="ltreguser">$name_regusers</label>
  30.       !let ltreguser=$(livingusers_$living)
  31.       !let wims_ref_id=ltreguser
  32.       !formcheckbox ltreguser list $ulist prompt $nlist
  33.     !else
  34.       <strong>$name_regusers</strong> $name_all
  35.     !endif
  36.     </div>
  37. </fieldset>
  38.  
  39. <div class="wimscenter wimsform">
  40.   !ifval $activetest=-1
  41.     <input type="submit" value="$name_mkliving" name="save"/>
  42.   !else
  43.     <input type="submit" value="$wims_name_tosave" name="save"/>
  44.   !endif
  45.   !set wims_ref_class=wims_button wims_secondary_button
  46.   !href module=$module&job=listliving $wims_name_giveup
  47. </div>
  48. !formend
  49.