Subversion Repositories wimsdev

Rev

Rev 16593 | 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 $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.   <div class="wims_msg info">
  59.     $wims_name_lastconnect
  60.     !read date.phtml $wims_user_lastconnect
  61.   </div>
  62.   !setdef wims_user_lastconnect=$empty in wimshome/sessions/$wims_session/var.stat
  63.   !reset wims_user_lastconnect
  64. !endif
  65.  
  66. !if $wims_user=supervisor and $style!=student
  67.   !changeto theme.phtml supervisor
  68. !else
  69.   !changeto theme.phtml user
  70. !endif
  71.