Subversion Repositories wimsdev

Rev

Rev 14777 | Rev 14875 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !read adm/css.phtml
  2.  
  3. !header1
  4. !read adm/class/classname.phtml $wims_classname\
  5. $wims_institutionname
  6.  
  7. !read adm/title.phtml 1\
  8. $classname\
  9. $name_title
  10.  
  11. !! -------- this css style have to be placed at the right place of the wims structure
  12. <style>
  13. .tchat-user {
  14.         margin: 5px;
  15.   display: block;
  16.   position: relative;
  17.         width: 500px;
  18.         height: auto;
  19.         background-color: lightyellow;
  20. }
  21. .tchat-supervisor {
  22.         margin: 5px;
  23.   display: block;
  24.   position: relative;
  25.         width: 500px;
  26.         height: auto;
  27.         background-color: lightblue;
  28. }
  29. .tchat-date{
  30.   font-size: 9pt;
  31.   color:#666;
  32.  position: absolute;
  33.   right: -1px;
  34.   bottom: -1px;
  35. }
  36. .tchat-date2{
  37.   font-size: 9pt;
  38.   color:#666;
  39. }
  40. </style>
  41. !! -------- end of css
  42.  
  43.  
  44. !if $error!=$empty
  45.   <div class="wims_msg alert">
  46.     <b>$wims_name_Error:</b>
  47.     !read msg.phtml
  48.   </div>
  49.   !if $notallowed=1
  50.     !exit
  51.   !endif
  52. !else
  53.   !if $success!=$empty
  54.     <div class="wims_msg success">
  55.       !read msg.phtml $success
  56.     </div>
  57.   !endif
  58.   !if $warning!=$empty
  59.     <div class="wims_msg warning">
  60.       !read msg.phtml $warning
  61.     </div>
  62.   !endif
  63. !endif
  64.  
  65. !read $job.phtml
  66.  
  67. !if $job!=userlist
  68.   !set wims_menu_items=!append line userlist,1,module=$module&cmd=reply&job=userlist\
  69. itemsep,0,$empty to $wims_menu_items
  70. !endif
  71. !if $job!=listliving
  72.   !set wims_menu_items=!append line listliving,1,module=$module&cmd=reply&job=listliving to $wims_menu_items
  73. !endif
  74. !if $job!=addliving and $nbliving<$msg_maxliving
  75.   !set wims_menu_items=!append line addliving,1,module=$module&cmd=reply&job=addliving&+living=$[$nbliving+1] to $wims_menu_items
  76. !endif
  77.  
  78. !reset job job2 error success warning
  79.  
  80. !tail
  81.