You are here

function theme_google_appliance_synonyms in Google Search Appliance 6.2

Theme synonyms

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

File

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

Code

function theme_google_appliance_synonyms($synonyms) {
  $list = array();
  foreach ($synonyms as $synonym => $url) {
    $list[] = t("You could also try: !link", array(
      '!link' => l($synonym, $url),
    ));
  }
  if ($list) {
    return theme('item_list', $list, NULL, 'ul', array(
      'class' => 'google-appliance-synonyms',
    ));
  }
}