# HG changeset patch # User ethanzonca # Date 2010-10-05 22:26:52 # Node ID a20b78145ef58ab6e7565f8bcf8667d7f3dc8da8 # Parent bc5accd3cbd493c693f46b5674461a623e720a81 Coloration, arrow keys, glider killed 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 'id_get() . '&print=all">Print :: Home
'; + echo ''; /* Close document.ready for jquery */ + echo 'id_get() . '&print=all">Print :: Home
Tip: You can use the left and right arrow keys to switch between schedules
'; } + + if($this->nPermutations > 0) { - $table .= "
| ' + html.stripScripts() + ' |