# HG changeset patch # User ethanzonca # Date 2010-09-25 01:23:24 # Node ID 0137ddfb7b22e79486b3168aff57bd40817315eb # Parent 56b03ab8efe90a45732dfdc366a90e57b73c85cc Fixed up junk left out of ohnobinki's merge, explicitly declare functions pub/priv diff --git a/inc/class.page.php b/inc/class.page.php --- a/inc/class.page.php +++ b/inc/class.page.php @@ -41,12 +41,12 @@ class page { $this->headCode['gliderHeadcode'] = ''; $this->pagetitle = $ntitle; - $this->scripts = $nscripts; + $this->scripts = $nscripts; + + session_start(); if($immediate && $ntitle != "NOHEAD") $this->head(); - - session_start(); } /** @@ -60,7 +60,7 @@ class page { * \param $enable * Whether or not to enable this code while adding it. */ - function headcode_add($key, $code, $enable = FALSE) + public function headcode_add($key, $code, $enable = FALSE) { $this->headCode[$key] = $code; if ($enable) @@ -76,7 +76,7 @@ class page { // Public functions/vars - function head(){ + public function head(){ $this->pageGenTime = round(microtime(), 3); echo 'doctype . '> diff --git a/input.php b/input.php --- a/input.php +++ b/input.php @@ -49,18 +49,17 @@ var sectionsOfClass = Array(); -
- getName()) . '"'; /*"*/ ?> /> - (For example: Fall )
- + Section Labels are