예제 #1
0
    <th>Disable visual editors?</th>
    <td>
        <?php $controls->yesno('novisual'); ?>
        <p class="description">
            If you prefer to edit the messages on this cofiguration panel writing them in HTML, you can
            disable the visual editors.
        </p>
    </td>
</tr>
*/
?>
                    <tr valign="top">
                        <th>Notifications</th>
                        <td>
                            <?php 
$controls->yesno('notify');
?>
                            to: <?php 
$controls->text_email('notify_email');
?>
 (email address, leave empty for the WordPress administration email <?php 
echo get_option('admin_email');
?>
)
                            <p class="description">
                                Notifications are sent on confirmed subscriptions and cancellations.
                            </p>
                        </td>
                    </tr>
                </table>
            </div>
예제 #2
0
        </p>
    
    </div>

	<div id="tnp-body">

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

        <table class="form-table">
            <tr>
                <th>Enable the SMTP?</th>
                <td><?php 
$controls->yesno('enabled');
?>
</td>
            </tr>
            <tr>
                <th>SMTP host/port</th>
                <td>
                    host: <?php 
$controls->text('host', 30);
?>
                    port: <?php 
$controls->text('port', 6);
?>
                    <?php 
$controls->select('secure', array('' => 'No secure protocol', 'tls' => 'TLS protocol', 'ssl' => 'SSL protocol'));
?>
예제 #3
0
파일: options.php 프로젝트: besimhu/legacy
?>
 (save to apply)
                    <div class="hints">
                        Subscription and cancellation processes send out emails as you configured above. To apply a general theme to those
                        emails, you can create an HTML layout here. You can also use PHP code, just remember to disable the visual editor and to
                        keep it disabled.<br />
                        <strong>Messages are inserted in the theme where you put the {message} tag, don't forget it!</strong>
                    </div>
                </td>
            </tr>
            -->
            <tr valign="top">
                <th>Disable visual editors?</th>
                <td>
                    <?php 
$nc->yesno('novisual');
?>
                </td>
            </tr>
        </table>


        <p class="submit">
            <?php 
$nc->button('save', 'Save');
?>
            <?php 
$nc->button_confirm('reset', 'Reset all', 'Are you sure you want to reset all?');
?>
        </p>
        </div>
예제 #4
0
        </p>
    
    </div>

	<div id="tnp-body">

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

        <table class="form-table">
            <tr>
                <th>Enable the SMTP?</th>
                <td><?php 
$controls->yesno('smtp_enabled');
?>
</td>
            </tr>
            <tr>
                <th>SMTP host/port</th>
                <td>
                    host: <?php 
$controls->text('smtp_host', 30);
?>
                    port: <?php 
$controls->text('smtp_port', 6);
?>
                    <?php 
$controls->select('smtp_secure', array('' => 'No secure protocol', 'tls' => 'TLS protocol', 'ssl' => 'SSL protocol'));
?>
예제 #5
0
        <form method="post" action="">
            <?php 
$controls->init();
?>
            <p>
                <?php 
$controls->button_save();
?>
            </p>
            <table class="form-table">
                <tr valign="top">
                    <th>Enabled?</th>
                    <td>
                        <?php 
$controls->yesno('enabled');
?>
                        <p class="description">
                            When not enabled, the old templating system is used (see the file
                            wp-content/plugins/newsletter/subscription/email.php).
                        </p>
                    </td>
                </tr>
                <tr valign="top">
                    <th>Email template</th>
                    <td>
                        <?php 
$controls->textarea_preview('template', '100%', '700');
?>
                        <?php 
$controls->button_reset();
예제 #6
0
파일: profile.php 프로젝트: besimhu/legacy
?>
</td>
                        <td>
                            label: <?php 
$nc->text('sex');
?>
                            "female": <?php 
$nc->text('sex_female');
?>
                            "male": <?php 
$nc->text('sex_male');
?>
                        </td>
                    </tr>
                    <tr><td>Privacy checkbox</td><td><?php 
