more improves in optin gestion in class, automatic handling for basic cases
This commit is contained in:
@@ -55,31 +55,6 @@
|
||||
</form>
|
||||
|
||||
|
||||
<!--
|
||||
-->
|
||||
<h1>email a la creation de compte</h1>
|
||||
<form id="email_registration_cipf" method="POST" action="<?php echo admin_url( 'admin-post.php' ); ?>">
|
||||
<input type="hidden" name="action" value="<?php echo $admin_post_email_registration; ?>">
|
||||
<?php wp_nonce_field($nonce_email['_action'], $nonce_email['_name']); ?>
|
||||
|
||||
<div class="define_email_registration vertical_wrapper">
|
||||
<label for="define_email_registration_cipf">email : </label>
|
||||
<textarea id="define_email_registration_cipf" name="email"><?php echo $email_registration['email']; ?></textarea>
|
||||
</div>
|
||||
|
||||
<div class="send_email">
|
||||
<input type="checkbox" id="send_email_prof_cipf" name="is_email_prof" <?php if ($email_registration['is_email_prof'] === true) {echo 'checked';} ?> />
|
||||
<label for="send_email_prof_cipf">envoyer un email à l'inscription des profs ?</label>
|
||||
</div>
|
||||
|
||||
<div class="send_email">
|
||||
<input type="checkbox" id="send_email_partner_cipf" name="is_email_partner" <?php if ($email_registration['is_email_partner'] === true) {echo 'checked';} ?> />
|
||||
<label for="send_email_partner_cipf">envoyer un email à l'inscription des partenaires ?</label>
|
||||
</div>
|
||||
|
||||
<input type="submit" value="send"/>
|
||||
</form>
|
||||
|
||||
|
||||
<!--
|
||||
-->
|
||||
|
||||
@@ -32,10 +32,10 @@ function add_plugin_content_CIPF() {
|
||||
/*
|
||||
* registration email
|
||||
*
|
||||
*/
|
||||
$admin_post_payment_messages = Plgntls::ADMIN_POST_PAYMENT_MESSAGES;
|
||||
$nonce_payment_messages = Plgntls::ADMIN_MENU_NONCE_PAYMENT_MESSAGES;
|
||||
$payment_messages = get_payment_messages_option_CIPF();
|
||||
*/
|
||||
|
||||
ob_start();
|
||||
include(Plgntls::root_path() . '/html/menu/cipf_menu.html');
|
||||
|
||||
Reference in New Issue
Block a user