Subversion Repositories wimsdev

Rev

Rev 14927 | Rev 15468 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !if $jquery_defined=yes
  2.  
  3.   <!-- Foundation for Sites 6 footer template (see http://foundation.zurb.com/sites/docs/)  -->
  4.  
  5.   <script src="scripts/js/external/what-input/what-input.min.js"></script>
  6.  
  7.   <script src="html/themes/_inc/foundation/foundation.core.js"></script>
  8.   <script src="html/themes/_inc/foundation/foundation.util.mediaQuery.js"></script>
  9.  
  10.   <script src="html/themes/_inc/foundation/foundation.util.keyboard.js"></script>
  11.   <script src="html/themes/_inc/foundation/foundation.util.box.js"></script>
  12.   <script src="html/themes/_inc/foundation/foundation.util.nest.js"></script>
  13.   <script src="html/themes/_inc/foundation/foundation.util.touch.min.js"></script>
  14.   <script src="html/themes/_inc/foundation/foundation.util.triggers.js"></script>
  15.   <script src="html/themes/_inc/foundation/foundation.util.motion.js"></script>
  16.  
  17.  
  18.   !!<!-- Reveal (modal popups) -->
  19.   <script src="html/themes/_inc/foundation/foundation.reveal.js"></script>
  20.  
  21.   !!<!-- dropdown Menu (used by languages selector) -->
  22.   <script src="html/themes/_inc/foundation/foundation.dropdownMenu.js"></script>
  23.  
  24.   !! periode de test : on ne l'active que sur certains modules pour l'instant.
  25.   !if $module isitemof adm/class/addmodule,home,adm/class/freework
  26.     !!<!-- Accordion (used in adm/class/addmodule) -->
  27.     <script src="html/themes/_inc/foundation/foundation.accordion.min.js"></script>
  28.   !endif
  29.  
  30.   !! periode de test (et c'est plus optimisé)
  31.  !! On ne l'active que sur certains modules pour l'instant.
  32.  !set testmsg=!defof frontmsg in wimshome/log/wims.conf
  33.  !if $testmsg!=$empty
  34.    !set has_frontmsg=yes
  35.    !reset testmsg
  36.  !endif
  37.  !if $module=home and $wims_user=$empty
  38.    !if $wims_frontmsg!=$empty and $front_nbslide>0
  39.      !! permet de faire un "caroussel"
  40.      <script src="scripts/js/external/slick/slick.min.js"></script>
  41.      <script>
  42.        jQuery(function($$) {
  43.          $$('.carousel').slick({
  44.            autoplay: true,
  45.            dots: true,
  46.          });
  47.        });
  48.      </script>
  49.    !endif
  50.  !endif
  51.  
  52.  !! il semble que tooltip ne fonctionne pas bien. voir pourquoi ?
  53.  !! il doit y avoir un conflit... ?
  54.  !!<script src="html/themes/_inc/foundation/foundation.tooltip.js"></script>
  55.  
  56.  !! avant de mettre foundation complet, il faut d'abord remplacer
  57.   !! les reveals JqUI, car ils sont incompatibles ?
  58.   !!<script src="html/themes/_inc/foundation.min.js"></script>
  59.   !! voir les occurences de ".dialog(" dans :
  60.   !! _inc/session_warn.js (alerte de fin de session)
  61.  
  62.   <script>jQuery(function($$) {$$(document).foundation();});</script>
  63. !endif
  64.