wip emails front admin menu
This commit is contained in:
@@ -75,3 +75,40 @@
|
||||
<input type="submit" value="send"/>
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
|
||||
<!--
|
||||
'payment_success'=>[
|
||||
|
||||
'notification_send'=>true,
|
||||
'notification_to'=>'$$__admin_email__$$',
|
||||
'notification_subject'=>"paiement réussi",
|
||||
'notification_message'=>"par ici la monnaie",
|
||||
|
||||
'confirmation_send'=>true,
|
||||
'confirmation_subject'=>"paiement réussi",
|
||||
'confirmation_message'=>"donne l'argent",
|
||||
-->
|
||||
<h1>emails :</h1>
|
||||
<?php echo Plgntls::open_form_option($option_emails_name); ?>
|
||||
|
||||
<?php foreach($option_emails as $name => $email_options) { ?>
|
||||
<div class="set_email_options_cipf vertical_wrapper">
|
||||
|
||||
<h2><?php echo esc_html($name); ?> :</h2>
|
||||
<div>
|
||||
<input type="checkbox" id="<?php echo esc_html($name); ?>_notification" name="<?php echo esc_html($name); ?>_notification_send" <?php if ($email_options['notification_send'] === true) {echo 'checked';} ?> />
|
||||
<label for="<?php echo esc_html($name); ?>_notification">envoyer une notification ?</label>
|
||||
</div>
|
||||
<div>
|
||||
<input type="checkbox" id="<?php echo esc_html($name); ?>_confirmation" name="<?php echo esc_html($name); ?>_confirmation_send" <?php if ($email_options['confirmation_send'] === true) {echo 'checked';} ?> />
|
||||
<label for="<?php echo esc_html($name); ?>_confirmation">envoyer une confirmation ?</label>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<input type="submit" value="send"/>
|
||||
</form>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user