# HG changeset patch # User Nathan Phillip Brink # Date 2011-02-06 09:45:37 # Node ID 1ae3c9d7f964df8085b7aeb9dc56583a48c9c1a7 # Parent d9aac160c873428be471253104f733ab346f1eac Add the University of Maryland with a pointer to ourumd's schedule maker and without a crawler. school_id=umd. diff --git a/school.d/umd.inc b/school.d/umd.inc new file mode 100644 --- /dev/null +++ b/school.d/umd.inc @@ -0,0 +1,51 @@ + + * + * 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 . + */ + +function umd_info() +{ + return array('name' => 'University of Maryland', + 'url' => 'http://umd.edu/', + 'domains' => array( + 'umd.edu', + ), + 'example_course_id' => 'CMSC106', + 'student_address' => 'student', + ); +} + +function umd_instructions_html() +{ + /* ``inherit'' stuff from the default school. */ + $default_school = school_load('default'); + $school_info = umd_info(); + + return <<UMD Notes +

+ We do not yet have support autocomplete for the $school_info[name]. You may find ourumd's Schedule Maker more useful than + slate_permutate — even if we did have autocomplete support for + $school_info[name]. +

+EOF + . default_instructions_html(); +}