diff --git a/class.schedule.php b/class.schedule.php --- a/class.schedule.php +++ b/class.schedule.php @@ -282,20 +282,23 @@ class Schedule $footcloser = ''; if(isset($_REQUEST['print']) && $_REQUEST['print'] != ''){ - $headcode = array('jQuery', 'outputStyle', 'outputPrintStyle'); + $headcode = array('jQuery', 'jQueryUI', 'uiTabsKeyboard', 'outputStyle', 'outputPrintStyle'); } else { - $footcloser .=""; - $headcode = array('outputStyle', 'gliderHeadcode'); + "\n"; */ + $headcode = array('outputStyle', 'jQuery', 'jQueryUI', 'uiTabsKeyboard'); } $outputPage = new page($this->getName(), $headcode); + + if(isset($_REQUEST['print'])){ - echo ''; + echo '}); '; /* Close document.ready for jquery */ + echo 'window.print(); '; + echo '

Select Schedules to Print :: Return to normal view :: Home

'; echo '


'; } else { - echo '

Print :: Home

'; + echo ''; /* Close document.ready for jquery */ + echo '

Print :: Home

Tip: You can use the left and right arrow keys to switch between schedules

'; } + + if($this->nPermutations > 0) { - $table .= "
\n" - . "
\n"; + $table .= "
\n" + . "
\n" + $table .= "

\n \n" . "
" . "
"; for($i = 0; $i < $this->nPermutations; $i++) { - $table .= "
"; + $table .= "
"; // Beginning of table $table .= "";