예제 #1
0
파일: index-old.php 프로젝트: taeche/SoDoEx
                }
            }
            ?>
    </small>
</td>
<?php 
        }
        ?>

<td>
    <a class="button-secondary" href="admin.php?page=newsletter_users_edit&amp;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);
        ?>
예제 #2
0
                    </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') {
예제 #3
0
                </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>&nbsp;</th>
                    <th>Id</th>
                    <th><?php 
_e('Subject', 'newsletter');
?>
</th>
                    <th><?php 
예제 #4
0
                        <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>
예제 #5
0
파일: edit.php 프로젝트: taeche/SoDoEx
?>

    <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') {
예제 #6
0
    }
    ?>

<td>
    <a class="button-secondary" href="<?php 
    echo $module->get_admin_page_url('edit');
    ?>
&amp;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);
    ?>
예제 #7
0
</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 
예제 #8
0
        <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>
예제 #9
0
        <?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') {
예제 #10
0
파일: index.php 프로젝트: taeche/SoDoEx
                    <?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>&nbsp;</th>
                    <th>Id</th>
                    <th>Subject</th>
                    
                    <th>Status</th>
                    <th>Progress<sup>*</sup></th>
                    <th>Date</th>
예제 #11
0
                        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>
예제 #12
0
                </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>&nbsp;</th>
                    <th>Id</th>
                    <th><?php 
_e('Subject', 'newsletter');
?>
</th>
                    <th><?php 
예제 #13
0
                    <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();
?>
예제 #14
0
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>