Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 1448 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1448 Rev 1449
Line 32... Line 32...
32
		<script src="http://resources.tela-botanica.org/jquery/photoswipe/3.0.5/klass.min.js"></script>
32
		<script src="http://resources.tela-botanica.org/jquery/photoswipe/3.0.5/klass.min.js"></script>
33
		<script src="http://resources.tela-botanica.org/jquery/photoswipe/3.0.5/code.photoswipe.jquery-3.0.5.min.js"></script>
33
		<script src="http://resources.tela-botanica.org/jquery/photoswipe/3.0.5/code.photoswipe.jquery-3.0.5.min.js"></script>
34
		<script src="http://resources.tela-botanica.org/bootstrap/3.3.4/js/bootstrap.min.js"></script>
34
		<script src="http://resources.tela-botanica.org/bootstrap/3.3.4/js/bootstrap.min.js"></script>
35
		<script src="modules/mobile/presentations/js/mobile.js"></script>	
35
		<script src="modules/mobile/presentations/js/mobile.js"></script>	
Line 36... Line 36...
36
 
36
 
-
 
37
		<!-- Google Analytics (en prod seulement) -->
37
		<!-- Google Analytics -->
38
		<?php if($prod): ?>
38
		<script>
39
		<script>
39
			(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
40
			(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
40
			(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
41
			(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
41
			m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
42
			m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
Line 44... Line 45...
44
			ga('create', 'UA-57885-5', 'auto');
45
			ga('create', 'UA-57885-5', 'auto');
45
			ga('send', 'pageview');
46
			ga('send', 'pageview');
46
			//console.log('{"tag": "<?= $tag_fiche ?>", "nom_sci": "<?= $infos_nom['nom_sci'] ?>", "referentiel": "<?= $infos_nom['referentiel'] ?>"}');
47
			//console.log('{"tag": "<?= $tag_fiche ?>", "nom_sci": "<?= $infos_nom['nom_sci'] ?>", "referentiel": "<?= $infos_nom['referentiel'] ?>"}');
47
			ga('send', 'event', 'fiche', 'consultation', '{"tag": "<?= $tag_fiche ?>", "nom_sci": "<?= $infos_nom['nom_sci'] ?>", "referentiel": "<?= $infos_nom['referentiel'] ?>"}', 1);
48
			ga('send', 'event', 'fiche', 'consultation', '{"tag": "<?= $tag_fiche ?>", "nom_sci": "<?= $infos_nom['nom_sci'] ?>", "referentiel": "<?= $infos_nom['referentiel'] ?>"}', 1);
48
		</script>
49
		</script>
-
 
50
		<?php endif; ?>
49
		<style>	
51
		<style>	
50
			.btn {border-radius:2em;}
52
			.btn {border-radius:2em;}
51
			.container-fluid {padding: 0px;}
53
			.container-fluid {padding: 0px;}
52
			[class*="span"] {margin-left: 0px;}
54
			[class*="span"] {margin-left: 0px;}
53
			.accordion {margin-top: 1em;}
55
			.accordion {margin-top: 1em;}