Subversion Repositories wimsdev

Rev

Rev 17179 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
33 reyssat 1
!if robot isin $session
12811 obado 2
  !set wims_htmlbody=
33 reyssat 3
!endif
4
!if _tool isin $wims_session
12811 obado 5
  !set wims_html_onload=window.focus();window.resizeTo(800,650);window.moveTo(15,35);$wims_html_onload
33 reyssat 6
!endif
6058 obado 7
 
1181 bpr 8
!read adm/css.phtml
7077 obado 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
14460 obado 16
!if $wims_frontmsg!=$empty
14465 obado 17
  !! Add the "news.css"
17179 bpr 18
  !set wims_html_header= !append line <link rel="stylesheet" href="html/themes/_css/news.css">\
14465 obado 19
  to $wims_html_header
14458 bpr 20
  !! Add the slick carousel CSS
17179 bpr 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">\
14458 bpr 23
  to $wims_html_header
24
!endif
1051 bpr 25
!header1
26
 
33 reyssat 27
!robottrap
28
 
29
!if robot isin $session
12811 obado 30
  !changeto ./robot.phtml
33 reyssat 31
!endif
2940 guerimand 32
!if $directworksheet!=$empty
12811 obado 33
  !readproc names.$lang
34
  !changeto launchseries.phtml
2940 guerimand 35
!endif
36
 
33 reyssat 37
!if $special_parm=logo
12821 bpr 38
  </div>
39
  <div id="wimsbodybox">
40
   <div id="wimspagebox">
41
    !read ./logo/logo.phtml.$lang
42
   </div>
43
  </div>
44
  !exit
33 reyssat 45
!endif
46
 
465 bpr 47
!if $special_parm=download
12811 obado 48
  <div class="wims_msg alert">Sorry, this page no more exists.</div>
49
  !! is special_parm=download really still used ?
50
  !exit
465 bpr 51
!endif
6058 obado 52
 
33 reyssat 53
!if $wims_user=$empty
12811 obado 54
  !changeto theme.phtml visitor
33 reyssat 55
!endif
56
 
16040 guerimand 57
!if $wims_user_lastconnect!=$empty
17797 bpr 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
16040 guerimand 64
  !setdef wims_user_lastconnect=$empty in wimshome/sessions/$wims_session/var.stat
65
  !reset wims_user_lastconnect
66
!endif
67
 
33 reyssat 68
!if $wims_user=supervisor and $style!=student
12811 obado 69
  !changeto theme.phtml supervisor
33 reyssat 70
!else
12811 obado 71
  !changeto theme.phtml user
33 reyssat 72
!endif