Skip to content

Commit

Permalink
Contrast Finder V0.2 final
Browse files Browse the repository at this point in the history
  • Loading branch information
lingua committed Dec 12, 2013
1 parent 4e0a0b8 commit df34eb5
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions color-finder-webapp/src/main/webapp/WEB-INF/template/footer.jspf~
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@page pageEncoding="UTF-8"%>
<jsp:useBean id="now" class="java.util.Date" scope="page" />
<footer class="container">
<div id="footer-msg">
<p><fmt:message key="footer.paragraphe"/></p>
<ul>
<li><fmt:message key="footer.tanaguru"/></li>
<li><fmt:message key="footer.kbaccess"/></li>
</ul>
</div>
<p id="footer-copyright">© <fmt:formatDate value="${now}" pattern="yyyy" /> <a href="http://www.Open-S.com/">Open-S</a> - Version 0.2 - <a href="http://blog.tanaguru.com/">Blog Tanaguru</a></p>
</footer>
<c:set var="analytics" value=""/>
<c:if test="${not empty analytics}">
<script>
(function(i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function() {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');

ga('create', '${analytics}', 'tanaguru.com');
ga('send', 'pageview');

</script>
</c:if>

<c:set var="piwikSiteId" value=""/>
<c:if test="${not empty piwikSiteId}">
<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(["trackPageView"]);
_paq.push(["enableLinkTracking"]);

(function() {
var u = (("https:" == document.location.protocol) ? "https" : "http") + "://stats.open-s.com/";
_paq.push(["setTrackerUrl", u + "piwik.php"]);
_paq.push(["setSiteId", "${piwikSiteId}"]);
var d = document, g = d.createElement("script"), s = d.getElementsByTagName("script")[0];
g.type = "text/javascript";
g.defer = true;
g.async = true;
g.src = u + "piwik.js";
s.parentNode.insertBefore(g, s);
})();
</script>
<!-- End Piwik Code -->
</c:if>

0 comments on commit df34eb5

Please sign in to comment.