diff --git a/class.schedule.php b/class.schedule.php --- a/class.schedule.php +++ b/class.schedule.php @@ -245,28 +245,29 @@ class Schedule "\n\n
\n

SlatePermutate - Scheduler

Schedule name: " . $this->getName() . "

\n
". */ - $headcode = array('outputStyle', 'gliderHeadcode'); + $footcloser = ''; + + if(isset($_REQUEST['print'])){ + $headcode = array('outputStyle', 'outputPrintStyle'); + } + else { + $footcloser .="
"; + $headcode = array('outputStyle', 'gliderHeadcode'); + } $outputPage = new page($this->getName(), $headcode); - - - - - - - - - - - - + if(isset($_REQUEST['print'])){ + echo ''; + echo '

Return to normal view :: Home

'; + } + else { + echo '

Print :: Home

'; + } echo "

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

"; - - $footcloser .=""; - + if($this->nPermutations > 0) {