removed all piwik references after encountering problems with mixed content
svn path=/trunk/; revision=29291
This commit is contained in:
@@ -3,23 +3,6 @@
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template name="body_scripts">
|
||||
<!-- Piwik -->
|
||||
<script type="text/javascript">
|
||||
//enable piwik on plain text page only
|
||||
pkBaseURL = "http://piwik.fsfe.org/";
|
||||
if ("http:" == document.location.protocol) {
|
||||
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
|
||||
}
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
try {
|
||||
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 4);
|
||||
piwikTracker.trackPageView();
|
||||
piwikTracker.enableLinkTracking();
|
||||
} catch( err ) {}
|
||||
</script>
|
||||
<!-- End Piwik Tracking Code -->
|
||||
|
||||
<script src="/scripts/bootstrap-3.0.3.min.js"></script>
|
||||
<script src="/scripts/master.js"></script>
|
||||
<script src="/scripts/placeholder.js"></script>
|
||||
|
||||
@@ -62,7 +62,6 @@
|
||||
function(data) {
|
||||
$("#support_form").fadeOut();
|
||||
$("#introduction").append('<div id="support_form_sent">'+data+'</div>');
|
||||
piwikTracker.trackGoal(2); // logs a conversion for goal 2
|
||||
}
|
||||
);
|
||||
|
||||
@@ -87,7 +86,6 @@
|
||||
function(data) {
|
||||
$("#support_form").fadeOut();
|
||||
$("#introduction").append('<div id="support_form_sent">'+data+'</div>');
|
||||
piwikTracker.trackGoal(2); // logs a conversion for goal 2
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@@ -1669,27 +1669,6 @@
|
||||
|
||||
</xsl:element>
|
||||
<!--/footer#bottom-->
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- Piwik -->
|
||||
<script type="text/javascript">
|
||||
//enable piwik on plain text page only
|
||||
pkBaseURL = "http://piwik.fsfe.org/";
|
||||
if ("http:" == document.location.protocol) {
|
||||
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
|
||||
}
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
try {
|
||||
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 4);
|
||||
piwikTracker.trackPageView();
|
||||
piwikTracker.enableLinkTracking();
|
||||
} catch( err ) {}
|
||||
</script>
|
||||
<!-- End Piwik Tracking Code -->
|
||||
|
||||
</body>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
@@ -146,7 +146,6 @@ else {
|
||||
} else {
|
||||
require('template-thankyou.en.inc');
|
||||
}
|
||||
// removed Piwik script from here, instead trigger manual goal in submission JS code
|
||||
|
||||
if ($email_found == true){
|
||||
// message if e-mail already existed in database
|
||||
|
||||
Reference in New Issue
Block a user