Subversion Repositories wimsdev

Rev

Rev 14456 | Rev 14460 | Go to most recent revision | 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
14458 bpr 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
1051 bpr 22
!header1
23
 
33 reyssat 24
!robottrap
25
 
26
!if robot isin $session
12811 obado 27
  !changeto ./robot.phtml
33 reyssat 28
!endif
2940 guerimand 29
!if $directworksheet!=$empty
12811 obado 30
  !readproc names.$lang
31
  !changeto launchseries.phtml
2940 guerimand 32
!endif
33
 
33 reyssat 34
!if $special_parm=logo
12821 bpr 35
  </div>
36
  <div id="wimsbodybox">
37
   <div id="wimspagebox">
38
    !read ./logo/logo.phtml.$lang
39
   </div>
40
  </div>
41
  !exit
33 reyssat 42
!endif
43
 
465 bpr 44
!if $special_parm=download
12811 obado 45
  <div class="wims_msg alert">Sorry, this page no more exists.</div>
46
  !! is special_parm=download really still used ?
47
  !exit
465 bpr 48
!endif
6058 obado 49
 
33 reyssat 50
!if $wims_user=$empty
12811 obado 51
  !changeto theme.phtml visitor
33 reyssat 52
!endif
53
 
54
!if $wims_user=supervisor and $style!=student
12811 obado 55
  !changeto theme.phtml supervisor
33 reyssat 56
!else
12811 obado 57
  !changeto theme.phtml user
33 reyssat 58
!endif