# HG changeset patch # User ethanzonca # Date 2010-07-14 00:13:51 # Node ID aa34ac34003fc4fe9f07255bc684a1d8f003ac41 # Parent d0b954ceb988680f11cda778f8eec110238d7f97 Added page class to input.php, fixed up some stuff. Needs a cleanup, maybe move class.*.php files to inc/ diff --git a/inc/class.page.php b/inc/class.page.php --- a/inc/class.page.php +++ b/inc/class.page.php @@ -1,20 +1,18 @@ var _gaq = _gaq || []; @@ -27,14 +25,6 @@ class page { })(); '; // Google analytics ga.js tracking code - public $tablestripe = ''; - private $title = ''; // Title of page private $scripts = ''; // Scripts to include on page @@ -43,6 +33,10 @@ class page { $this->scripts .= $nscripts; if($ntitle != "NOHEAD") $this->head(); + + $headCode['jquery'] = ''; + $headCode['jValidate'] = ''; + $headCode['schedInput'] = ''; } private function top(){ @@ -54,38 +48,33 @@ class page { // Public functions/vars - public function head(){ + private function head(){ session_start(); - - // @TODO: Add capability to load additional javascripts and stylesheets in array form - $this->pageGenTime = round(microtime(), 3); echo 'doctype . '> htmlargs . '>