Browse Source

Fichier inutile

svn/root/tags/v6.7.6
p@henix.be 5 years ago
parent
commit
65bec1cf27
  1. 2
      .gitattributes
  2. 48
      inclure/head-foundation-app.html
  3. 29
      inclure/head-foundation.html

2
.gitattributes vendored

@ -11,8 +11,6 @@ formulaires/configurer_foundation_6.php -text
inc/foundation.php -text
inclure/css/head-foundation-app.html -text
inclure/css/head-foundation.html -text
inclure/head-foundation-app.html -text
inclure/head-foundation.html -text
inclure/js-foundation-app.html -text
inclure/js-foundation.html -text
inclure/reveal-close.html -text

48
inclure/head-foundation-app.html

@ -1,48 +0,0 @@
[(#REM) Inclusion des fichier Javascript si la config le permet ]
[(#CONFIG{foundation_6/javascript}|oui)
[(#SPIP_VERSION|floatval|>={3.1}|oui)
[(#REM)
Trouver le fichier foundation.js
]
[(#CHEMIN{bower_components/foundation-sites/dist/js/foundation.js}|?{
[(#SET{foundationjs,[(#CHEMIN{bower_components/foundation-sites/dist/js/foundation.js}|timestamp)]})],
[(#SET{foundationjs,[(#CHEMIN{bower_components/foundation-sites/dist/foundation.js}|timestamp)]})]
})]
[(#REM)
Trouver l'emplacement de what-input.js
]
[(#CHEMIN{bower_components/what-input/what-input.min.js}|?{
[(#SET{whatinpujs, [(#CHEMIN{bower_components/what-input/what-input.min.js}|timestamp)]})],
[(#SET{whatinpujs, [(#CHEMIN{bower_components/what-input/dist/what-input.min.js}|timestamp)]})]
})]
[(#LISTE{
#GET{whatinpujs},
#GET{foundationjs},
[(#CHEMIN{lib/foundation-6/js/app.js}|timestamp)],
[(#CHEMIN{javascript/spip.foundation.js}|timestamp)]
}|jQlfoundation)]
]
[(#SPIP_VERSION|floatval|>={3.1}|non)
[(#CHEMIN{bower_components/foundation-sites/dist/js/foundation.js}|?{
[<script src="(#CHEMIN{bower_components/foundation-sites/dist/js/foundation.js})" type="text/javascript"></script>],
[<script src="(#CHEMIN{bower_components/foundation-sites/dist/foundation.js})" type="text/javascript"></script>]
})]
<script type="text/javascript">
// Charger les scripts Foundation
$(function () {
[(#CHEMIN{bower_components/what-input/what-input.min.js}|?{
$.getScript("[(#CHEMIN{bower_components/what-input/what-input.min.js}|timestamp)]"),
$.getScript("[(#CHEMIN{bower_components/what-input/dist/what-input.min.js}|timestamp)]")})]
$.getScript("[(#CHEMIN{js/app.js}|timestamp)]");
$.getScript("[(#CHEMIN{javascript/spip.foundation.js}|timestamp)]");
});
</script>
]
]

29
inclure/head-foundation.html

@ -1,29 +0,0 @@
[(#REM) Inclusion des fichier Javascript si la config le permet ]
[(#CONFIG{foundation_6/javascript}|oui)
[(#SPIP_VERSION|floatval|>={3.1}|oui)
[(#LISTE{
[(#CHEMIN{lib/foundation-6/js/vendor/what-input.js}|timestamp)],
[(#CHEMIN{lib/foundation-6/js/vendor/foundation.js}|timestamp)],
[(#CHEMIN{lib/foundation-6/js/app.js}|timestamp)],
[(#CHEMIN{javascript/spip.foundation.js}|timestamp)]
}|jQlfoundation)]
]
[(#REM)
jQl n'est présent qu'en SPIP 3.1, donc il faut tester la version de SPIP
]
[(#SPIP_VERSION|floatval|>={3.1}|non)
[<script src="(#CHEMIN{lib/foundation-6/js/vendor/foundation.js})" type="text/javascript"></script>]
<script type="text/javascript">
// Charger les scripts foundations
$(function () {
$.getScript("[(#CHEMIN{lib/foundation-6/js/vendor/what-input.js}|timestamp)]");
$.getScript("[(#CHEMIN{lib/foundation-6/js/app.js}|timestamp)]");
$.getScript("[(#CHEMIN{javascript/spip.foundation.js}|timestamp)]");
});
</script>
]
]
Loading…
Cancel
Save