You are here

function theme_google_cse_search_noresults in Google Custom Search Engine 7.3

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

Brief message to display when no results match the query.

See also

search_help()

File

./google_cse.module, line 251
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>).</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>');
}