Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Helming2018-05-23 11:42:16 -0400
committerJonas Helming2018-05-23 11:42:16 -0400
commitbaed9de94364495ec9547066db14509b9a58f324 (patch)
treec1262d48c870cef697457299ef76af85c06f8a93
parent2a4380cc9135cecfadcc3d515d33b3b189c8f2e7 (diff)
downloadmodeling-baed9de94364495ec9547066db14509b9a58f324.tar.gz
modeling-baed9de94364495ec9547066db14509b9a58f324.tar.xz
modeling-baed9de94364495ec9547066db14509b9a58f324.zip
Removed Google Analytics, Integrated Check for Cookie consent before
displaying Twitter timeline
-rw-r--r--ui.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/ui.php b/ui.php
index 73c6472b..c8487bbf 100644
--- a/ui.php
+++ b/ui.php
@@ -85,11 +85,16 @@ include($App->getProjectCommon()); # All on the same line to unclutter the us
<div id="rightcolumn">
<div class="sideitem">
<h6>News on Twitter</h6>
- <a id="twitter-timeline" href="https://twitter.com/hashtag/eclipsemf" data-widget-id="503883842478809088">#eclipsemf Tweets</a>
-<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+ <a id="twitter-timeline" href="https://twitter.com/hashtag/eclipsemf" >#eclipsemf Tweets</a>
+
</div>
</div>
</div>
+<script>(function() {
+if (getCookie("eclipse_cookieconsent_status") === "allow") {
+ createTimeline();
+ }
+})()</script>

Back to the top