diff --git a/class.schedule.php b/class.schedule.php --- a/class.schedule.php +++ b/class.schedule.php @@ -256,8 +256,8 @@ class Schedule */ $footcloser = ''; - if(isset($_REQUEST['print'])){ - $headcode = array('outputStyle', 'outputPrintStyle'); + if(isset($_REQUEST['print']) && $_REQUEST['print'] != ''){ + $headcode = array('jQuery', 'outputStyle', 'outputPrintStyle'); } else { $footcloser .="'; - echo '
'; + echo ''; + echo 'Select Schedules to Print :: Return to normal view :: Home
'; + echo 'There were a total of " . $this->possiblePermutations . " possible permutations. Only " . $this->nPermutations . " permutations had no class conflicts.
"; @@ -533,7 +555,7 @@ class Schedule $table .= ""; } - echo $table . $footcloser; + echo $table . "" . $footcloser; // Closes off the content div } else { echo 'There are no possible schedules. Please try again.
'; } @@ -550,7 +572,7 @@ class Schedule */ $savedkey = max(array_keys($_SESSION['saved'])) + 1; } - echo ''; + echo ''; $outputPage->foot(); }