You are here

function theme_google_cse_search_noresults in Google Custom Search Engine 7.2

Same name and namespace in other branches
  1. 8.2 google_cse.module \theme_google_cse_search_noresults()
  2. 7.3 google_cse.module \theme_google_cse_search_noresults()

Brief message to display when no results match the query.

See also

search_help()

1 theme call to theme_google_cse_search_noresults()
google_cse_search_page in ./google_cse.module
Implements hook_search_page().

File

./google_cse.module, line 352
Display a Google Custom Search Engine (CSE) on your site.

Code

function theme_google_cse_search_noresults() {
  return t('<h2>Sorry there were no results matching your enquiry.</h2>
    <ul>
    <li>Check the spelling of your keywords</li>
    <li>Try a more specific enquiry (e.g. <em>"Penny Black"</em> instead of <em>"Stamps"</em>): "blue drop"</em></li>
    <li>Be explicit (e.g. <em>"Second class stamp"</em> instead of <em>"Stamp"</em>)</li>
    <li>Include spaces between keywords</li>
    </ul>');
}