File "recherche_ecrire.html"

Full path: /home/argothem/www/organecyberpresse/prive/formulaires/recherche_ecrire.html
File size: 1.55 KB
MIME-type: text/html
Charset: utf-8

<div class="formulaire_spip formulaire_recherche" role='search'>
<form action="[(#ENV{action})]" method="get"><div>
	[(#ENV{action}|form_hidden)]
	[<input type="hidden" name="lang" value="(#ENV{lang})">]
	<label for="#ENV{_id_champ,recherche}" class="editer-label visually-hidden"><:info_rechercher_02:></label>
	<input
		type="text"
		class="text[(#ENV{recherche}|oui) cancelable]"
		size="10"
		name="recherche"
		id="#ENV{_id_champ,recherche}"
		placeholder="<:info_rechercher|attribut_html:>"[
		value="(#ENV{recherche})"]
	/>[(#ENV{recherche}|oui)
	<a
		class="cancel[ (#ENV{class,''})]"
		href="[(#ENV{action}|parametre_url{'recherche',''})]"
		onclick="$(this).siblings('input.text').val('')"
		title='<:annuler_recherche|attribut_html:>'
	>[(#CHEMIN_IMAGE{fermer-16.png}
		|balise_img
		|inserer_attribut{alt,<:annuler_recherche:>})]
	</a>]
	<button
		type="submit"
		class="image"
		aria-label="<:info_rechercher|attribut_html:>"
		title="<:info_rechercher|attribut_html:>"
		onclick="return recherche_submit_#ENV{_id_champ,recherche}.apply(this);"
	>
		[(#CHEMIN_IMAGE{rechercher-20.png}|balise_svg)]
	</button>
	<a class="none[ (#ENV{class,''})] refresh" href="[(#ENV{action}|parametre_url{'recherche',''})]"><:info_rechercher:></a>
</div></form>
<script>
function recherche_submit_#ENV{_id_champ,recherche}(){
$.placeholderLabel.disable_placeholder_fields.apply($(this).parents('form').eq(0));
var a=$(this).siblings('a.refresh');
a.attr('href',parametre_url(a.attr('href'),'recherche',$(this).siblings('input.text').val())).followLink();
return false;
}</script>
</div>