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
 
@@ -233,13 +233,13 @@ class Schedule
 

	
 
			"\n<link rel=\"stylesheet\" href=\"styles/glider.css\" type=\"text/css\" media=\"screen\" charset=\"utf-8\">".
 
			"\n<script src=\"scripts/prototype.js\" type=\"text/javascript\" charset=\"utf-8\"></script>". 
 
			"\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>".
 

	
 
			"\n\n<div id=\"header\">\n<h1><em>SlatePermutate</em> - Scheduler</h1><h3>Schedule name: " . $this->getName() . "</h3>\n</div><div id=\"content\">";
 
			
 
		$footer .="</div></div><script type=\"text/javascript\" charset=\"utf-8\">". 
inc/class.page.php
Show inline comments
 
@@ -13,13 +13,22 @@ class page {
 
  private $isMobile = false; // Have a basic view when this is true
 

	
 
  private $pageGenTime = 0;
 

	
 
  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(){
 
			    $(".tablestripe tr").mouseover(function() {$(this).addClass("over");}).mouseout(function() {$(this).removeClass("over");});
 
			    $(".tablestripe tr:even").addClass("alt");
 
			    $(".tablestripe tr:odd").addClass("alto");
input.php
Show inline comments
 
@@ -265,14 +265,12 @@ include_once 'class.section.php';
 

	
 
</script>
 

	
 
</head>
 
<body>
 

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

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