updated email options
This commit is contained in:
@@ -159,54 +159,72 @@
|
||||
|
||||
<div class="email_type_wrapper_cipf email_type_notification_wrapper_cipf">
|
||||
|
||||
<?php if (isset($email_options['notification_send'])) { ?>
|
||||
<div class="send_or_not_cipf">
|
||||
<input type="checkbox" id="<?php echo esc_html(stripslashes($name)); ?>_notification_cipf" name="<?php echo esc_html(stripslashes($name)); ?>_notification_send" <?php if ($email_options['notification_send'] === true) {echo 'checked';} ?> />
|
||||
<input type="checkbox" id="<?php echo esc_html(stripslashes($name)); ?>_notification_cipf" name="<?php echo esc_html(stripslashes($name)); ?>_notification_send" <?php if ($email_options['notification_send'] === 'on') {echo 'checked';} ?> />
|
||||
<label for="<?php echo esc_html(stripslashes($name)); ?>_notification_cipf">envoyer une notification ?</label>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<div class="email_options_cipf">
|
||||
|
||||
<?php if (isset($email_options['notification_from'])) { ?>
|
||||
<div class="vertical_wrapper_cipf">
|
||||
<label for="<?php echo esc_html(stripslashes($name)); ?>_notification_from_cipf">de : </label>
|
||||
<input type="text" id="<?php echo esc_html(stripslashes($name)); ?>_notification_from_cipf" name="<?php echo esc_html(stripslashes($name)); ?>_notification_from" value="<?php echo esc_html(stripslashes($email_options['notification_from'])); ?>" />
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php if (isset($email_options['notification_to'])) { ?>
|
||||
<div class="vertical_wrapper_cipf">
|
||||
<label for="<?php echo esc_html(stripslashes($name)); ?>_notification_to_cipf">destinataire : </label>
|
||||
<input type="text" id="<?php echo esc_html(stripslashes($name)); ?>_notification_to_cipf" name="<?php echo esc_html(stripslashes($name)); ?>_notification_to" value="<?php echo esc_html(stripslashes($email_options['notification_to'])); ?>" />
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php if (isset($email_options['notification_subject'])) { ?>
|
||||
<div class="vertical_wrapper_cipf">
|
||||
<label for="<?php echo esc_html(stripslashes($name)); ?>_notification_subject_cipf">sujet : </label>
|
||||
<input type="text" id="<?php echo esc_html(stripslashes($name)); ?>_notification_subject_cipf" name="<?php echo esc_html(stripslashes($name)); ?>_notification_subject" value="<?php echo esc_html(stripslashes($email_options['notification_subject'])); ?>" />
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php if (isset($email_options['notification_message'])) { ?>
|
||||
<div class="vertical_wrapper_cipf">
|
||||
<label for="<?php echo esc_html(stripslashes($name)); ?>_notification_message_cipf">message : </label>
|
||||
<textarea id="<?php echo esc_html(stripslashes($name)); ?>_notification_message_cipf" name="<?php echo esc_html(stripslashes($name)); ?>_notification_message"><?php echo esc_html(stripslashes($email_options['notification_message'])); ?></textarea>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="email_type_wrapper_cipf email_type_confirmation_wrapper_cipf">
|
||||
|
||||
<?php if (isset($email_options['confirmation_send'])) { ?>
|
||||
<div class="send_or_not_cipf">
|
||||
<input type="checkbox" id="<?php echo esc_html(stripslashes($name)); ?>_confirmation_cipf" name="<?php echo esc_html(stripslashes($name)); ?>_confirmation_send" <?php if ($email_options['confirmation_send'] === true) {echo 'checked';} ?> />
|
||||
<input type="checkbox" id="<?php echo esc_html(stripslashes($name)); ?>_confirmation_cipf" name="<?php echo esc_html(stripslashes($name)); ?>_confirmation_send" <?php if ($email_options['confirmation_send'] === 'on') {echo 'checked';} ?> />
|
||||
<label for="<?php echo esc_html(stripslashes($name)); ?>_confirmation_cipf">envoyer une confirmation ?</label>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<div class="email_options_cipf">
|
||||
|
||||
<?php if (isset($email_options['confirmation_from'])) { ?>
|
||||
<div class="vertical_wrapper_cipf">
|
||||
<label for="<?php echo esc_html(stripslashes($name)); ?>_confirmation_from_cipf">de : </label>
|
||||
<input type="text" id="<?php echo esc_html(stripslashes($name)); ?>_confirmation_from_cipf" name="<?php echo esc_html(stripslashes($name)); ?>_confirmation_from" value="<?php echo esc_html(stripslashes($email_options['confirmation_from'])); ?>" />
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php if (isset($email_options['confirmation_subject'])) { ?>
|
||||
<div class="vertical_wrapper_cipf">
|
||||
<label for="<?php echo esc_html(stripslashes($name)); ?>_confirmation_subject_cipf">sujet : </label>
|
||||
<input type="text" id="<?php echo esc_html(stripslashes($name)); ?>_confirmation_subject_cipf" name="<?php echo esc_html(stripslashes($name)); ?>_confirmation_subject" value="<?php echo esc_html(stripslashes($email_options['confirmation_subject'])); ?>" />
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php if (isset($email_options['confirmation_message'])) { ?>
|
||||
<div class="vertical_wrapper_cipf">
|
||||
<label for="<?php echo esc_html(stripslashes($name)); ?>_confirmation_message_cipf">message : </label>
|
||||
<textarea id="<?php echo esc_html(stripslashes($name)); ?>_confirmation_message_cipf" name="<?php echo esc_html(stripslashes($name)); ?>_confirmation_message"><?php echo esc_html(stripslashes($email_options['confirmation_message'])); ?></textarea>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user