Subversion Repositories wimsdev

Rev

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

  1. !read adm/css.phtml
  2. !read adm/class/classname.phtml $wims_classname\
  3. $wims_institutionname
  4. !header1
  5.  
  6. !read adm/title.phtml 1\
  7. $classname\
  8. $cdt_title\
  9. $cdt_subtitle
  10.  
  11. !if $error!=$empty
  12.  <div class="wims_msg alert">
  13.  !read lang/msg.phtml.$moduclass_lang
  14.  </div>
  15. !endif
  16.  
  17. !form reply
  18. <input type="hidden" name="job" value="addtodo" />
  19. <input type="hidden" name="job2" value="save" />
  20. <fieldset class="property_fields halfwidth blockcenter">
  21.         <legend>$name_worktodo</legend>
  22.         <div class="field box">
  23.                 $name_session:
  24.                 !if $jyear=$empty
  25.                         !let jyear=!char 1 to 4 of $wims_now
  26.                         !let jmonth=!char 5 to 6 of $wims_now
  27.                         !let jday=!char 7 to 8 of $wims_now
  28.                 !endif
  29.                 !let expyear=!char 1 to 4 of $class_expiration
  30.                 !let creyear=!char 1 to 4 of $class_creation
  31.                 !distribute item $[$jday],$[$jmonth],$[$jyear] into jday,jmonth,jyear
  32.                 !read adm/lang/datemenu.phtml.$moduclass_lang 1,jday,jmonth,jyear
  33.         </div>
  34.         <div class="field box">
  35.                 $name_nb_date:
  36.                 <select  name="nbredevoir" onchange="submit()">
  37.                 !for i=1 to $max_todo
  38.                         !if $i=$nbredevoir
  39.                                 <option value="$i" selected="selected">$i</option>
  40.                         !else
  41.                                 <option value="$i">$i</option>
  42.                         !endif
  43.                 !next i
  44.                 </select>
  45.         </div>
  46.         !for i=1 to $nbredevoir
  47.                 <div class="field box">
  48.                         $name_workfor
  49.                         !if $(dday$i)=$empty
  50.                             !let dday$i=$jday
  51.                             !let dyear$i=$jyear
  52.                             !let dmonth$i=$jmonth
  53.                         !endif
  54.                         !distribute item $[$(dday$i)],$[$(dmonth$i)],$[$(dyear$i)] into dday$i,dmonth$i,dyear$i
  55.                         !read adm/lang/datemenu.phtml.$moduclass_lang 1,dday$i,dmonth$i,dyear$i
  56.   $
  57.                         !set wims_ref_class=wims_button_help
  58.                         !href target=wims_help cmd=renew&job=helplink&cible=ddesc$i $name_help_add
  59.                         <br /><textarea $(wims_id$[$i-1]) rows="6" cols="120" name="ddesc$i">
  60.                             !replace internal \( by &#92;( in $(ddesc$i)
  61.                         </textarea>
  62.                 </div>
  63.         !next i
  64.         <div class="field box">
  65.                 <p class="wimscenter">
  66.                 <input type="submit" value="$wims_name_tosave" $wims_on_click/>
  67.                 </p>
  68.         </div>
  69. </fieldset>
  70.  
  71. !formend
  72. !!ARIANE already
  73. !set wims_menu_items=!append line back2,1,cmd=new&job=home\
  74. to $wims_menu_items
  75.  
  76. !tail
  77.