示例#1
0
?>

        <table class="form-table">

            <tr valign="top">
                <th><?php 
_e('Import Subscribers As', 'newsletter');
?>
</th>
                <td>
                    <?php 
$controls->select('import_as', array('C' => __('Confirmed', 'newsletter'), 'S' => __('Not confirmed', 'newsletter')));
?>
                    <br>
                    <?php 
$controls->checkbox('override_status', __('Override status of existing users', 'newsletter'));
?>
                </td>
            </tr>

            <tr valign="top">
                <th>Import mode</th>
                <td>
                    <?php 
$controls->select('mode', array('update' => 'Update', 'overwrite' => 'Overwrite', 'skip' => 'Skip'));
?>
                    if email is already present
                    <div class="hints">
                        <strong>Update</strong>: <?php 
_e('user data will be updated, existing preferences will be left untouched and new ones will be added.', 'newsletter');
?>
示例#2
0
}
?>

                    <?php 
$controls->select('search_order', $order_fields);
?>

                    <?php 
$controls->select('search_limit', array(100 => 'Max 100 results', '1000' => 'Max 1000 result', '' => 'No limit'));
?>

                    <?php 
$controls->select('search_list', $lists);
?>
                    <?php 
$controls->checkbox('search_test');
?>
 Test subscribers
                    <br />
                    <?php 
_e('show clicks', 'newsletter');
?>
:&nbsp;<?php 
$controls->yesno('search_clicks');
?>
                    who&nbsp;clicked:&nbsp;&nbsp;
                    <?php 
$controls->select('search_link', $links);
?>

                    <div class="hints">
示例#3
0
                        </td>
                    </tr>
                </table>

                <h3>Special cases</h3>

                <table class="form-table">
                    <tr valign="top">
                        <th>Already subscribed page content</th>
                        <td>
                            <?php 
$controls->wp_editor('already_confirmed_text');
?>
<br>
                            <?php 
$controls->checkbox('resend_welcome_email_disabled', 'Do not resend the welcome email');
?>
                            <p class="description">
                                Shown when the email is already subscribed and confirmed. The welcome email, if not disabled, will
                                be sent. Find out more on this topic on its
                                <a href="http://www.thenewsletterplugin.com/plugins/newsletter/subscription-module#repeated" target="_blank">documentation page</a>.
                            </p>
                        </td>
                    </tr>
                    <tr valign="top">
                        <th>Error page content</th>
                        <td>
                            <?php 
$controls->wp_editor('error_text');
?>
                            <p class="description">
示例#4
0
$nc->yesno('test');
?>
                    <div class="hints">
                        A test subscriber is a normal subscriber that is used when sending test are made, too.
                    </div>
                </td>
            </tr>            
            <tr valign="top">
                <th>Lists</th>
                <td>
                    <table>
                        <tr>
                            <td valign="top">
                                <?php 
for ($i = 1; $i <= 5; $i++) {
    $nc->checkbox('list_' . $i, '(' . $i . ') ' . htmlspecialchars($options_profile['list_' . $i]) . '<br />');
}
?>
                            </td>
                            <td valign="top">
                                <?php 
for ($i = 6; $i <= 9; $i++) {
    $nc->checkbox('list_' . $i, '(' . $i . ') ' . htmlspecialchars($options_profile['list_' . $i]) . '<br />');
}
?>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr valign="top">
示例#5
0
    <?php 
$controls->show();
?>

    <form id="channel" method="post" action="">
        <?php 
$controls->init();
?>

        <div style="padding: .6em; border: 1px solid #ddd; background-color: #f4f4f4; border-radius: 3px;">
            <?php 
$controls->text('search_text', 80);
?>

            <!--<?php 
$controls->checkbox('search_test');
?>
 show subscriber with "test" flag on-->
            <?php 
$controls->select('search_status', array('' => 'Any status', 'T' => 'Test subscribers', 'C' => 'Confirmed', 'S' => 'Not confirmed', 'U' => 'Unsubscribed', 'B' => 'Bounced'));
?>
            <?php 
$controls->button('search', 'Search');
?>
        </div>




<div class="newsletter-paginator">
<?php 
示例#6
0
            <?php 
$controls->text('search_text', 80, __('Search text', 'newsletter-users'));
?>

            <?php 
