예제 #1
0
          <tr>
            <td>Not confirmed</td>
            <td>
              <?php 
echo $wpdb->get_var("select count(*) from " . NEWSLETTER_USERS_TABLE . " where status='S'");
?>
            </td>
            <td nowrap>
              <?php 
$controls->button_confirm('remove_unconfirmed', 'Delete all not confirmed', 'Are you sure you want to delete ALL not confirmed subscribers?');
?>
              <?php 
$controls->button_confirm('confirm_all', 'Confirm all', 'Are you sure you want to mark ALL subscribers as confirmed?');
?>
                <?php 
$controls->hint('To send a comfirmation email to all, you can create a special newsletter.', 'http://www.thenewsletterplugin.com/plugins/newsletter/subscribers-module#resend-confirm');
?>
              <?php 
//$controls->button_confirm('resend_all', 'Resend confirmation message to all', 'Are you sure?');
?>
            </td>
          </tr>
          <tr>
            <td>Unsubscribed</td>
            <td>
              <?php 
echo $wpdb->get_var("select count(*) from " . NEWSLETTER_USERS_TABLE . " where status='U'");
?>
            </td>
            <td>
              <?php 
예제 #2
0
                            <p class="description">
                                A full page address (e.g. http://yourblog.com/profile) to be used to show and edit the subscriber profile.
                                Leave empty to use an auto generated page or the main Newsletter page with the message below.
                                <br>
                                The custom page must contain the [profile_form] short code.
                            </p>
                        </td>
                    </tr>
                    <tr valign="top">
                        <th>Profile page</th>
                        <td>
                            <?php 
$controls->wp_editor('profile_text');
?>
                            <?php 
$controls->hint('This is the page where subscribers can edit their data and it must contain the {profile_form} tag.', 'http://www.thenewsletterplugin.com/plugins/newsletter/subscription-module#profile');
?>
                        </td>
                    </tr>
                    <tr>
                        <th>Other messages</th>
                        <td>
                            confirmation after profile save<br>
                            <?php 
$controls->text('profile_saved', 80);
?>
<br><br>
                            email changed notice<br>
                            <?php 
$controls->text('profile_email_changed', 80);
?>
예제 #3
0
    <form method="post" action="">
        
        <?php 
$controls->init();
?>

        <table class="form-table">
            <tr valign="top">
                <th>Subscription on registration</th>
                <td>
                    <?php 
$controls->select('subscribe_wp_users', array(0 => 'No', 1 => 'Yes, force subscription', 2 => 'Yes, show the option', 3 => 'Yes, show the option already checked'));
?>
                    <?php 
$controls->hint('Adds a newsletter subscription option on registration.', 'http://www.thenewsletterplugin.com/plugins/newsletter/subscription-module#registration');
?>
                </td>
            </tr>
            <tr valign="top">
                <th><?php 
_e('Check box label', 'newsletter');
?>
</th>
                <td>
                    <?php 
$controls->text('subscribe_wp_users_label', 30);
?>
                </td>
            </tr>
        </table>