Subversion Repositories wimsdev

Rev

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

  1.  
  2. !read adm/css.phtml
  3. !read adm/class/classname.phtml $wims_classname\
  4. $wims_institutionname
  5. !header1
  6.  
  7. !read adm/title.phtml 1\
  8. $classname\
  9. $cdt_title\
  10. $cdt_subtitle
  11.  
  12. !if $error!=$empty
  13.  <div class="wims_alertmsg">
  14.  !read lang/msg.phtml.$moduclass_lang
  15.  </div>
  16. !endif
  17.  
  18. !form reply
  19. <input type="hidden" name="job" value="addtodo"/>
  20. <input type="hidden" name="job2" value="save"/>
  21. <hr style="width:40%;"/>
  22. <p class="wimscenter"><b>$name_workdone</b></p>
  23. <div>$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>
  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. <br/>
  46. <table>
  47.  !for i=1 to $nbredevoir
  48.  <tr>
  49.   <td>$name_workfor
  50.    !if $(dday$i)=$empty
  51.     !let dday$i=$jday
  52.     !let dyear$i=$jyear
  53.     !let dmonth$i=$jmonth
  54.    !endif
  55.    !distribute item $[$(dday$i)],$[$(dmonth$i)],$[$(dyear$i)] into dday$i,dmonth$i,dyear$i
  56.    !read adm/lang/datemenu.phtml.$moduclass_lang 1,dday$i,dmonth$i,dyear$i
  57.    &nbsp;
  58.     !set wims_ref_class=wims_button_help
  59.     !href target=wims_help cmd=renew&job=helplink&cible=ddesc$i $wims_name_help
  60.    
  61.    <br/><textarea $(wims_id$[$i-1]) rows="6" cols="65" name="ddesc$i">
  62.     !replace internal \( by &#92;( in $(ddesc$i)
  63.   </textarea></td>
  64.   <td></td>
  65.   <td>
  66.   </td>
  67.  </tr>
  68.  !next i
  69. </table>
  70. <hr style="width:40%;"/>
  71. <p class="wimscenter">
  72. <input type="submit" value="$wims_name_tosave" $wims_on_click/>
  73. </p>
  74.  
  75. !formend
  76.  
  77. !set wims_menu_items=!append line back2,1,cmd=new&job=home\
  78. to $wims_menu_items
  79.  
  80. !tail
  81.