Subversion Repositories wimsdev

Rev

Rev 12811 | Rev 14458 | 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.  
  10. !set home_theme=!text select 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz/ in $wims_theme
  11. !default home_theme=default
  12.  
  13. !let site_logo=!defof site_logo\
  14. site_logolink in wimshome/log/wims.conf
  15. !distribute line $site_logo into site_logo,site_logolink
  16.  
  17. !header1
  18.  
  19. !robottrap
  20.  
  21. !if robot isin $session
  22.   !changeto ./robot.phtml
  23. !endif
  24. !if $directworksheet!=$empty
  25.   !readproc names.$lang
  26.   !changeto launchseries.phtml
  27. !endif
  28.  
  29. !if $special_parm=logo
  30.   </div>
  31.   <div id="wimsbodybox">
  32.    <div id="wimspagebox">
  33.     !read ./logo/logo.phtml.$lang
  34.    </div>
  35.   </div>
  36.   !exit
  37. !endif
  38.  
  39. !if $special_parm=download
  40.   <div class="wims_msg alert">Sorry, this page no more exists.</div>
  41.   !! is special_parm=download really still used ?
  42.   !exit
  43. !endif
  44.  
  45. !if $wims_user=$empty
  46.   !changeto theme.phtml visitor
  47. !endif
  48.  
  49. !if $wims_user=supervisor and $style!=student
  50.   !changeto theme.phtml supervisor
  51. !else
  52.   !changeto theme.phtml user
  53. !endif
  54.