Subversion Repositories wimsdev

Rev

Rev 17179 | 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 $wims_frontmsg!=$empty
  17.   !! Add the "news.css"
  18.   !set wims_html_header= !append line <link rel="stylesheet" href="html/themes/_css/news.css">\
  19.   to $wims_html_header
  20.   !! Add the slick carousel CSS
  21.   !set wims_html_header= !append line <link rel="stylesheet" href="scripts/js/external/slick/slick.min.css">\
  22.   <link rel="stylesheet" href="scripts/js/external/slick/slick-theme.css" charset="UTF-8">\
  23.   to $wims_html_header
  24. !endif
  25. !header1
  26.  
  27. !robottrap
  28.  
  29. !if robot isin $session
  30.   !changeto ./robot.phtml
  31. !endif
  32. !if $directworksheet!=$empty
  33.   !readproc names.$lang
  34.   !changeto launchseries.phtml
  35. !endif
  36.  
  37. !if $special_parm=logo
  38.   </div>
  39.   <div id="wimsbodybox">
  40.    <div id="wimspagebox">
  41.     !read ./logo/logo.phtml.$lang
  42.    </div>
  43.   </div>
  44.   !exit
  45. !endif
  46.  
  47. !if $special_parm=download
  48.   <div class="wims_msg alert">Sorry, this page no more exists.</div>
  49.   !! is special_parm=download really still used ?
  50.   !exit
  51. !endif
  52.  
  53. !if $wims_user=$empty
  54.   !changeto theme.phtml visitor
  55. !endif
  56.  
  57. !if $wims_user_lastconnect!=$empty
  58.   !if $isexample!=yes or anonymous notin $wims_user
  59.     <div class="wims_msg info">
  60.       $wims_name_lastconnect
  61.       !read date.phtml $wims_user_lastconnect
  62.     </div>
  63.   !endif
  64.   !setdef wims_user_lastconnect=$empty in wimshome/sessions/$wims_session/var.stat
  65.   !reset wims_user_lastconnect
  66. !endif
  67.  
  68. !if $wims_user=supervisor and $style!=student
  69.   !changeto theme.phtml supervisor
  70. !else
  71.   !changeto theme.phtml user
  72. !endif
  73.