!read adm/title.phtml 1\
$wims_classname - $wims_institutionname\
$cdt_title
<center>
<font size="+1"><b>$name_worktodo
!if $jour_begin!=$jour_end
$name_between <font color=green>$name_date</font> $name_and <font color=green>$name_date2</font>
!else
$name_for
<font color=green>$name_date</font>
!endif
</b></font>
</center>
<p><p>
!if $nbligne=0
$name_nowork $name_date.
<p>
!endif
!let table_border=1
$table_header
$table_hdtr
<th>$name_for</th>
!if no isin $cdt_supervise
<th>$name_discipline</th>
!endif
<th>$name_work</th><th>$name_giventhe</th>
</tr>
!for i=1 to $nbligne
$table_tr
!let don=!line $i of $list
!distribute item
$don into todo
,date,dir,matiere
!let m_filedir=$wims_ref_name?session=$wims_session&cmd=getfile&special_parm=cdt/$dir
!read wimshome
/log/classes
/$dir/cdt
/def
/$date
!let no=!positionof item $todo in $date_todo
<td>
!read lang
/date.phtml
.$moduclass_lang 5,$todo
</td>
!if no isin $cdt_supervise
<td>$matiere</td>
!endif
<td valign="top">
!read wimshome
/log/classes
/$dir/cdt
/def
/$date todo
$no
</td>
<td>
!read lang
/date.phtml
.$moduclass_lang 5,$date
</td>
</tr>
$table_end
!if _ notin $wims_session
!set wims_menu_items=!append line back2,1,module=$module \
to $wims_menu_items
!endif
!tail