You are here

function theme_google_appliance_keymatches in Google Search Appliance 6.2

Theme keymatches

1 theme call to theme_google_appliance_keymatches()
theme_google_appliance_search_view in ./google_appliance.module
Theme the search results.

File

./google_appliance.module, line 1315
Google Search Appliance (GSA) / Google Mini integration

Code

function theme_google_appliance_keymatches($keymatches) {
  $list = array();
  foreach ($keymatches as $url => $title) {
    $link = l($title, $url);
    $list[] = $link . '<div class="url">' . $url . '</div>';
  }
  if ($list) {
    return theme('item_list', $list, NULL, 'ul', array(
      'class' => 'google-appliance-keymatches',
    ));
  }
}