You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

118 lines
4.1 KiB

<div class="formulaire_spip formulaire_config formulaire_#FORM">
[<p class="reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})</p>]
[<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>]
<form method="post" action="#ENV{action}">
<div>
#ACTION_FORMULAIRE{#ENV{action}}
<[(#DIV|sinon{ul})] class="editer-groupe">
[(#SAISIE{radio, podcast_auto,
label=<:podcast:label_podcast_auto:>,
explication=<:podcast:explication_podcast_auto:>,
defaut=oui,
data=#ARRAY{
oui,<:item_oui:>,
non,<:item_non:>}})]
[(#SAISIE{checkbox, podcast_types,
label=<:podcast:label_podcast_types:>,
explication=<:podcast:explication_podcast_types:>,
data=#ARRAY{
itunes,<:podcast:valeur_itunes:>,
miro,<:podcast:valeur_miro:>,
mrss,<:podcast:valeur_mrss:>}})]
<[(#DIV|sinon{li})] class="editer">
<div class="example-liens">
<INCLURE{fond=inclure/podcasts_liens} />
<style type="text/css">
.example-liens {
padding: 1em 2em;
background: #eee;
}
.example-liens img {max-width: 1.0em; vertical-align: middle;margin-right: 0.5em;}
</style>
</div>
</[(#DIV|sinon{li})]>
[(#SAISIE{input,titre_podcast,
explication=<:podcast:explication_titre:>,
label=<:podcast:label_titre:>,
class=multilang,
obligatoire=non})]
[(#SAISIE{input,nom_auteur_podcast,
explication=<:podcast:explication_nom_auteur:>,
class=multilang,
label=<:podcast:label_nom_auteur:>,
obligatoire=non})]
[(#SAISIE{input,email_auteur_podcast,
explication=<:podcast:explication_email_auteur:>,
label=<:podcast:label_email_auteur:>,
obligatoire=non})]
[(#SAISIE{input,copyright_podcast,
explication=<:podcast:explication_copyright:>,
class=multilang,
label=<:podcast:label_copyright:>,
obligatoire=non})]
[(#SAISIE{textarea, resume_podcast,
explication=<:podcast:explication_resume:>,
class=multilang inserer_barre_edition,
label=<:podcast:label_resume:>,
rows=4,
obligatoire=non})]
[(#SAISIE{textarea, description_podcast,
explication=<:podcast:explication_description:>,
class=multilang inserer_barre_edition,
label=<:podcast:label_description:>,
obligatoire=non})]
[(#SAISIE{textarea, keywords_podcast,
class=multilang,
explication=<:podcast:explication_keywords:>,
label=<:podcast:label_keywords:>,
rows=4,
obligatoire=non})]
<[(#DIV|sinon{li})] class="fieldset">
<fieldset>
<h3 class="legend"><:podcast:legend_itunes:></h3>
<[(#DIV|sinon{ul})] class="editer-groupe">
[(#SAISIE{radio, explicit_defaut,
label=<:podcast:label_explicit:>,
explication=<:podcast:explication_explicit:>,
defaut=clean,
data=#ARRAY{
yes,<:item_oui:>,
clean,<:podcast:valeur_clean:>,
no,<:item_non:>}})]
#SET{itunes_categories_hassub,#ARRAY{
0,Arts,
1,Business,
2,Education,
3,Games & Hobbies,
4,Government & Organizations,
5,Health,
6,Religion & Spirituality,
7,Science & Medicine,
8,Society & Culture,
9,Sports & Recreation,
10,Technology}}
[(#SAISIE{itunes_categories,itunes_categories_principales,
explication=<:podcast:explication_itunes_categories_principales:>,
label=<:podcast:label_itunes_categories_principales:>,
type=main})]
<BOUCLE_souscategories(POUR){tableau #CONFIG{podcast/itunes_categories_principales}}>
[(#VALEUR|in_array{#GET{itunes_categories_hassub}}|oui)
[(#SET{type,[(#VALEUR|strtolower|replace{' ','_'})]})]
[(#SET{cat,[(#VAL{podcast:itunes_cat_[(#VALEUR|strtolower|replace{' ','_'}|replace{'_&',''})]}_T)]})]
[(#SET{label,[(#VAL{podcast:label_itunes_sous_categories}_T{#ARRAY{cat,#GET{cat}}})]})]
[(#SAISIE{itunes_categories,itunes_categories_#GET{type},
label=#GET{label},
type=#GET{type}})]
]
</BOUCLE_souscategories>
</[(#DIV|sinon{ul})]>
</fieldset>
</[(#DIV|sinon{li})]>
</[(#DIV|sinon{ul})]>
<p class="boutons">
<input type="submit" class="submit" value="<:bouton_valider:>" />
</p>
</div>
</form>
</div>