Changeset 86188 in spip-zone for _squelettes_/eva-web


Ignore:
Timestamp:
Nov 20, 2014, 4:53:33 PM (5 years ago)
Author:
cedric@…
Message:

utiliser le placeholder, plus moderne

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _squelettes_/eva-web/4_2/eva_web42/formulaire_recherche.html

    r54857 r86188  
    88                name="recherche"
    99                size="15"
    10                 onfocus="if (this.value == '<:rechercher:>') { this.value = ''; }"
    11                 onblur="if (this.value == '') { this.value = '<:rechercher:>'; }"
    12                 value="<:rechercher:>" />
     10                placeholder="<:rechercher|attribut_html:>"
     11                value="[(#ENV{recherche,''}|attribut_html)]" />
    1312        </label>
    1413        <input type="submit" value="<:go:>" class="spip_bouton" />
Note: See TracChangeset for help on using the changeset viewer.