Subversion Repositories wimsdev

Rev

Rev 14456 | Rev 14460 | 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. !if $has_frontmsg=yes
  17.   !! Add the slick carousel CSS
  18.   !set wims_html_header= !append line <link rel="stylesheet" href="scripts/js/external/slick/slick.min.css"/>\
  19.   <link rel="stylesheet" href="scripts/js/external/slick/slick-theme.css" charset="UTF-8"/>\
  20.   to $wims_html_header
  21. !endif
  22. !header1
  23.  
  24. !robottrap
  25.  
  26. !if robot isin $session
  27.   !changeto ./robot.phtml
  28. !endif
  29. !if $directworksheet!=$empty
  30.   !readproc names.$lang
  31.   !changeto launchseries.phtml
  32. !endif
  33.  
  34. !if $special_parm=logo
  35.   </div>
  36.   <div id="wimsbodybox">
  37.    <div id="wimspagebox">
  38.     !read ./logo/logo.phtml.$lang
  39.    </div>
  40.   </div>
  41.   !exit
  42. !endif
  43.  
  44. !if $special_parm=download
  45.   <div class="wims_msg alert">Sorry, this page no more exists.</div>
  46.   !! is special_parm=download really still used ?
  47.   !exit
  48. !endif
  49.  
  50. !if $wims_user=$empty
  51.   !changeto theme.phtml visitor
  52. !endif
  53.  
  54. !if $wims_user=supervisor and $style!=student
  55.   !changeto theme.phtml supervisor
  56. !else
  57.   !changeto theme.phtml user
  58. !endif
  59.