} } ?> </small> </td> <?php } ?> <td> <a class="button-secondary" href="admin.php?page=newsletter_users_edit&id=<?php echo $s->id; ?> ">Edit</a> <?php $controls->button_confirm('remove', 'Remove', 'Proceed?', $s->id); ?> <?php //$controls->button('status', 'Confirm', 'newsletter_set_status(this.form,' . $s->id . ',\'C\')'); ?> <?php //$controls->button('status', 'Unconfirm', 'newsletter_set_status(this.form,' . $s->id . ',\'S\')'); ?> <?php $controls->button_confirm('resend', 'Resend confirmation', 'Proceed?', $s->id); ?> <?php $controls->button_confirm('resend_welcome', 'Resend welcome', 'Proceed?', $s->id); ?>
</div> </td> </tr> --> </table> <p class="submit"> <?php if ($nc->data['status'] != 'sending') { $nc->button('save', 'Save'); } ?> <?php if ($nc->data['status'] != 'sending') { $nc->button_confirm('test', 'Save and test', 'Save and send test emails to test addresses?'); } ?> <?php if ($nc->data['status'] == 'new') { $nc->button_confirm('send', 'Send', 'Start a real delivery?'); } ?> <?php if ($nc->data['status'] == 'sending') { $nc->button_confirm('pause', 'Pause', 'Pause the delivery?'); } ?> <?php if ($nc->data['status'] == 'paused') {
</p> </div> <?php } ?> <p> <a href="<?php echo $module->get_admin_page_url('theme'); ?> " class="button"><?php _e('New newsletter', 'newsletter'); ?> </a> <?php $controls->button_confirm('delete_selected', __('Delete selected newsletters', 'newsletter'), __('Proceed?', 'newsletter')); ?> <?php $controls->button('send', __('Trigger the delivery engine', 'newsletter')); ?> </p> <table class="widefat" style="width: auto"> <thead> <tr> <th> </th> <th>Id</th> <th><?php _e('Subject', 'newsletter'); ?> </th> <th><?php
<th>Subscription form style</th> <td> <?php $controls->select('style', $module->get_styles()); ?> </td> </tr> <tr> <th>Widget style</th> <td> <?php $controls->select('widget_style', $module->get_styles()); ?> </td> </tr> </table> </div> </div> <p> <?php $controls->button_save(); ?> <?php $controls->button_confirm('reset', 'Reset all', 'Are you sure you want to reset all?'); ?> </p> </form> </div>
?> <form method="post" action="" id="newsletter-form"> <?php $controls->init(); ?> <p class="submit"> <?php if ($email['status'] != 'sending' && $email['status'] != 'sent') { $controls->button('save', 'Save'); } ?> <?php if ($email['status'] != 'sending' && $email['status'] != 'sent') { $controls->button_confirm('test', 'Save and test', 'Save and send test emails to test addresses?'); } ?> <?php if ($email['status'] == 'new') { $controls->button_confirm('send', 'Send', 'Start a real delivery?'); } ?> <?php if ($email['status'] == 'sending') { $controls->button_confirm('pause', 'Pause', 'Pause the delivery?'); } ?> <?php if ($email['status'] == 'paused') {
} ?> <td> <a class="button-secondary" href="<?php echo $module->get_admin_page_url('edit'); ?> &id=<?php echo $s->id; ?> "><?php _e('Edit', 'newsletter-users'); ?> </a> <?php $controls->button_confirm('remove', __('Remove', 'newsletter-users'), __('Proceed?', 'newsletter-users'), $s->id); ?> <?php //$controls->button('status', 'Confirm', 'newsletter_set_status(this.form,' . $s->id . ',\'C\')'); ?> <?php //$controls->button('status', 'Unconfirm', 'newsletter_set_status(this.form,' . $s->id . ',\'S\')'); ?> <?php $controls->button_confirm('resend', __('Resend confirmation', 'newsletter-users'), __('Proceed?', 'newsletter-users'), $s->id); ?> <?php $controls->button_confirm('resend_welcome', __('Resend welcome', 'newsletter-users'), __('Proceed?', 'newsletter-users'), $s->id); ?>
</th> </tr> </thead> <tr> <td><?php _e('Total collected emails', 'newsletter'); ?> </td> <td> <?php echo $wpdb->get_var("select count(*) from " . NEWSLETTER_USERS_TABLE); ?> </td> <td nowrap> <?php $controls->button_confirm('remove_all', __('Delete all', 'newsletter'), __('Are you sure you want to remove ALL subscribers?', 'newsletter')); ?> </td> </tr> <tr> <td><?php _e('Confirmed', 'newsletter'); ?> </td> <td> <?php echo $wpdb->get_var("select count(*) from " . NEWSLETTER_USERS_TABLE . " where status='C'"); ?> </td> <td nowrap> <?php
<li><a href="#tabs-4">Bounces</a></li> </ul> <div id="tabs-1"> <table class="widefat" style="width: 300px;"> <thead><tr><th>Status</th><th>Total</th><th>Actions</th></thead> <tr> <td>Total in database</td> <td> <?php echo $wpdb->get_var("select count(*) from " . NEWSLETTER_USERS_TABLE); ?> </td> <td nowrap> <?php $controls->button_confirm('remove_all', 'Delete all', 'Are you sure you want to remove ALL subscribers?'); ?> </td> </tr> <tr> <td>Confirmed</td> <td> <?php echo $wpdb->get_var("select count(*) from " . NEWSLETTER_USERS_TABLE . " where status='C'"); ?> </td> <td nowrap> <?php $controls->button_confirm('unconfirm_all', 'Unconfirm all', 'Are you sure? No way back.'); ?> </td>
<?php $controls->init(array('cookie_name' => 'newsletter_emails_edit_tab')); ?> <p class="submit"> <?php $controls->button_back('?page=newsletter_emails_index'); ?> <?php if ($email['status'] != 'sending') { $controls->button_save(); } ?> <?php if ($email['status'] != 'sending' && $email['status'] != 'sent') { $controls->button_confirm('test', 'Save and test', 'Save and send test emails to test addresses?'); } ?> <?php if ($email['status'] == 'new') { $controls->button_confirm('send', __('Send', 'newsletter'), __('Start real delivery?', 'newsletter')); } ?> <?php if ($email['status'] == 'sending') { $controls->button_confirm('pause', __('Pause', 'newsletter'), __('Pause the delivery?', 'newsletter')); } ?> <?php if ($email['status'] == 'paused') {
<?php //$controls->button('unconvert', 'Unconvert (DEBUG)'); ?> </p> </div> <?php } ?> <p> <a href="<?php echo $module->get_admin_page_url('theme'); ?> " class="button">New message</a> <?php $controls->button_confirm('delete_selected', 'Delete selected messages', 'Proceed?'); ?> <?php $controls->button('send', 'Trigger the delivery engine'); ?> </p> <table class="widefat" style="width: auto"> <thead> <tr> <th> </th> <th>Id</th> <th>Subject</th> <th>Status</th> <th>Progress<sup>*</sup></th> <th>Date</th>
controller that will kill PHP scripts if they run too long (like fastcgi). Time limit can be a problem while using external SMTPs, if they are slow. Newsletter Pro, while sending, continously check the time limit and stops it self as the timeout is approaching. </div> </td> </tr> <tr valign="top"> <th>Memory limit</th> <td> <?php echo @ini_get('memory_limit'); ?> <div class="hints"> Newsletter Pro tries (as does WordPress on admin side) to raise the memory limit to 256 megabytes while sending. </div> </td> </tr> </table> <p class="submit"> <?php $nc->button_confirm('remove', 'Totally remove this plugin', 'Really sure to totally remove this plugin. All data will be lost!'); ?> </p> </form> <p></p> </div>
</p> </div> <?php } ?> <p> <a href="<?php echo $module->get_admin_page_url('theme'); ?> " class="button"><?php _e('New newsletter', 'newsletter-emails'); ?> </a> <?php $controls->button_confirm('delete_selected', __('Delete selected newsletters', 'newsletter-emails'), __('Proceed?', 'newsletter-emails')); ?> <?php $controls->button('send', __('Trigger the delivery engine', 'newsletter-emails')); ?> </p> <table class="widefat" style="width: auto"> <thead> <tr> <th> </th> <th>Id</th> <th><?php _e('Subject', 'newsletter'); ?> </th> <th><?php
<td colspan="2"><h3><?php _e('Import already registered users', 'newsletter'); ?> </h3></td> </tr> <tr> <th><?php _e('Import with status', 'newsletter'); ?> </th> <td> <?php $controls->select('align_wp_users_status', array('C' => __('Confirmed', 'newsletter'), 'S' => __('Not confirmed', 'newsletter'))); ?> <?php $controls->button_confirm('align_wp_users', __('Import', 'newsletter'), __('Proceed?', 'newsletter')); ?> <p class="description"> <a href="http://www.thenewsletterplugin.com/plugins/newsletter/subscribers-module#import-wp-users" target="_blank"> <?php _e('Please, carefully read the documentation before taking this action!', 'newsletter'); ?> </a> </p> </td> </tr> </table> <p> <?php $controls->button_save(); ?>
echo $wpdb->get_var("select count(*) from " . $wpdb->prefix . "newsletter where status='C'"); ?> </td> <td nowrap> </td> </tr> <tr> <td>Not confirmed</td> <td> <?php echo $wpdb->get_var("select count(*) from " . $wpdb->prefix . "newsletter where status='S'"); ?> </td> <td nowrap> <?php $nc->button_confirm('remove_unconfirmed', 'Delete all not confirmed', 'Are you sure you want to delete ALL not confirmed subscribers?'); ?> <?php $nc->button_confirm('confirm_all', 'Confirm all', 'Are you sure you want to mark ALL subscribers as confirmed?'); ?> </td> </tr> <tr> <td>Subscribed to feed by mail</td> <td nowrap> <?php echo $wpdb->get_var("select count(*) from " . $wpdb->prefix . "newsletter where status='C' and feed=1"); ?> (only for <a href="http://www.satollo.net/plugins/newsletter" target="_blank">Newsletter Pro</a>) </td> <td nowrap>