37 lines
1.3 KiB
HTML
37 lines
1.3 KiB
HTML
[(#ID_PODCAST|oui)
|
|
[(#AUTORISER{modifier,podcast,#ID_PODCAST}|sinon_interdire_acces)]
|
|
[(#SET{id_parent,#INFO_ID_ARTICLE{podcast,#ID_PODCAST}})]
|
|
]
|
|
|
|
[(#ID_PODCAST|non)
|
|
#SET{id_parent,#ENV{id_article,#ENV{id_parent}}}
|
|
[(#GET{id_parent}|non|ou{[(#AUTORISER{creerpodcastdans, article, #GET{id_parent}})]}|sinon_interdire_acces)]
|
|
]
|
|
|
|
#SET{redirect,#ENV{redirect}|sinon{#ID_PODCAST|?{#ID_PODCAST|generer_url_entite{podcast},#GET{id_parent}|?{#GET{id_parent}|generer_url_entite{article},#URL_ECRIRE{articles}}}}}
|
|
|
|
|
|
|
|
<div class="cadre-formulaire-editer">
|
|
<div class="entete-formulaire">
|
|
[(#ID_PODCAST|oui)
|
|
[(#GET{redirect}|icone_verticale{<:icone_retour:/>,podcast,'',left retour[(#ENV{retourajax,''}|oui)ajax preload]})]
|
|
]
|
|
[
|
|
[(#ID_PODCAST|?{<:podcast:icone_modifier_podcast:/>,<:podcast:icone_creer_podcast:/>})]
|
|
<h1>(#ENV{titre,#INFO_CODE{podcast,#ID_PODCAST}|sinon{<:info_sans_titre:/>}})</h1>
|
|
]
|
|
</div>
|
|
|
|
#SET{redirect,#ENV{redirect,#ID_PODCAST|generer_url_entite{podcast}}}
|
|
[(#ENV{retourajax,''}|oui)
|
|
#SET{redirect,'javascript:if (window.jQuery) jQuery(".entete-formulaire .retour a").followLink();'}
|
|
<div class="ajax">
|
|
]
|
|
[(#FORMULAIRE_EDITER_PODCAST{#ENV{id_podcast,oui}, #GET{id_parent}, #GET{redirect}})]
|
|
[(#ENV{retourajax,''}|oui)
|
|
</div>
|
|
<script type="text/javascript">/*<!\[CDATA\[*/reloadExecPage('#ENV{exec}');/*\]\]>*/</script>
|
|
]
|
|
</div>
|