Subversion Repositories wimsdev

Rev

Rev 5252 | Rev 5745 | 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.  <p>
  14.  !read lang/msg.phtml.$moduclass_lang
  15. !endif
  16.  
  17. !form reply
  18. <input type="hidden" name="job" value="addtodo"/>
  19. <input type="hidden" name="job2" value="save"/>
  20. <p>$name_session:
  21. !if $jyear=$empty
  22.  !let jyear=!char 1 to 4 of $wims_now
  23.  !let jmonth=!char 5 to 6 of $wims_now
  24.  !let jday=!char 7 to 8 of $wims_now
  25. !endif
  26. !let expyear=!char 1 to 4 of $class_expiration
  27. !let creyear=!char 1 to 4 of $class_creation
  28. !distribute item $[$jday],$[$jmonth],$[$jyear] into jday,jmonth,jyear
  29. !read adm/lang/datemenu.phtml.$moduclass_lang 1,jday,jmonth,jyear
  30. <p>
  31. $name_nb_date:
  32. <select  name="nbredevoir" onchange="submit()">
  33. !for i=1 to $max_todo
  34.  !if $i=$nbredevoir
  35.   <option value="$i" selected>$i</option>
  36.  !else
  37.   <option value="$i">$i</option>
  38.  !endif
  39. !next i
  40. </select>
  41. <br>
  42. <table>
  43.  !for i=1 to $nbredevoir
  44.  <tr>
  45.   <td>$name_workfor
  46.    !if $(dday$i)=$empty
  47.     !let dday$i=$jday
  48.     !let dyear$i=$jyear
  49.     !let dmonth$i=$jmonth
  50.    !endif
  51.    !distribute item $[$(dday$i)],$[$(dmonth$i)],$[$(dyear$i)] into dday$i,dmonth$i,dyear$i
  52.    !read adm/lang/datemenu.phtml.$moduclass_lang 1,dday$i,dmonth$i,dyear$i
  53.    &nbsp;
  54.     !set wims_ref_class=wims_button_help
  55.     !href target=wims_help cmd=renew&job=helplink&cible=ddesc$i $wims_name_help
  56.    
  57.    <br><textarea $(wims_id$[$i-1]) rows="6" cols="65" name="ddesc$i">
  58.     !replace internal \( by &#92;( in $(ddesc$i)
  59.   </textarea></td>
  60.   <td>
  61.   <td>
  62.   </td>
  63.  </tr>
  64.  !next i
  65. </table>
  66. <center><hr width="30%">
  67. <p><input type="submit" value="$wims_name_tosave" $wims_on_click/>
  68. </center>
  69. </form>
  70.  
  71. !set wims_menu_items=!append line back2,1,cmd=new&job=home\
  72. to $wims_menu_items
  73.  
  74. !tail
  75.