Generic Instructions
  slate_permutate can be a useful tool for scheduling your next semester at the college you attend.
  - Get in touch with your advisor and find out what courses you need to take next semester.
 
  - Look up each course which your advisor specified in your college's course catalog. Note the different sections for each course..
 
  - Enter each course into a slate_permutate schedule. For each course, add the sections listed in your school's course catalogue (at your discretion).
 
  - Submit your list of courses and their sections. Let slate_permutate perform its magic.
 
  - View all of the different permutations of your schedule and find a few that work for you.
 
  - Print out your preferred schedule by selecting a schedule an choosing your User-Agent's print option.
 
  - Wait until it's your turn to register and grab your preferred sections before they fill up!
 
EOF;
}
/**
 * \brief
 *  A generic fallback for school_registration_html().
 *
 * \see school_registration_html()
 */
function default_registration_html(Page $page, array $school, array $courses)
{
  if (!empty($school['registration_url']))
    {
      $link_url = $school['registration_url'];
      $link_text = $school['name'] . '\'s registration system';
    }
  else
    {
      $link_url = $school['url'];
      $link_text = $school['name'] . '\'s website';
    }
  $html = ''
    . '  ' . PHP_EOL
    . '    Enter these codes into ' . htmlentities($school['name']) . '\'s online course registration' . PHP_EOL
    . '    system (' . htmlentities($link_text) . ')' . PHP_EOL
    . '    to register for classes:' . PHP_EOL
    . '  
' . PHP_EOL
    . '  ' . PHP_EOL;
  foreach ($courses as $course)
    foreach ($course as $section)
      $html .= '    - ' . htmlentities($section->getSynonym()) . '
 ' . PHP_EOL;
  $html .= '  
' . PHP_EOL;
  return $html;
}