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 . @@ -266,9 +271,9 @@ class page '

'. PHP_EOL . ' '.$this->pagetitle.''. PHP_EOL . ' ' . PHP_EOL - . ' Profile: ' . $this->school['name'] . '' . ($this->school_semester_constant ? '' : ' (change)') . PHP_EOL; + . ' Profile: ' . $this->school['name'] . '' . ($this->school_semester_constant ? '' : ' (change)') . PHP_EOL; if (!empty($this->semester)) - echo ' Semester: ' . $this->semester['name'] . '' . ($this->school_semester_constant ? '' : ' (change)') . PHP_EOL; + echo ' Semester: ' . $this->semester['name'] . '' . ($this->school_semester_constant ? '' : ' (change)') . PHP_EOL; echo ' '. PHP_EOL . '

'. PHP_EOL . '
'. PHP_EOL .