Subversion Repositories wimsdev

Rev

Rev 15261 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !read adm/css.phtml
  2.  
  3. !let wims_html_header=!append line $local_html_header to $wims_html_header
  4. !set style=!record 0 of tchat.css
  5.   !set wims_html_header=!append line <style>$style</style>\
  6. to $wims_html_header
  7.  
  8. !header
  9. !read adm/class/classname.phtml $wims_classname\
  10. $wims_institutionname
  11.  
  12. !read adm/title.phtml 1\
  13. $classname\
  14. $name_title
  15.  
  16.  
  17. !!----- lang
  18. !let wims_name_living_activeshare=$(wims_name_actionlist[1]) $name_sharescreen
  19. !let wims_name_living_stopshare=$(wims_name_actionlist[3]) $name_sharescreen
  20. !let wims_name_living_activerefresh=$(wims_name_actionlist[1]) $name_autorefresh
  21. !let wims_name_living_stoprefresh=$(wims_name_actionlist[3]) $name_autorefresh
  22.  
  23. !if $error!=$empty
  24.   <div class="wims_msg alert" id="msgerror" >
  25.     <b>$wims_name_Error:</b>
  26.     !read msg.phtml
  27.   </div>
  28. !else
  29.   !if $success!=$empty
  30.     <div class="wims_msg success">
  31.       !read msg.phtml $success
  32.     </div>
  33.   !endif
  34.   !if $warning!=$empty
  35.     <div class="wims_msg warning">
  36.       !read msg.phtml $warning
  37.     </div>
  38.   !endif
  39. !endif
  40.  
  41. !if $notallowed=1
  42.   !exit
  43. !endif
  44.  
  45. !read $job.phtml
  46.  
  47. !if $tchat_open=yes
  48.   !if $wims_user=supervisor and $job!=viewpage
  49.     !if $job!=config
  50.       !set wims_menu_items=!append line config,1,module=$module&cmd=reply&job=config\
  51.   itemsep,0,$empty to $wims_menu_items
  52.     !endif
  53.     !if $job!=userlist
  54.       !set wims_menu_items=!append line userlistliving,1,module=$module&cmd=reply&job=userlist\
  55.   itemsep,0,$empty to $wims_menu_items
  56.     !endif
  57.     !if $job!=listliving
  58.       !set wims_menu_items=!append line listliving,1,module=$module&cmd=reply&job=listliving to $wims_menu_items
  59.     !endif
  60.     !if $job!=addliving and $nbliving<$msg_maxliving
  61.       !set wims_menu_items=!append line addliving,1,module=$module&cmd=reply&job=addliving&+living=$[$nbliving+1] to $wims_menu_items
  62.     !endif
  63.   !endif
  64. !endif
  65.  
  66. !reset job job2 error success warning
  67.  
  68. !tail
  69.