source: spip-zone/_plugins_/_dev_/google_ajax_search/formulaires/formulaire_recherche_google.html @ 10573

Last change on this file since 10573 was 10573, checked in by erational@…, 14 years ago

ajout lien doc + support de balise dynamique #FORMULAIRE_RECHERCHE_GOOGLE{requete}

File size: 515 bytes
Line 
1<div id='searchcontrol'></div>
2<script type="text/javascript">
3      var searchControl = new GSearchControl();
4      var siteSearch = new GwebSearch(); 
5      siteSearch.setSiteRestriction("'.#URL_SITE_SPIP.'");
6      var options = new GsearcherOptions();
7      options.setExpandMode(GSearchControl.EXPAND_MODE_OPEN);
8      searchControl.addSearcher(siteSearch, options);
9      searchControl.draw(document.getElementById("searchcontrol"));
10      [searchControl.execute("(#ENV{recherche})");] 
11</script>
Note: See TracBrowser for help on using the repository browser.