Subversion Repositories wimsdev

Rev

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

  1. !if robot isin $session
  2.  !set wims_htmlbody=
  3. !endif
  4. !if _tool isin $wims_session
  5.  !set wims_html_onload=window.focus();window.resizeTo(800,650);window.moveTo(15,35);$wims_html_onload
  6. !endif
  7.  
  8. !read adm/css.phtml
  9. !header1
  10.  
  11. !robottrap
  12.  
  13. !if robot isin $session
  14.  !changeto ./robot.phtml
  15. !endif
  16. !set xx=!getdef HTTP_USER_AGENT in wimshome/sessions/$wims_session/var
  17. $xx
  18. !if $directworksheet!=$empty
  19.  !readproc names.$lang
  20.  !changeto launchseries.phtml
  21. !endif
  22.  
  23. !if $special_parm=logo
  24. </div>
  25. <div id="wimsbodybox">
  26.  <div id="wimspagebox">
  27.   !read ./logo/logo.phtml.$lang
  28.  </div>
  29. </div>
  30. !exit
  31. !endif
  32.  
  33. !if $special_parm=download
  34.  <h1 class="alert">Sorry, this page no more exists.</h1>
  35.  !! is special_parm=download really still used ?
  36.  !exit
  37. !endif
  38.  
  39. !if $wims_user=$empty
  40.  !changeto theme.phtml visitor
  41. !endif
  42.  
  43. !if $wims_user=supervisor and $style!=student
  44.  !changeto theme.phtml supervisor
  45. !else
  46.  !changeto theme.phtml user
  47. !endif
  48.  
  49.