Changeset 52270 in spip-zone


Ignore:
Timestamp:
Oct 2, 2011, 12:58:34 PM (8 years ago)
Author:
kent1@…
Message:

Pouvoir passer un size sur chaque sélecteur potentiellement multiple (par défaut à 10 en général)

Location:
_plugins_/saisies/saisies
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/saisies/saisies/articles_originaux.html

    r50421 r52270  
    2020                multiple=oui})]
    2121]
    22 <select name="#ENV{nom}[(#ENV{multiple}|?{[(#VAL{&#91;&#93;}|html_entity_decode)]})]" id="champ_#ENV{nom}"[ class="(#ENV{class})"][(#ENV{multiple}|oui) multiple="multiple"]>
     22<select name="#ENV{nom}[(#ENV{multiple}|?{[(#VAL{&#91;&#93;}|html_entity_decode)]})]" id="champ_#ENV{nom}"[ class="(#ENV{class})"][(#ENV{multiple}|oui) multiple="multiple" size="#ENV{size,10}"]>
    2323        [(#ENV{cacher_option_intro}|ou{#ENV{multiple}}|non)
    2424                <option value="0">[(#ENV{option_intro})]</option>]
  • _plugins_/saisies/saisies/auteurs.html

    r51366 r52270  
    2222        #SET{bonhomme_statut, #ARRAY{0minirezo, admin-12.gif, 1comite, redac-12.gif, 6forum, visit-12.gif}}
    2323]
    24 <select name="#ENV{nom}[(#ENV{multiple}|?{[(#VAL{&#91;&#93;}|html_entity_decode)]})]" id="champ_#ENV{nom}"[ class="(#ENV{class})"][(#ENV{multiple}|oui) multiple="multiple" size="10"][ disabled="(#ENV{disable})"]>
     24<select name="#ENV{nom}[(#ENV{multiple}|?{[(#VAL{&#91;&#93;}|html_entity_decode)]})]" id="champ_#ENV{nom}"[ class="(#ENV{class})"][(#ENV{multiple}|oui) multiple="multiple" size="#ENV{size,10}"][ disabled="(#ENV{disable})"]>
    2525        [(#ENV{cacher_option_intro}|ou{#ENV{multiple}}|non)
    2626                <option value="">[(#ENV{option_intro})]</option>]
  • _plugins_/saisies/saisies/groupe_mots.html

    r51366 r52270  
    1919                table_liaison=articles})]
    2020]
    21 <select name="#ENV{nom}[(#ENV{multiple}|?{[(#VAL{&#91;&#93;}|html_entity_decode)]})]" id="champ_#ENV{nom}"[ class="(#ENV{class})"][(#ENV{multiple}|oui) multiple="multiple"][ disabled="(#ENV{disable})"]>
     21<select name="#ENV{nom}[(#ENV{multiple}|?{[(#VAL{&#91;&#93;}|html_entity_decode)]})]" id="champ_#ENV{nom}"[ class="(#ENV{class})"][(#ENV{multiple}|oui) multiple="multiple" size="#ENV{size,10}"][ disabled="(#ENV{disable})"]>
    2222        [(#ENV{cacher_option_intro}|ou{#ENV{multiple}}|non)
    2323                <option value="0">[(#ENV{option_intro})]</option>]
  • _plugins_/saisies/saisies/selecteur_site.html

    r50421 r52270  
    1616
    1717]
    18 <select name="#ENV{nom}[(#ENV{multiple}|?{[(#VAL{&#91;&#93;}|html_entity_decode)]})]" id="champ_#ENV{nom}"[ class="(#ENV{class})"][(#ENV{multiple}|oui) multiple="multiple"]>
     18<select name="#ENV{nom}[(#ENV{multiple}|?{[(#VAL{&#91;&#93;}|html_entity_decode)]})]" id="champ_#ENV{nom}"[ class="(#ENV{class})"][(#ENV{multiple}|oui) multiple="multiple" size="#ENV{size,10}"]>
    1919        [(#ENV{cacher_option_intro}|ou{#ENV{multiple}}|non)
    2020                <option value="0">[(#ENV{option_intro})]</option>]
  • _plugins_/saisies/saisies/selection_multiple.html

    r51366 r52270  
    2828#SET{defaut, #GET{defaut}|is_string|?{(#GET{defaut}|saisies_chaine2tableau), (#GET{defaut}|sinon{#ARRAY})}}
    2929
    30 <select name="#ENV{nom}[]" id="champ_#ENV{nom}" multiple="multiple"[ class="(#ENV{class})"][ disabled="(#ENV{disable})"][ size="(#ENV{size})"]>
     30<select name="#ENV{nom}[]" id="champ_#ENV{nom}" multiple="multiple"[ class="(#ENV{class})"][ disabled="(#ENV{disable})"][ size="(#ENV{size,10})"]>
    3131[(#ENV{cacher_option_intro}|non)<option value="">[(#ENV{option_intro})]</option>]
    3232<BOUCLE_selection(POUR){tableau #GET{datas}}>
Note: See TracChangeset for help on using the changeset viewer.