diff --git a/inc/class.page.php b/inc/class.page.php --- a/inc/class.page.php +++ b/inc/class.page.php @@ -257,6 +257,11 @@ class page foreach ($this->scripts as $i) echo ' ' . $this->headCode["$i"] . "\n"; + $selectschool_query = '&school=' . $this->school['id']; + /* kludge */ + if (!empty($_REQUEST['s'])) + $selectschool_query .= '&s=' . (int)$_REQUEST['s']; + echo ' ' . PHP_EOL . '
'. PHP_EOL . ''. PHP_EOL . ' '.$this->pagetitle.''. PHP_EOL . ' '. PHP_EOL . '
'. PHP_EOL . '