Ignore:
Timestamp:
Mar 21, 2007, 1:34:51 PM (14 years ago)
Author:
erational@…
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_dev_/google_ajax_search/formulaires/formulaire_recherche_google.html

    r10572 r10573  
    1 <div id='searchcontrol' />
     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 TracChangeset for help on using the changeset viewer.