You are here

function theme_getlocations_search in Get Locations 7

Same name and namespace in other branches
  1. 7.2 modules/getlocations_search/getlocations_search.module \theme_getlocations_search()

Themes the search page.

Parameters

array $variables:

Return value

Returns $content

1 theme call to theme_getlocations_search()
getlocations_search in modules/getlocations_search/getlocations_search.module
Menu item

File

modules/getlocations_search/getlocations_search.module, line 707
getlocations_search.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Code

function theme_getlocations_search($variables) {
  $which = $variables['which'];
  $contents = '';
  $contents .= '<div id="getlocations_search_' . $which . '">';
  $getmap = getlocations_search_getmap($which);
  $map = $getmap['map'];
  $mapid = $getmap['mapid'];
  $form = drupal_get_form('getlocations_search_form', $which, $mapid);
  $contents .= drupal_render($form);
  $contents .= $map;
  $contents .= '</div>';
  return $contents;
}