Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
1837 bpr 1
 
23 reyssat 2
!form reply
17180 bpr 3
<input type="hidden" name="job" value="adddate">
4
<input type="hidden" name="job2" value="save">
13610 obado 5
<fieldset class="property_fields blockcenter">
9054 obado 6
  <legend>$name_workdone</legend>
7
  <div class="field box">
13610 obado 8
    <label for="jdate">$name_session:</label>
11784 guerimand 9
    !default jdate=!char 1 to 8 of $wims_now
14300 guerimand 10
    !read adm/datepickerform.phtml $jdate\
11784 guerimand 11
jdate\
12
"$class_creation","$jdate"
9054 obado 13
  </div>
14
  <div class="field box">
15
    !set id0=!getopt id in $wims_id0
16
    <label for="$id0">$name_workdone ( &lt; $desc_limit $name_character) :</label>
10394 bpr 17
  $
13610 obado 18
    !set wims_ref_class=wims_button
9054 obado 19
    !href target=wims_help cmd=new&module=$module&job=helplink&cible=$id0 $name_help_add
10394 bpr 20
    <textarea $wims_id0 rows="12" cols="120" name="jdesc">
9054 obado 21
      !replace internal \( by &#92;( in $jdesc
22
    </textarea>
23
  </div>
9047 guerimand 24
</fieldset>
5861 bpr 25
 
9047 guerimand 26
 
13610 obado 27
<fieldset class="property_fields blockcenter">
9054 obado 28
  <legend>$name_worktodo</legend>
29
  <div class="field box">
30
    <label for="nbredevoir">$name_nb_date:</label>
31
    <select id="nbredevoir" name="nbredevoir" onchange="submit()">
32
    !for i=0 to $max_todo
33
      !if $i=$nbredevoir
13610 obado 34
        <option value="$i" selected="selected">$i</option>
35
      !else
9054 obado 36
        <option value="$i">$i</option>
13610 obado 37
      !endif
9054 obado 38
    !next i
39
    </select>
40
  </div>
41
  !for i=1 to $nbredevoir
42
    <div class="field box">
13610 obado 43
      <label for="ddate$i">$name_todo2</label>
14300 guerimand 44
!!      !if $jquery_defined!=yes
45
!!        !if $(dday$i)=$empty
46
!!          !let dday$i=$jday
47
!!          !let dyear$i=$jyear
48
!!          !let dmonth$i=$jmonth
49
!!        !endif
50
!!        !distribute item $[$(dday$i)],$[$(dmonth$i)],$[$(dyear$i)] into dday$i,dmonth$i,dyear$i
51
!!        !read adm/lang/datemenu.phtml.$moduclass_lang 1,dday$i,dmonth$i,dyear$i
52
!!      !else
13610 obado 53
        !default ddate$i=$jdate
54
        !read adm/datepickerform.phtml $(ddate$i)\
11784 guerimand 55
ddate$i\
56
"$class_creation","$class_expiration"
14300 guerimand 57
!!      !endif
9054 obado 58
      &#58;
10394 bpr 59
    $
9054 obado 60
      !set id0=!getopt id in $(wims_id$i)
13610 obado 61
      !set wims_ref_class=wims_button
9054 obado 62
      !href target=wims_help cmd=new&module=$module&job=helplink&cible=$id0 $name_help_add
17180 bpr 63
      <br><textarea $(wims_id$i) rows="6" cols="120" name="ddesc$i">
9054 obado 64
        !replace internal \( by &#92;( in $(ddesc$i)
65
      </textarea>
66
    </div>
67
  !next i
9047 guerimand 68
</fieldset>
69
 
13610 obado 70
<div class="wimscenter">
17180 bpr 71
  <input type="submit" value="$wims_name_tosave" $wims_on_click>
13610 obado 72
</div>
23 reyssat 73
 
5926 bpr 74
!formend