Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
4408 bpr 1
 
2
!!INDEX
3
!! Erase the above line to hide your page from wims search engine.
4
!! Line starting with double exclamations are comment lines.
5
!!
6
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7
!!
8
!! Indexing definitions. You should modify them according to your case.
9
!!
10
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
11
 
12
!! Put every definition in ONE LINE!!
4424 bpr 13
!let module_author      =WIMSDEV
5254 bpr 14
!let module_address     =wimsdev@groupes.renater.fr
12811 obado 15
!let module_title       =!nosubst $wims_name_cgu
4408 bpr 16
!let module_description =
17
!let module_language    =$lang
18
 
19
!!Your copyright policy.
20
!!Your page will be included in wims distribution if the word `GNU'
21
!! appears in the following definition.
12811 obado 22
!let module_copyright =&copy; 2011 (<a href="COPYING">GNU GPL</a>)
4408 bpr 23
 
24
!header
10261 bpr 25
!set sitemanager=!defof site_manager in wimshome/log/wims.conf
13080 bpr 26
!set sitedpd=!defof site_dpd in wimshome/log/wims.conf
27
!if $sitedpd=$empty
28
  !set sitedpd=$sitemanager
29
!endif
13087 bpr 30
!set backup_delete=!defof backup_delete in wimshome/log/wims.conf
13111 bpr 31
!default backup_delete=!defof backup_delete in wimshome/public_html/bases/sys/define.conf
32
 
13087 bpr 33
!set general_log_limit=!defof general_log_limit in wimshome/log/wims.conf
34
!default general_log_limit=!defof DF_general_log_limit in wimshome/public_html/bases/sys/defaults.conf
35
!set old_log_files=!defof old_log_files in wimshome/log/wims.conf
36
!default old_log_files=!defof DF_old_log_files in wimshome/public_html/bases/sys/defaults.conf
15509 bpr 37
!set log_delete=!defof log_delete in wimshome/log/wims.conf
15551 bpr 38
!default log_delete=!defof DF_log_delete in wimshome/public_html/bases/sys/defaults.conf
13087 bpr 39
 
40
!set size=$[$general_log_limit*$old_log_files]
13090 bpr 41
 
13139 czzmrn 42
!set local_cgu=!fileexists wimshome/public_html/html/rgpd.phtml.local
13138 obado 43
 
13099 obado 44
<div id="js-legals">
45
  <ul>
46
    <li><a href="#cgu">$wims_name_cgu</a></li>
47
    <li><a href="#rgpd">$wims_name_privacy</a></li>
13138 obado 48
    !if $local_cgu notsametext no
49
      <li><a href="#rgpd-local">$wims_name_local_privacy</a></li>
50
    !endif
13099 obado 51
  </ul>
52
  <div id="cgu">
53
    !read wimshome/public_html/html/cgu.phtml.$lang $sitemanager
54
  </div>
55
  <div id="rgpd">
13245 mquerol 56
    !if $lang isitemof it,fr,ca,es
15509 bpr 57
      !read wimshome/public_html/html/rgpd.phtml.$lang $sitedpd,$backup_delete,$log_delete,$size,$wims_protocol,$wims_usecookie
13117 czzmrn 58
    !else
13138 obado 59
      !read wimshome/public_html/html/rgpd.phtml.en $sitedpd,$backup_delete,$size,$wims_protocol,$wims_usecookie
13117 czzmrn 60
    !endif
13099 obado 61
  </div>
13138 obado 62
  !if $local_cgu notsametext no
63
    <div id="rgpd-local">
64
      !read wimshome/public_html/html/rgpd.phtml.local $sitedpd
65
    </div>
66
  !endif
13099 obado 67
</div>
13090 bpr 68
 
13099 obado 69
!if $jquery_defined=yes
13306 obado 70
  <script>
13099 obado 71
    /*<![CDATA[*/
72
    jQuery(function($$) {
73
        $$("#js-legals").tabs();
74
      });
75
    /*]]>*/
76
  </script>
77
!endif
13090 bpr 78
 
4408 bpr 79
!tail