Subversion Repositories wimsdev

Rev

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

  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!!
  13. !let module_author      =WIMSDEV
  14. !let module_address     =wimsdev@groupes.renater.fr
  15. !let module_title       =!nosubst $wims_name_cgu
  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.
  22. !let module_copyright =&copy; 2011 (<a href="COPYING">GNU GPL</a>)
  23.  
  24. !header
  25. !set sitemanager=!defof site_manager in wimshome/log/wims.conf
  26. !set sitedpd=!defof site_dpd in wimshome/log/wims.conf
  27. !if $sitedpd=$empty
  28.  !set sitedpd=$sitemanager
  29. !endif
  30. !set backup_delete=!defof backup_delete in wimshome/log/wims.conf
  31. !default backup_delete=!defof backup_delete in wimshome/public_html/bases/sys/define.conf
  32.  
  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
  37. !set log_delete=!defof log_delete in wimshome/log/wims.conf
  38. !default log_delete=!defof DF_log_delete in wimshome/public_html/bases/sys/defaults.conf
  39.  
  40. !set size=$[$general_log_limit*$old_log_files]
  41.  
  42. !set local_cgu=!fileexists wimshome/public_html/html/rgpd.phtml.local
  43.  
  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>
  48.    !if $local_cgu notsametext no
  49.      <li><a href="#rgpd-local">$wims_name_local_privacy</a></li>
  50.    !endif
  51.  </ul>
  52.  <div id="cgu">
  53.    !read wimshome/public_html/html/cgu.phtml.$lang $sitemanager
  54.  </div>
  55.  <div id="rgpd">
  56.    !if $lang isitemof it,fr,ca,es
  57.      !read wimshome/public_html/html/rgpd.phtml.$lang $sitedpd,$backup_delete,$log_delete,$size,$wims_protocol,$wims_usecookie
  58.    !else
  59.      !read wimshome/public_html/html/rgpd.phtml.en $sitedpd,$backup_delete,$size,$wims_protocol,$wims_usecookie
  60.    !endif
  61.  </div>
  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
  67. </div>
  68.  
  69. !if $jquery_defined=yes
  70.  <script>
  71.    /*<![CDATA[*/
  72.    jQuery(function($$) {
  73.        $$("#js-legals").tabs();
  74.      });
  75.    /*]]>*/
  76.  </script>
  77. !endif
  78.  
  79. !tail
  80.