function course_search_settings_form

7.x course_search.module course_search_settings_form($school_id = 0)
6.x course_search.module course_search_settings_form($school_id = 0)
4.x course_search.module course_search_settings_form()
5.x course_search.module course_search_settings_form()

The system settins form for course_search settings.

File

modules/course_search/course_search.module, line 177
This module allows users to search for courses, descriptions, and, if supported, rotation schedules and sample syllabi.

Code

function course_search_settings_form() {
  $form = array();

  $form ["course_search_avail_term_id_suffix_order"] = array(
    "type" => "textfield",
    "label" => t("Available Term ID Suffixes & Order"),
    "value" => variable_get("course_search_avail_term_id_suffix_order", ""),
    "description" => t("Enter the order of term ID suffixes, so that they will display
                in the correct order in the table of available course
                offerings.  Separate by comma.") . "
                <br>
                Ex: 60, 40, 41, 80, 81, mm",
  );

  $form ["course_search_avail_term_headers"] = array(
    "type" => "textfield",
    "label" => t("Available Term Table Headers"),
    "value" => variable_get("course_search_avail_term_headers", ""),
    "description" => t("Enter the table headers for the available table, in the same
                order as the suffix order above.") . "
                <br>
                Ex: Spring, May, Summer 1, Summer 2, Fall, Winter",
  );


  $form ["course_search_avail_term_mobile_headers"] = array(
    "type" => "textfield",
    "label" => t("Available Term Mobile Table Headers"),
    "value" => variable_get("course_search_avail_term_mobile_headers", ""),
    "description" => t("Enter the table headers for the available table, in the same
                order as the suffix order above, as it should be displayed on
                a mobile device (with a smaller screen).") . "
                <br>
                Ex: Spr, May, Sum1, Sum2, Fall, Win",
  );


  return $form;
}