_e('filter by', 'newsletter-users');
?>
:<?php 
$controls->select('search_status', array('' => 'Any status', 'T' => 'Test subscribers', 'C' => 'Confirmed', 'S' => 'Not confirmed', 'U' => 'Unsubscribed', 'B' => 'Bounced'));
?>
            <?php 
$controls->button('search', __('Search', 'newsletter-users'));
?>
            <br>
            <?php 
$controls->checkbox('show_preferences', __('Show preferences', 'newsletter-users'));
?>
        </div>




<div class="newsletter-paginator">

<?php 
$controls->button('first', '«');
$controls->button('prev', '‹');
$controls->text('search_page', 3);
?>
 of <?php 
echo $last_page + 1;
示例#7
0
                        <tr valign="top">
                            <th>Forced preferences</th>
                            <td>
                                <?php 
$controls->preferences();
?>
                                <p class="description">
                                    Add to new subscribers these preferences by default.
                                </p>
                            </td>
                        </tr>
                        <tr valign="top">
                            <th>Disable antibot/antispam?</th>
                            <td>
                                <?php 
$controls->checkbox('antibot_disable');
?>
                                <p class="description">
                                    Required for ajax form subsmissions.
                                </p>
                            </td>
                        </tr>
                    </table>

                    <h3>Special cases</h3>

                    <table class="form-table">
                        <!--
                        <tr valign="top">
                            <th>Already subscribed page content</th>
                            <td>
示例#8
0
?>
        </p>




        <h3><?php 
_e('Subscription', 'newsletter');
?>
</h3>
        <table class="form-table">
            <tr valign="top">
                <th>&nbsp;</th>
                <td>
                    <?php 
$nc->checkbox('noname', __('Do not ask the user name, only email.', 'newsletter'));
?>
                </td>
            </tr>
            <tr valign="top">
                <th><?php 
_e('Subscription form page', 'newsletter');
?>
</th>
                <td>
                    <?php 
$nc->editor('subscription_text');
?>
                    <br />
                    <?php 
_e('This is the text showed to subscriber before the subscription form which is added automatically.', 'newsletter');
示例#9
0
                <td>
                    <?php 
$nc->text('subject', 70);
?>
                    <br />
                    <?php 
_e('Tags: <strong>{name}</strong> receiver name.', 'newsletter');
?>
                </td>
            </tr>

            <tr valign="top">
                <th>Message</th>
                <td>
                    <?php 
$nc->checkbox('novisual', 'disable the visual editor');
?>
                    (save to apply and be sure to <a href="http://www.satollo.net/plugins/newsletter#composer">read here</a>)
                    <br />
                    <textarea name="options[message]" wrap="off" rows="20" style="font-family: monospace; width: 100%"><?php 
echo htmlspecialchars($options['message']);
?>
</textarea>
                    <br />
                    <?php 
_e('Tags: <strong>{name}</strong> receiver name;
<strong>{unsubscription_url}</strong> unsubscription URL;
<strong>{token}</strong> the subscriber token.', 'newsletter');
?>
                </td>
            </tr>
示例#10
0
            
                <?php 
$controls->button('search', __('Search', 'newsletter'));
?>
            <?php 
if ($where != "where 1=1") {
    ?>
                <?php 
    $controls->button('reset', __('Reset Filters', 'newsletter'));
    ?>
        <?php 
}
?>
            <br>
            <?php 
$controls->checkbox('show_preferences', __('Show lists', 'newsletter'));
?>
        </div>

<div class="tnp-paginator">

<?php 
$controls->button('first', '«');
$controls->button('prev', '‹');
$controls->text('search_page', 3);
?>
 of <?php 
echo $last_page + 1;
?>
 <?php 
$controls->button('go', __('Go', 'newsletter'));
示例#11
0
文件: index.php 项目: kfwebdev/wp-atd
                        <th>Enabled?</th>
                        <td>
                            <?php 
$controls->yesno('enabled');
?>
                        </td>
                    </tr>
                </table>
                
                <h3>Recording</h3>
                <table class="form-table">
                    <tr valign="top">
                        <th>Active?</th>
                        <td>
                            <?php 
$controls->checkbox('record');
?>
                            <p class="description">
                                Disable the recording feature as soon as you finished to use it.
                            </p>
                        </td>
                    </tr>
                     
                </table>
                   
                        <h3>Last recorded form</h3>

                            <?php 
$record = get_option($module->prefix . '_record', array());
?>
                            <table class="widefat">