$nc->yesno('privacy_status');
?>
</td>
                        <td>
                            text: <?php 
$nc->text('privacy', 50);
?>
<br />
                            unchecked message: <?php 
$nc->text('privacy_error', 50);
?>
                        </td>
                    </tr>
                    </table>
                    <div class="hints">
                    If sex field is disabled subscribers will be stored with unspecified sex. Privacy is applied only on subscription and is
예제 #7
0
?>
            </td>
          </tr>
          <tr valign="top">
            <th>Status</th>
            <td>
              <?php 
$controls->select('status', array('C' => 'Confirmed', 'S' => 'Not confirmed', 'U' => 'Unsubscribed', 'B' => 'Bounced'));
?>
            </td>
          </tr>
          <tr valign="top">
              <th>Test subscriber?</th>
              <td>
                  <?php 
$controls->yesno('test');
?>
                  <div class="hints">
                      A test subscriber is a regular subscriber that is even used as recipint when sending test newsletter are sent
                      (for example to check the layout).
                  </div>
              </td>
          </tr>

              <?php 
do_action('newsletter_user_edit_extra', $controls);
?>

          <tr valign="top">
            <th>Feed by mail</th>
            <td>
예제 #8
0
                    <td colspan="2">
                        <h3><?php 
_e('Confirmation', 'newsletter');
?>
</h3>
                        <p>
                            Subscribers will be automatically confirmed on first log-in (because it demonstrates they received the WP email with
                            their passsword. Hence no confirmation email is sent. Anyway you can change that behavior here and ask anyway for confirmation.
                        </p>
                    </td>
                </tr>  
                <tr valign="top">
                    <th>Send the confirmation email</th>
                    <td>
                        <?php 
$controls->yesno('confirmation');
?>
                    </td>
                </tr>  
                <tr valign="top">
                    <th><?php 
_e('Send welcome email to registered users', 'newsletter');
?>
</th>
                    <td>
                        <?php 
$controls->yesno('welcome');
?>
                    </td>
                </tr>
                <tr valign="top">
예제 #9
0
                </table>
            </div>

            <div id="tabs-2">

                <p>
                    Every setting is explained <a href="http://www.thenewsletterplugin.com/plugins/newsletter/newsletter-configuration#advanced" target="_blank">here</a>.
                </p>

                <table class="form-table">

                    <tr valign="top">
                        <th>Enable access to blog editors?</th>
                        <td>
                            <?php 
$controls->yesno('editor');
?>
                        </td>
                    </tr>

                    <tr valign="top">
                        <th>API key</th>
                        <td>
                            <?php 
$controls->text('api_key', 40);
?>
                            <p class="description">
                                When non-empty can be used to directly call the API for external integration. See API documentation on
                                documentation panel.
                            </p>
                        </td>
예제 #10
0
                <td colspan="2">
                    <h3><?php 
_e('Confirmation', 'newsletter');
?>
</h3>
        <p>
            Subscribers will be automatically confirmed on first log-in (because it demonstrates they received the WP email with
            their passsword. Hence no confirmation email is sent. Anyway you can change that behavior here and ask anyway for confirmation.
        </p>
                </td>
            </tr>  
            <tr valign="top">
                <th>Send the confirmation email</th>
                <td>
                    <?php 
$controls->yesno('wp_send_confirmation');
?>
                </td>
            </tr>  
            <tr valign="top">
                <th><?php 
_e('Send welcome email to registered users', 'newsletter');
?>
</th>
                <td>
                    <?php 
$controls->yesno('wp_welcome');
?>
                </td>
            </tr>
            <tr valign="top">
예제 #11
0
                </div>


                <div id="tabs-advanced">

                    <p>
                        Every setting is explained <a href="http://www.thenewsletterplugin.com/plugins/newsletter/newsletter-configuration#advanced" target="_blank">here</a>.
                    </p>

                    <table class="form-table">

                        <tr valign="top">
                            <th>Enable access to blog editors?</th>
                            <td>
                                <?php 
$controls->yesno('editor');
?>
                            </td>
                        </tr>

                        <tr valign="top">
                            <th>API key</th>
                            <td>
                                <?php 
$controls->text('api_key', 40);
?>
                                <p class="description">
                                    When non-empty can be used to directly call the API for external integration. See API documentation on
                                    documentation panel.
                                </p>
                            </td>
예제 #12
0
?>
" name="options[version]"/>

        <h3><?php 
_e('General parameters', 'newsletter');
?>
</h3>
        <table class="form-table">
            <tr valign="top">
                <th><?php 
_e('Enable access to editors?', 'newsletter');
?>
</th>
                <td>
                    <?php 
$nc->yesno('editor');
?>
                </td>
            </tr>
            <tr valign="top">
                <th><?php 
_e('Always show panels in english?', 'newsletter');
?>
</th>
                <td>
                    <?php 
$nc->yesno('no_translation');
?>
                    <br />
                    <?php 
_e('The author does NOT maintain translations, so if you have a doubt about some texts, disable the translations', 'newsletter');
예제 #13
0
파일: index.php 프로젝트: kfwebdev/wp-atd
        <div id="tabs">
            <ul>
                <li><a href="#tabs-general">General</a></li>
                <li><a href="#tabs-rules">Rules</a></li>
                <li><a href="#tabs-help">Help</a></li>
            </ul>

            <div id="tabs-general">


                <table class="form-table">
                    <tr valign="top">
                        <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.
예제 #14
0
if (!empty($controls->data['url'])) {
    ?>
                                    <br>
                                    If something is not working as expected with this address you can empty the field above and save: a button will appear
                                    to create that page automatically.
                                <?php 
}
?>
                            </p>
                        </td>
                    </tr>
                    <tr valign="top">
                        <th>Notifications</th>
                        <td>
                            <?php 
$controls->yesno('notify');
?>
                            to: <?php 
$controls->text_email('notify_email');
?>
 (email address, leave empty for the WordPress administration email <?php 
echo get_option('admin_email');
?>
)
                            <p class="description">
                                Notifications are sent on confirmed subscriptions and cancellations.
                            </p>
                        </td>
                    </tr>
                </table>
            </div>
예제 #15
0
$controls->text('save');
?>
 (on profile page)</td></tr>
                            </table>
                            <p class="description">
                                For "subscribe" insert an URL to an image (http://...) to use it as a graphical button.
                            </p>
                        </td>
                    </tr>

                    <tr>
                        <th>Privacy check box</th>
                        <td>
                            <table class="newsletter-option-grid">
                                <tr><th>Enabled?</th><td><?php 
$controls->yesno('privacy_status');
?>
</td></tr>
                                <tr><th>Label</th><td><?php 
$controls->text('privacy', 50);
?>
</td></tr>
                                <tr><th>Privacy URL</th><td><?php 
$controls->text('privacy_url', 50);
?>
</td></tr>
                                <tr><th>Error message</th><td><?php 
$controls->text('privacy_error', 50);
?>
</td></tr>
                            </table>
예제 #16
0
        <div id="tabs">
            <ul>
                <li><a href="#tabs-general">General</a></li>
                <li><a href="#tabs-smtp">SMTP/API</a></li>
                <li><a href="#tabs-bounces">Bounces</a></li>
            </ul>

            <div id="tabs-general">

                <table class="form-table">
                    <tr valign="top">
                        <th>Enabled?</th>
                        <td>
                            <?php 
$controls->yesno('enabled');
?>
                        </td>
                    </tr>
                    <tr valign="top">
                        <th>License key</th>
                        <td>
                            <?php 
if (empty(Newsletter::instance()->options['contract_key'])) {
    echo 'Not set';
} else {
    echo Newsletter::instance()->options['contract_key'];
}
?>
                            <p class="description">
                                The license key can be set on main Newsletter configuration and will be used for the one clic
예제 #17
0
?>
                </td>
            </tr>
            <tr valign="top">
                <th>Status</th>
                <td>
                    <?php 
$nc->select('status', array('C' => 'Confirmed', 'S' => 'Not confirmed', 'U' => 'Unsubscribed'));
?>
                </td>
            </tr>
            <tr valign="top">
                <th>Test subscriber?</th>
                <td>
                    <?php 
$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 />');
예제 #18
0
$nc->text('receiver', 40);
?>
 (valid email address)
                    <div class="hints">
                        If set, EVERY email sent by newsletter will be sent to this address. Set this only if you need to test
                        the plugin but already have a list of regular subscribers and you want to see what happens sending real
                        newsletters.<br />
                        If set, the subscription process works but new subscribers won't receive confirmation or welcome email!
                    </div>
                </td>
            </tr>
            <tr valign="top">
                <th>Notifications</th>
                <td>
                    <?php 
$nc->yesno('notify');
?>
                    <div class="hints">
                    Enable or disable notifications of subscription, unsubscription and other events to blog administrator.
                    </div>
                </td>
            </tr>
            <tr valign="top">
                <th>Enable access to editors?</th>
                <td>
                    <?php 
$nc->yesno('editor');
?>
                </td>
            </tr>
            <tr valign="top">
예제 #19
0
파일: edit.php 프로젝트: taeche/SoDoEx
$controls->select('status', array('C' => 'Confirmed', 'S' => 'Not confirmed'));
?>

                            <div class="hints">
                                <strong>Warning! Use this option with care!</strong>
                                <br>
                                You should NEVER send emails to not confirmed subscribers, but if you need to send them
                                an email to ask for confirmation, you can use this option.
                            </div>
                        </td>
                    </tr>
                    <tr valign="top">
                        <th>Only to WordPress users?</th>
                        <td>
                            <?php 
$controls->yesno('wp_users');
?>

                            <div class="hints">
                                Limit to the subscribers which are WordPress users as well.
                            </div>
                        </td>
                    </tr>
                    <tr valign="top">
                        <th>
                            Approximative number of receivers<br>
                            <small>Updated everytime you save</small>
                        </th>
                        <td>
                            <?php 
echo $wpdb->get_var(str_replace('*', 'count(*)', $email['query']));
예제 #20
0
if (!empty($controls->data['url'])) {
    ?>
                                    <br>
                                    If something is not working as expected with this address you can empty the field above and save: a button will appear
                                    to create that page automatically.
                                <?php 
}
?>
                            </p>
                        </td>
                    </tr>
                    <tr valign="top">
                        <th>Notifications</th>
                        <td>
                            <?php 
$controls->yesno('notify');
?>
                            to: <?php 
$controls->text_email('notify_email');
?>
 (email address, leave empty for the WordPress administration email <?php 
echo get_option('admin_email');
?>
)
                            <p class="description">
                                Notifications are sent on confirmed subscriptions and cancellations.
                            </p>
                        </td>
                    </tr>
                </table>
            </div>
예제 #21
0
파일: index-old.php 프로젝트: taeche/SoDoEx
$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">
                    Press without filter to show all. Max 100 results will be shown. Use export panel to get all subscribers.
                    </div>
                </td>
            </tr>
            <tr valign="top">
              <td>
                <?php 
$controls->checkbox('show_profile', 'Show profile fields');
예제 #22
0
            </div>

            
            <div id="tabs-advanced">

                <p>
                    Every setting is explained <a href="http://www.thenewsletterplugin.com/plugins/newsletter/newsletter-configuration#advanced" target="_blank">here</a>.
                </p>

                <table class="form-table">

                    <tr valign="top">
                        <th>Enable access to blog editors?</th>
                        <td>
                            <?php 
$controls->yesno('editor');
?>
                        </td>
                    </tr>

                    <tr valign="top">
                        <th>API key</th>
                        <td>
                            <?php 
$controls->text('api_key', 40);
?>
                            <p class="description">
                                When non-empty can be used to directly call the API for external integration. See API documentation on
                                documentation panel.
                            </p>
                        </td>