!read adm/class/classname.phtml $wims_classname\
$wims_institutionname
!read adm/title.phtml 1\
$classname\
$cdt_title
<div class="wimscenter">
<b><font size="+1">
!if $jour_begin!=$empty
$name_between <font color="green">$name_date</font>
!if $jour_begin!=$jour_end
$name_and <font color="green">$name_date2</font>
!endif
!endif
</font></b>
</div>
!if $cdt_nbdate=0
$name_noinfo1
!else
!if $nbligne=0
!if $jour_begin=$jour_end
$name_noinfo2.
!else
$name_noinfo3.
!endif
!endif
!endif
</p>
!let table_border=1
$table_header
$table_hdtr
<th>$name_Day</th>
!if no isin $cdt_supervise
<th>$name_discipline</th>
!endif
<th>$name_inclass</th><th>$name_worktodo</th><th width="30">$name_for</th>
</tr>
!for i=1 to $nbligne
!let don=!line $i of $list
!distribute item
$don into jour
,file,matiere
!let m_filedir=$wims_ref_name?session=$wims_session&cmd=getfile&special_parm=cdt/$file
!let
file=wimshome
/log/classes
/$file/cdt
/def
/$jour
!read $file
!let nbtodo=!itemcnt $date_todo
<tr class="$(table_colors[$i%2+1])">
<td rowspan="$nbtodo">
!read adm/lang/datemenu.phtml.$moduclass_lang 5,$jour
</td>
!if no isin $cdt_supervise
<td rowspan="$nbtodo">$matiere</td>
!endif
<td rowspan="$nbtodo" valign="top">
!read $file content
</td>
!if $nbtodo>0
<td valign="top">
!read $file todo1
</td>
<td>
!read adm/lang/datemenu.phtml.$moduclass_lang 5,$date_todo
</td>
!else
<td> </td><td> </td>
!endif
</tr>
!if $nbtodo>1
!for j=2 to $nbtodo
<tr class="$(table_colors[$i%2+1])">
<td valign="top">
!read $file todo$j
</td>
<td>
!let tmp=!item $j of $date_todo
!read adm/lang/datemenu.phtml.$moduclass_lang 5,$tmp
</td>
</tr>
!endif
$table_end
!if _ notin $wims_session
!set wims_menu_items=!append line back2,1,module=$module \
to $wims_menu_items
!endif
!tail