Files
@ 182b6be0813e
Branch filter:
Location: SlatePermutate/school.d/msu.inc - annotation
182b6be0813e
1.9 KiB
text/x-povray
Fix the support for automatic WebAdvisor registration to not enter infinite loops.
The automatic registration process used to enter an infinite loop
every time it was used if the user had been previously issued a
TOKENIDX by WebAdvisor. This means that it would work the first time
in most cases but rarely a second time, if ever. Now we use
LASTTOKEN=NULL instead of TOKENIDX= to request a new token and it
works pretty well.
The automatic registration process used to enter an infinite loop
every time it was used if the user had been previously issued a
TOKENIDX by WebAdvisor. This means that it would work the first time
in most cases but rarely a second time, if ever. Now we use
LASTTOKEN=NULL instead of TOKENIDX= to request a new token and it
works pretty well.
43acd1a78fa7 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 f652ff09d273 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 fb2498a98211 | <?php /* -*- mode: php; -*- */
/*
* Copyright 2010 Nathan Phillip Brink <ohnobinki@ohnopublishing.net>
*
* This file is a part of slate_permutate.
*
* slate_permutate is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* slate_permutate is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with slate_permutate. If not, see <http://www.gnu.org/licenses/>.
*/
function msu_info()
{
return array('name' => 'Michigan State University',
'url' => 'http://msu.edu/',
'domains' => array(
'msu.edu',
),
'example_course_id' => 'ENG-129',
'student_address' => 'Spartan',
);
}
function msu_instructions_html()
{
return <<<EOF
<h2>Instructions</h2>
<ol>
<li>Get in touch with your advisor during advising/reading recess.</li>
<li>Look up each class your advisor specified on the course listing pages.</li>
<li>Enter each class into a SlatePermutate schedule and add each section that is listed that you are willing to take.</li>
<li>Submit your schedule and view all of the different permutations of your schedule which would work with the sections you specified.</li>
<li>Print out your preferred schedule by choosing "print" after selecting a schedule.</li>
<li>Wait until it's your turn to register and grab your preferred sections before they fill up!</li>
</ol> <!-- ' -->
EOF;
}
|