!read adm/css.phtml
!header1
!read adm/class/classname.phtml $wims_classname\
$wims_institutionname
!read adm/title.phtml 1\
$classname\
$name_title
!! -------- this css style have to be placed at the right place of the wims structure
<style>
.tchat-user {
margin: 5px;
display: block;
position: relative;
width: 500px;
height: auto;
background-color: lightyellow;
}
.tchat-supervisor {
margin: 5px;
display: block;
position: relative;
width: 500px;
height: auto;
background-color: lightblue;
}
font-size: 9pt;
color:#666;
position: absolute;
right: -1px;
bottom: -1px;
}
.tchat-date2{
font-size: 9pt;
color:#666;
}
</style>
!if $error!=$empty
<div class="wims_msg alert">
<b>$wims_name_Error:</b>
!read msg.phtml
</div>
!if $notallowed=1
!endif
!else
!if $success!=$empty
<div class="wims_msg success">
!read msg.phtml $success
</div>
!endif
!if $warning!=$empty
<div class="wims_msg warning">
!read msg.phtml $warning
</div>
!endif
!endif
!read $job.phtml
!if $job!=userlist
!set wims_menu_items=!append line userlist,1,module=$module&cmd=reply&job=userlist\
itemsep,0,$empty to $wims_menu_items
!endif
!if $job!=listliving
!set wims_menu_items=!append line listliving,1,module=$module&cmd=reply&job=listliving to $wims_menu_items
!endif
!if $job!=addliving and $nbliving<$msg_maxliving
!set wims_menu_items=!append line addliving,1,module=$module&cmd=reply&job=addliving&+living=$[$nbliving+1] to $wims_menu_items
!endif
!reset job job2 error success warning
!tail