53 lines
No EOL
1.2 KiB
HTML
53 lines
No EOL
1.2 KiB
HTML
[(#REM)
|
|
page d'envoi d'un gamumail
|
|
|
|
]
|
|
<style type="text/css" media="screen">
|
|
.bloc_slug {
|
|
margin-top: 3rem;
|
|
}
|
|
.markItUp .markItUpHeader ul a em {
|
|
width: 2rem;
|
|
height: 2rem;
|
|
}
|
|
#bloc_slug .formulaire_spip textarea.markItUpEditor {
|
|
width: 100%;
|
|
}
|
|
#bloc_slug .sujet {
|
|
width: calc(100% - 50px);
|
|
}
|
|
#bloc_slug .editer_groupe {
|
|
margin-bottom: 1rem;
|
|
}
|
|
</style>
|
|
<div class="envoi_gamumail">
|
|
<B_slugs>
|
|
<div class="bloc_choix_slug">
|
|
<h3><:gamumail:choix_slug:></h3>
|
|
<select id="choix_slug" name="choix_slug">
|
|
<option value=""><:gamumail:choisissez_un_modele:></option>
|
|
<BOUCLE_slugs(GAMUMAILS){statut=publie}{par titre}>
|
|
<option value="#SLUG"[ (#SLUG|=={#ENV{slug}}|oui) selected="selected"]>#TITRE</option>
|
|
</BOUCLE_slugs>
|
|
</select>
|
|
</div>
|
|
</B_slugs>
|
|
<div class="bloc_slug" id="bloc_slug">
|
|
<INCLURE{fond=inclure/vue_slug, env, ajax=vue_slug}>
|
|
</div>
|
|
<INCLURE{fond=gamumail/remplacements_slugs}>
|
|
</div>
|
|
<script type="text/javascript">
|
|
jQuery(function() {
|
|
$('#choix_slug').on('change', function() {
|
|
var choix_slug = $(this).val();
|
|
ajaxReload('vue_slug', {
|
|
args:{
|
|
slug : choix_slug,
|
|
dest : "#ENV{dest}"
|
|
}
|
|
//, callback: function(){}
|
|
});
|
|
});
|
|
});
|
|
</script> |