--- a/src/ztfy/myams/templates/fullpage-layout.pt Tue Oct 14 14:46:45 2014 +0200
+++ b/src/ztfy/myams/templates/fullpage-layout.pt Tue Dec 02 17:10:50 2014 +0100
@@ -24,18 +24,19 @@
<!-- Content -->
<div id="content" style="opacity: 1;">
- <!--[if IE 8]>
+ <!--[if lt IE 9]>
<h1>Votre navigateur est trop ancien. Veuillez installer une version 9 ou supérieure d'Internet Explorer.</h1>
<![endif]-->
<tal:var content="structure provider:pagelet" />
</div>
+ <!-- end content -->
<tal:if condition="config/google_analytics_key">
<!-- Google Analytics -->
- <script type="text/javascript">
+ <script type="text/javascript" tal:content="python:'''
var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-xxxxxx-y']);
+ _gaq.push(['_setAccount', '%(key)s']);
_gaq.push(['_trackPageview']);
(function() {
@@ -44,7 +45,8 @@
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
- </script>
+ ''' % {'key': config.google_analytics_key}"></script>
+ <!-- end Google Analytics -->
</tal:if>
</body>
</html>
--- a/src/ztfy/myams/templates/fullpage-modal-layout.pt Tue Oct 14 14:46:45 2014 +0200
+++ b/src/ztfy/myams/templates/fullpage-modal-layout.pt Tue Dec 02 17:10:50 2014 +0100
@@ -24,7 +24,7 @@
<!-- Content -->
<div id="content" style="opacity: 1;">
- <!--[if IE 8]>
+ <!--[if lt IE 9]>
<h1>Your browser is too old. Please use Internet Explorer version 9 or later.</h1>
<![endif]-->
<div class="modal-dialog modal-medium"
@@ -35,10 +35,10 @@
<tal:if condition="config/google_analytics_key">
<!-- Google Analytics -->
- <script type="text/javascript">
+ <script type="text/javascript" tal:content="python:'''
var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-xxxxxx-y']);
+ _gaq.push(['_setAccount', '%(key)s']);
_gaq.push(['_trackPageview']);
(function() {
@@ -47,7 +47,8 @@
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
- </script>
+ ''' % {'key': config.google_analytics_key}"></script>
+ <!-- end Google Analytics -->
</tal:if>
</body>
</html>
--- a/src/ztfy/myams/templates/layout.pt Tue Oct 14 14:46:45 2014 +0200
+++ b/src/ztfy/myams/templates/layout.pt Tue Dec 02 17:10:50 2014 +0100
@@ -157,7 +157,7 @@
<!-- Content -->
<div id="content" style="opacity: 1;">
- <!--[if IE 8]>
+ <!--[if lt IE 9]>
<h1>Votre navigateur est trop ancien. Veuillez installer une version 9 ou supérieure d'Internet Explorer.</h1>
<![endif]-->
<tal:var content="structure provider:pagelet" />