From 3a5605b5b24d9a1ffdab84e2490a60affd686a81 Mon Sep 17 00:00:00 2001 From: tetue <tetue@rezo.net> Date: Wed, 21 Nov 2007 22:56:05 +0000 Subject: [PATCH] Formulaire de recherche : eviter de repeter 3 fois le mot "rechercher" :-/ --- .gitattributes | 2 +- dist/formulaires/recherche.html | 4 ++-- dist/habillage.css | 2 +- dist/{recherche.png => rechercher.png} | Bin 4 files changed, 4 insertions(+), 4 deletions(-) rename dist/{recherche.png => rechercher.png} (100%) diff --git a/.gitattributes b/.gitattributes index a3a32d6532..1147a2a4d5 100644 --- a/.gitattributes +++ b/.gitattributes @@ -279,7 +279,7 @@ dist/puce.gif -text dist/puce_prive.gif -text dist/puce_prive_rtl.gif -text dist/puce_rtl.gif -text -dist/recherche.png -text +dist/rechercher.png -text dist/spip.png -text dist/spip_style.css -text dist/style_prive.html -text diff --git a/dist/formulaires/recherche.html b/dist/formulaires/recherche.html index 86f4d0d301..f14db58fea 100644 --- a/dist/formulaires/recherche.html +++ b/dist/formulaires/recherche.html @@ -3,8 +3,8 @@ [(#ENV{lien}|form_hidden)] [<input type="hidden" name="lang" value="(#ENV{lang})" />] <label for="recherche"><:info_rechercher:></label> - <input type="text" class="forml" size="10" name="recherche" id="recherche" value="[(#ENV{recherche}|sinon{<:info_rechercher:>})]" onfocus='this.value = "";' onblur='if (this.value == "") { this.value = "[(#ENV{recherche}|sinon{<:info_rechercher:>})]"; }' accesskey="4" /> - <input type="image" src="#CHEMIN{recherche.png}" class="bouton" value="<:info_rechercher:>" /> + <input type="text" class="forml" size="10" name="recherche" id="recherche"[ value="(#ENV{recherche})"] accesskey="4" /> + <input type="image" src="#CHEMIN{rechercher.png}" class="bouton" value="<:info_rechercher:>" /> </div> </form> </div> \ No newline at end of file diff --git a/dist/habillage.css b/dist/habillage.css index c933d1d8bd..47b0e0a9e3 100755 --- a/dist/habillage.css +++ b/dist/habillage.css @@ -58,7 +58,7 @@ div#page { width: 750px; margin: 0 auto; text-align: left; } div#top { margin: 0; border-bottom: 2px solid #8B6F92; padding-top: 1em; } div#top #nom_site_spip, #top a .spip_logos { display: block; float: left; font-weight: bold; font-size: 1.50em; } div#top .formulaire_recherche { float: right; width: 30%; background: none; margin: 0; padding: 1em 0; } -div#top .formulaire_recherche label { display: none; } +div#top .formulaire_recherche label {} div#top .formulaire_recherche input.forml { width: 70%; } div#top .formulaire_recherche input.bouton { vertical-align: middle; } diff --git a/dist/recherche.png b/dist/rechercher.png similarity index 100% rename from dist/recherche.png rename to dist/rechercher.png -- GitLab