Browse Source

renommage variable interne a la saisie, sans consequence pour son utilisation

master
Cerdic 2 years ago
parent
commit
d2c47326ce
  1. 2
      paquet.xml
  2. 30
      saisies/itunes_categories.html

2
paquet.xml

@ -1,7 +1,7 @@
<paquet
prefix="podcast"
categorie="multimedia"
version="0.3.2"
version="0.3.3"
etat="stable"
compatibilite="[3.0.0;3.2.*]"
logo="images/podcast_64.png"

30
saisies/itunes_categories.html

@ -3,7 +3,7 @@
### /!\ boucle POUR (spip Bonux) ###
Parametres :
- ** datas : tableau de donnees cle=>valeur
- ** data : tableau de donnees cle=>valeur
- option_intro : chaine de langue de la premiere ligne vide ? (defaut:"")
- cacher_option_intro : pas de premier option vide (defaut:"")
- class : classe(s) css ajoutes au select
@ -14,7 +14,7 @@
type=main})]
]
[(#SET{datas_main, [(#ARRAY{
[(#SET{data_main, [(#ARRAY{
Arts,<:podcast:itunes_cat_arts:>,
Business,<:podcast:itunes_cat_business:>,
Comedy,<:podcast:itunes_cat_comedy:>,
@ -33,7 +33,7 @@
TV &amp; Film,<:podcast:itunes_cat_tv_film:>
})]})]
[(#SET{datas_arts, [(#ARRAY{
[(#SET{data_arts, [(#ARRAY{
Design,<:podcast:itunes_cat_design:>,
Fashion & Beauty,<:podcast:itunes_cat_fashion_beauty:>,
Food,<:podcast:itunes_cat_food:>,
@ -42,7 +42,7 @@
Visual Arts,<:podcast:itunes_cat_visual_arts:>
})]})]
[(#SET{datas_business, [(#ARRAY{
[(#SET{data_business, [(#ARRAY{
Business News,<:podcast:itunes_cat_business_news:>,
Careers,<:podcast:itunes_cat_careers:>,
Investing,<:podcast:itunes_cat_investing:>,
@ -50,7 +50,7 @@
Shopping,<:podcast:itunes_cat_business_shopping:>
})]})]
[(#SET{datas_education, [(#ARRAY{
[(#SET{data_education, [(#ARRAY{
Education Technology,<:podcast:itunes_cat_education_technology:>,
Higher Education,<:podcast:itunes_cat_higher_education:>,
K-12,<:podcast:itunes_cat_k_12:>,
@ -58,7 +58,7 @@
Training,<:podcast:itunes_cat_training:>
})]})]
[(#SET{datas_games_&amp;_hobbies, [(#ARRAY{
[(#SET{data_games_&amp;_hobbies, [(#ARRAY{
Automotive,<:podcast:itunes_cat_automotive:>,
Aviation,<:podcast:itunes_cat_aviation:>,
Hobbies,<:podcast:itunes_cat_hobbies:>,
@ -66,21 +66,21 @@
Video Games,<:podcast:itunes_cat_video_games:>
})]})]
[(#SET{datas_government_&amp;_organizations, [(#ARRAY{
[(#SET{data_government_&amp;_organizations, [(#ARRAY{
Local,<:podcast:itunes_cat_local:>,
National,<:podcast:itunes_cat_national:>,
Non-Profit,<:podcast:itunes_cat_non_profit:>,
Regional,<:podcast:itunes_cat_regional:>
})]})]
[(#SET{datas_health, [(#ARRAY{
[(#SET{data_health, [(#ARRAY{
Alternative Health,<:podcast:itunes_cat_alternative_health:>,
Fitness & Nutrition,<:podcast:itunes_cat_fitness_nutrition:>,
Self-Help,<:podcast:itunes_cat_self_help:>,
Sexuality,<:podcast:itunes_cat_sexuality:>
})]})]
[(#SET{datas_religion_&amp;_spirituality, [(#ARRAY{
[(#SET{data_religion_&amp;_spirituality, [(#ARRAY{
Buddhism,<:podcast:itunes_cat_buddhism:>,
Christianity,<:podcast:itunes_cat_christianity:>,
Hinduism,<:podcast:itunes_cat_hinduism:>,
@ -90,37 +90,37 @@
Spirituality,<:podcast:itunes_cat_spirituality:>
})]})]
[(#SET{datas_science_&amp;_medicine, [(#ARRAY{
[(#SET{data_science_&amp;_medicine, [(#ARRAY{
Medicine,<:podcast:itunes_cat_medicine:>,
Natural Sciences,<:podcast:itunes_cat_natural_sciences:>,
Social Sciences,<:podcast:itunes_cat_social_sciences:>
})]})]
[(#SET{datas_society_&amp;_culture, [(#ARRAY{
[(#SET{data_society_&amp;_culture, [(#ARRAY{
History,<:podcast:itunes_cat_history:>,
Personal Journals,<:podcast:itunes_cat_personnal_journals:>,
Philosophy,<:podcast:itunes_cat_philosophy:>,
Places & Travel,<:podcast:itunes_cat_places_travel:>
})]})]
[(#SET{datas_sports_&amp;_recreation, [(#ARRAY{
[(#SET{data_sports_&amp;_recreation, [(#ARRAY{
Amateur,<:podcast:itunes_cat_amateur:>,
College & High School,<:podcast:itunes_cat_college_high_school:>,
Outdoor,<:podcast:itunes_cat_outdoor:>,
Professional,<:podcast:itunes_cat_professional:>
})]})]
[(#SET{datas_technology, [(#ARRAY{
[(#SET{data_technology, [(#ARRAY{
Gadgets,<:podcast:itunes_cat_gadgets:>,
Tech News,<:podcast:itunes_cat_tech_news:>,
Podcasting,<:podcast:itunes_cat_podcasting:>,
Software How-To,<:podcast:itunes_cat_software_how_to:>
})]})]
#SET{datas,#GET{datas_#ENV{type}}}
#SET{data,#GET{data_#ENV{type}}}
<select name="#ENV{nom}[]" id="champ_#ENV{nom}"[ class="(#ENV{class})"][ disabled="(#ENV{disable})"][ readonly="(#ENV{readonly})"] multiple="multiple">
<BOUCLE_categorie(POUR){tableau #GET{datas}}>
<BOUCLE_categorie(POUR){tableau #GET{data}}>
<option value="#CLE"[(#CLE|in_array{#ENV{valeur,#ARRAY}}|oui) selected="selected"]>#VALEUR</option>
</BOUCLE_categorie>
</select>
Loading…
Cancel
Save