Project

General

Profile

Revision 103a1463

ID103a14634ee9e4dbc8f03f61da9ca3f102752627
Parent 8bb9f541
Child b3d49e6e

Added by Andreas Kohlbecker over 2 years ago

typos and fixing messages

View differences:

modules/cdm_dataportal/cdm_dataportal.search.php
32 32
 * Prepares a form array for a general purpose search form.
33 33
 *
34 34
 * The form is used for general purpose search functionality in the
35
 * dataportal. The form returned is populated with all nessecary fields
35
 * dataportal. The form returned is populated with all necessary fields
36 36
 * for internal processing and has the textfield element $form['query']
37 37
 * which holds the query term.
38
 * he sub tree array can be extended to contain additional search parameters.
39 38
 *
40 39
 * @param string $action_path
41 40
 *   The Drupal path to be put into the action url to which the form will
......
492 491
 * Processes the query parameters of the search form.
493 492
 *
494 493
 * Reads the query parameters from $_REQUEST and modifies and adds additional
495
 * query parameters if nessecary.
494
 * query parameters if necessary.
496 495
 *
497 496
 *  - Filters $_REQUEST by a list of valid request parameters
498 497
 *  - modifies geographic_range parameters
......
610 609
}
611 610

  
612 611
/**
613
 * Sends a search request at the cdm web server.
612
 * Sends a search request to the cdm server.
614 613
 *
615 614
 * The parameters to build the query are taken obtained by calling
616 615
 * cdm_dataportal_search_request() which reads the query parameters
......
626 625
  // Validate the search webservice parameter:
627 626
  if (!isset($_REQUEST['ws'])) {
628 627
    drupal_set_message(
629
      t("Invalid search webservice parameter 'ws' given"), 'warning'
628
      t("Invalid search, webservice parameter 'ws' is missing"), 'warning'
630 629
    );
631 630
    return NULL;
632 631
  }

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)