Changeset - d0b954ceb988
[Not reviewed]
default
1 3 0
ethanzonca - 15 years ago 2010-07-13 23:32:41

Fixed tracking issues
4 files changed with 11 insertions and 17 deletions:
0 comments (0 inline, 0 general)
analyticstracking.php
Show inline comments
 
deleted file
class.schedule.php
Show inline comments
 
@@ -236,7 +236,7 @@ class Schedule
 
			"\n<script src=\"scripts/effects.js\" type=\"text/javascript\" charset=\"utf-8\"></script>".
 
			"\n<script src=\"scripts/glider.js\" type=\"text/javascript\" charset=\"utf-8\"></script>".
 
			
 
			"\n</head><body><?php include_once("analyticstracking.php") ?>".
 
			"\n</head><body>".
 

	
 
			"<p>There were a total of " . $this->possiblePermutations . " possible permutations. Only " . $this->nPermutations . " permutations had no class conflicts.</p>".
 

	
inc/class.page.php
Show inline comments
 
@@ -16,7 +16,16 @@ class page {
 

	
 
  private $indexpath = 'http://protofusion.org/SlatePermutate/'; // full url to index for php header redirection
 

	
 
  private $trackingcode = ''; // Google analytics ga.js tracking code
 
  private $trackingcode = '<script type="text/javascript">
 
				  var _gaq = _gaq || [];
 
				  _gaq.push([\'_setAccount\', \'UA-17441156-1\']);
 
				  _gaq.push([\'_trackPageview\']);
 
				  (function() {
 
				    var ga = document.createElement(\'script\'); ga.type = \'text/javascript\'; ga.async = true;
 
				    ga.src = (\'https:\' == document.location.protocol ? \'https://ssl\' : \'http://www\') + \'.google-analytics.com/ga.js\';
 
				    var s = document.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(ga, s);
 
				  })();
 
				</script>'; // Google analytics ga.js tracking code
 

	
 
  public $tablestripe = '<script type="text/javascript">
 
			  $(document).ready(function(){
input.php
Show inline comments
 
@@ -268,8 +268,6 @@ include_once 'class.section.php';
 
</head>
 
<body>
 

	
 
<?php include_once("analyticstracking.php") ?>
 

	
 
<div id="header">
 
	<h1>
 
		<em>
0 comments (0 inline, 0 general)