Commit b86f7506 authored by fred's avatar fred

search ok

parent d73e6d6b
......@@ -12,25 +12,7 @@
]
#FORMULAIRE_RECHERCHE
<div class="formulaire_recherche_barre[ (#ENV{class})]" id="formulaire_recherche_barre">
<form action="spip.php?page=recherche" method="get" class="navbar-search">
[(#ENV{action}|form_hidden)]
[<input type="hidden" name="lang" value="(#ENV{lang})" />]
<div class="input-append">
<input type="[(#HTML5|?{search,text})]" class="search text search-query span2" name="recherche" id="search"[ value="(#ENV{recherche}|?{#ENV{recherche},<:info_rechercher|attribut_html:>})"] accesskey="4" autocapitalize="off" autocorrect="off" title="<:info_rechercher:>" />
[(#REM)
<button type="submit" class="btn" title="<:info_rechercher|attribut_html:>" >&gt;&gt;</button>
]
</div>
</form>
</div>
<script>
$("#search").on("click", function() {
if ($(this).val() == "<:info_rechercher|attribut_html:>")
$(this).val("");
});
</script>
<B_offre>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment