3630 |
idir |
1 |
<!-- Squelette du formulaire de contact -->
|
|
|
2 |
<div id="tpl-form-contact">
|
|
|
3 |
<h2 class="mb-3">Message à <span class="destinataire"><?php echo $donnees['auteur']; ?></span> :</h2>
|
|
|
4 |
<form id="form-contact" method="post" action="">
|
|
|
5 |
<div id="fc-zone-dialogue" class="mb-3"></div>
|
|
|
6 |
<div class="form-group mb-3">
|
|
|
7 |
<label for="fc_sujet">Sujet</label>
|
|
|
8 |
<input type="text" id="fc_sujet" class="form-control" name="fc_sujet" value="<?php echo $donnees['sujet']; ?>">
|
|
|
9 |
</div>
|
|
|
10 |
<div class="form-group mb-3">
|
|
|
11 |
<label for="fc_message">Message</label>
|
|
|
12 |
<textarea id="fc_message" class="form-control form-control-lg" name="fc_message"><?php echo $donnees['message']; ?></textarea>
|
|
|
13 |
</div>
|
|
|
14 |
<div class="form-group mb-3">
|
|
|
15 |
<label for="fc_utilisateur_courriel" title="Utilisez le courriel avec lequel vous êtes inscrit à Tela Botanica">Votre courriel</label>
|
|
|
16 |
<input type="email" id="fc_utilisateur_courriel" class="form-control" name="fc_utilisateur_courriel" placeholder="mail@exemple.com">
|
|
|
17 |
</div>
|
|
|
18 |
<div class="form-group">
|
|
|
19 |
<input type="hidden" id="fc_destinataire_id" name="fc_destinataire_id" value="<?php echo $donnees['id_image']; ?>">
|
|
|
20 |
<input type="hidden" name="fc_type_envoi" id="fc_type_envoi" value="non-inscrit">
|
|
|
21 |
<input type="submit" id="fc_envoyer" class="btn btn-success form-control" value="Envoyer">
|
|
|
22 |
<input type="reset" id="fc_effacer" class="btn btn-warning form-control" value="Effacer">
|
|
|
23 |
<?php if( isset( $donnees['popup_url'] ) ): ?>
|
|
|
24 |
<a id="fc_annuler" class="popup_url btn btn-danger form-control annuler" data-popup_url="<?php echo $donnees['popup_url'].'&popup_url='.urlencode($donnees['popup_url']); ?>">Annuler</a>
|
|
|
25 |
<?php else : ?>
|
|
|
26 |
<button id="fc_annuler" type="button" class="close btn btn-danger form-control annuler" data-dismiss="modal" aria-label="Close">Annuler</button>
|
|
|
27 |
<?php endif; ?>
|
|
|
28 |
</div>
|
|
|
29 |
</form>
|
|
|
30 |
</div>
|
|
|
31 |
<script type="text/Javascript">
|
|
|
32 |
//<![CDATA[
|
|
|
33 |
$( document ).ready( function() {
|
|
|
34 |
contact = new WidgetPhotoContact();
|
|
|
35 |
contact.init();
|
1495 |
aurelien |
36 |
});
|
|
|
37 |
//]]>
|
3630 |
idir |
38 |
</script>
|