From 76a70dc91e4b277d9946d0e6563db8964275adac Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 22 May 2017 22:09:54 +0300 Subject: juick-www: Google Analytics is served by Cloudflare now --- .../com/juick/www/controllers/PageTemplates.java | 13 ++---------- .../main/webapp/WEB-INF/views/partial/footer.html | 23 ++++++++-------------- 2 files changed, 10 insertions(+), 26 deletions(-) (limited to 'juick-www/src/main') diff --git a/juick-www/src/main/java/com/juick/www/controllers/PageTemplates.java b/juick-www/src/main/java/com/juick/www/controllers/PageTemplates.java index 261efff3..9c6251b0 100644 --- a/juick-www/src/main/java/com/juick/www/controllers/PageTemplates.java +++ b/juick-www/src/main/java/com/juick/www/controllers/PageTemplates.java @@ -179,24 +179,15 @@ public class PageTemplates { out.println(""); out.println(""); - out.println(""); } - - out.println(""); } public void pageEnd(PrintWriter out) { diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/footer.html b/juick-www/src/main/webapp/WEB-INF/views/partial/footer.html index c9ccb26d..0fcd16de 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/partial/footer.html +++ b/juick-www/src/main/webapp/WEB-INF/views/partial/footer.html @@ -16,19 +16,12 @@ {% endif %} +{% if (showAdv | default(false)) %} \ No newline at end of file + var _acic={dataProvider:10}; + (function(){ + var e=document.createElement('script');e.type='text/javascript';e.async=true;e.src='//www2.aci'+'nt.net/aci.js'; + var t=document.getElementsByTagName('script')[0];t.parentNode.insertBefore(e,t); + })(); + +{% endif %} \ No newline at end of file -- cgit v1.2.3