!read adm/css.phtml
!read adm/class/classname.phtml $wims_classname\
$wims_institutionname
!header1
!read adm/title.phtml 1\
$classname\
$cdt_title\
$cdt_subtitle
!if $error!=$empty
<p>
!read lang/msg.phtml.$moduclass_lang
!endif
!form reply
<input type="hidden" name="job" value="adddate"/>
<input type="hidden" name="job2" value="save"/>
<center><hr width="30%"><b>$name_workdone</b></center>
<p>$name_session:
!if $jyear=$empty
!let jyear=!char 1 to 4 of $wims_now
!let jmonth=!char 5 to 6 of $wims_now
!let jday=!char 7 to 8 of $wims_now
!endif
!let expyear=!char 1 to 4 of $class_expiration
!let creyear=!char 1 to 4 of $class_creation
!distribute item $[$jday],$[$jmonth],$[$jyear] into jday,jmonth,jyear
!read adm/lang/datemenu.phtml.$moduclass_lang 1,jday,jmonth,jyear
<p>
$name_workdone (< $desc_limit $name_character) :
!set wims_ref_class=wims_button_help
!href target=wims_help cmd=new&module=$module&job=helplink&cible=jdesc $wims_name_help
<br>
<textarea $wims_id0 rows="10" cols="65" name="jdesc" wrap>
!replace internal \( by \( in $jdesc
</textarea>
<p>
<center><hr width="30%"><b>$name_worktodo</b></center>
<br>
<center>$name_nb_date:
<select name="nbredevoir" onchange="submit()">
!for i=0 to $max_todo
!if $i=$nbredevoir
<option value="$i" selected>$i</option>
!else
<option value="$i">$i</option>
!endif
</select>
</center>
!for i=1 to $nbredevoir
<br>$name_todo2
!if $(dday$i)=$empty
!let dday$i=$jday
!let dyear$i=$jyear
!let dmonth$i=$jmonth
!endif
!distribute item $[$(dday$i)],$[$(dmonth$i)],$[$(dyear$i)] into dday$i,dmonth$i,dyear$i
!read adm/lang/datemenu.phtml.$moduclass_lang 1,dday$i,dmonth$i,dyear$i
:
!set wims_ref_class=wims_button_help
!href target=wims_help cmd=new&module=$module&job=helplink&cible=ddesc$i $wims_name_help
<br><textarea $(wims_id$i) rows="6" cols="65" name="ddesc$i">
!replace internal \( by \( in $(ddesc$i)
</textarea>
<center><hr width="30%">
<p><input type="submit" value="$wims_name_tosave" $wims_on_click/>
</center>
</form>
!set wims_menu_items=!append line back2,1,cmd=new&job=home\
to $wims_menu_items
!tail