コード例 #1
0
ファイル: index.php プロジェクト: radikalportal/radikalportal
            <?php 
if (empty($emails)) {
    ?>
                <img src="http://cdn.thenewsletterplugin.com/tnp-reports-dummy-image.png" style="max-width: 100%">
                
            <?php 
} else {
    ?>
                
                <div class="row">
                    
                        <div class="tnp-statistics-info-box">
                            <p class="tnp-legend">Select Newsletter category:</p>
                            <?php 
    $controls->select('type', $type_options, 'All');
    ?>
                            <?php 
    $controls->button('update', __('Update Charts', 'newsletter'));
    ?>
                        </div>
                    
                </div>

                <br>

                <div class="row">
                    <div class="col-md-6">
                        <div class="tnp-widget">
                            <h3>Overview</h3>
                            <div class="inside">
コード例 #2
0
ファイル: export.php プロジェクト: ilke-zilci/newcomers-wp
    </div>
        <div id="tnp-body">
            
    <form method="post" action="<?php 
echo plugins_url('newsletter');
?>
/users/csv.php">
        <?php 
$controls->init();
?>
        <table class="form-table">
             <tr>
                 <th>Fields separator</th>
                 <td>
                    <?php 
$controls->select('separator', array(';' => 'Semicolon', ',' => 'Comma', 'tab' => 'Tabulation'));
?>
                     <p class="description">Try to change the separator if Excel does not recognize the columns.</p>
                 </td>
             </tr>
            <tr>
                <th>Limit to</th>
                <td>
                    <?php 
$controls->select('list', $lists);
?>
                    <p class="description">Limit to the user with that preference active</p>
                </td>
            </tr>
        </table>
        <p>
コード例 #3
0
?>
                   <div class="hints">
                        Tags: <strong>{name}</strong> receiver name.
                   </div>
                </td>
            </tr>

            <tr valign="top">
                <th>Message</th>
                <td>
                    <?php 
$nc->data['editor'] == 0 ? $nc->editor('message', 20) : $nc->textarea_fixed('message', '100%', 400);
?>
                    <br />
                    <?php 
$nc->select('editor', array(0 => 'Edit with visual editor', 1 => 'Edit as plain text'));
?>
                    <div class="hints">
                        Tags: <strong>{name}</strong> receiver name;
                        <strong>{unsubscription_url}</strong> unsubscription URL;
                        <strong>{token}</strong> the subscriber token; <strong>{profile_url}</strong> link to user subscription options page;
                        <strong>{np_aaa}</strong> user profile data named "aaa".
                    </div>
                </td>
            </tr>

            <tr valign="top">
                <th>To...</th>
                <td>
                    list: <?php 
$nc->select('list', $lists);
コード例 #4
0
ファイル: edit.php プロジェクト: taeche/SoDoEx
$controls->checkboxes_group('sex', array('f' => 'Women', 'm' => 'Men', 'n' => 'Not specified'));
?>
                            <div class="hints">
                                Leaving all gender options unselected disable this filter.
                            </div>
                        </td>
                    </tr>
                    <tr valign="top">
                        <th><?php 
_e('Subscriber preferences', 'newsletter');
?>
</th>
                        <td>
                            Subscribers with
                            <?php 
$controls->select('preferences_status_operator', array(0 => 'at least one preference', 1 => 'all preferences'));
?>

                            <?php 
$controls->select('preferences_status', array(0 => 'active', 1 => 'not active'));
?>
                            between the selected ones below:

                            <?php 
$controls->preferences_group('preferences', true);
?>
                            <div class="hints">
                                You can address the newsletter to subscribers who selected at least one of the options or to who
                                has not selected at least one of the options.
                                <a href="http://www.thenewsletterplugin.com/plugins/newsletter/newsletter-preferences" target="_blank">Read more about the "NOT ACTIVE" usage</a>.
                            </div>
コード例 #5
0
ファイル: import.php プロジェクト: lenguyenitc/donations
        <form method="post" enctype="multipart/form-data">

        <?php 
$controls->init();
?>

        <table class="form-table">

            <tr valign="top">
                <th><?php 
_e('Import Subscribers As', 'newsletter-users');
?>
</th>
                <td>
                    <?php 
$controls->select('import_as', array('C' => __('Confirmed', 'newsletter-users'), 'S' => __('Not confirmed', 'newsletter-users')));
?>
                </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-users');
?>
コード例 #6
0
ファイル: options.php プロジェクト: manhhung86it/builder-site
                <li><a href="#tabs-3">Confirmation</a></li>
                <li><a href="#tabs-4">Welcome</a></li>
                <li><a href="#tabs-8">Template</a></li>
                <li><a href="#tabs-9">Profile</a></li>
                <li><a href="#tabs-5">Unsubscription</a></li>
                <li><a href="#tabs-wp">WP Registration</a></li>
                <li><a href="#tabs-7">Docs</a></li>
            </ul>

            <div id="tabs-general">
                <table class="form-table">
                    <tr valign="top">
                        <th>Opt In</th>
                        <td>
                            <?php 
$controls->select('noconfirmation', array(0 => 'Double Opt In', 1 => 'Single Opt In'));
?>
                            <p class="description">
                                <strong>Double Opt In</strong> means subscribers need to confirm their email address by an activation link sent them on a activation email message.<br />
                                <strong>Single Opt In</strong> means subscribers do not need to confirm their email address.<br />
                            </p>
                        </td>
                    </tr>
                    <tr valign="top">
                        <th>Newsletter dedicated page</th>
                        <td>
                            <?php 
$controls->text('url', 70);
?>
                            <?php 
if (empty($controls->data['url'])) {
コード例 #7
0
ファイル: profile.php プロジェクト: jrialland/site-plr
$controls->text('email_error', 50);
?>
</td></tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <th>Name or first name</th>
                        <td>
                            <table class="newsletter-option-grid">
                                <tr><th>Field label</th><td><?php 
$controls->text('name', 50);
?>
</td></tr>
                                <tr><th>When to show</th><td><?php 
$controls->select('name_status', $status);
?>
</td></tr>
                                <tr><th>Rules</th><td><?php 
$controls->select('name_rules', $rules);
?>
</td></tr>
                                <tr><th>Error message</th><td><?php 
$controls->text('name_error', 50);
?>
</td></tr>
                            </table>
                            <p class="description">
                                If you want to collect only a generic "name", use only this field and not the
                                last name field.
                            </p>
コード例 #8
0
ファイル: main.php プロジェクト: lenguyenitc/donations
                        <td>
                            <?php 
$controls->textarea('css');
?>
                            <p class="description">
                                Add here your own css to style the forms. The whole form is enclosed in a div with class
                                "newsletter" and it's made with a table (guys, I know about your table less design
                                mission, don't blame me too much!)
                            </p>
                        </td>
                    </tr>
                    <tr valign="top">
                        <th>Email body content encoding</th>
                        <td>
                            <?php 
$controls->select('content_transfer_encoding', array('' => 'Default', '8bit' => '8 bit', 'base64' => 'Base 64'));
?>
                            <p class="description">
                                Sometimes setting it to Base 64 solves problem with old mail servers (for example truncated or unformatted emails.
                                <a href="http://www.thenewsletterplugin.com/plugins/newsletter/newsletter-configuration#enconding" target="_blank">Read more here</a>.
                            </p>
                        </td>
                    </tr>
                    <tr valign="top">
                        <th>PHP max execution time</th>
                        <td>
                            <?php 
$controls->text('php_time_limit', 10);
?>
                            (before write in something, <a href="http://www.thenewsletterplugin.com/plugins/newsletter/newsletter-configuration#advanced" target="_blank">read here</a>)
                            <p class="description">
コード例 #9
0
ファイル: users-edit.php プロジェクト: besimhu/legacy
                </td>
            </tr>
            <tr valign="top">
                <th>Name and email</th>
                <td>
                    first name: <?php 
$nc->text('name', 30);
?>
 last name: <?php 
$nc->text('surname', 30);
?>
                    email: <?php 
$nc->text('email', 40);
?>
 sex: <?php 
$nc->select('sex', array('n' => 'Not specified', 'f' => 'female', 'm' => 'male'));
?>
                </td>
            </tr>
            <tr valign="top">
                <th>Status</th>
                <td>
                    <?php 
$nc->select('status', array('C' => 'Confirmed', 'S' => 'Not confirmed', 'B' => 'Bounce'));
?>
                </td>
            </tr>
            <tr valign="top">
                <th>Lists</th>
                <td>
                    <table>
コード例 #10
0
ファイル: main.php プロジェクト: radikalportal/radikalportal
$controls->yesno('phpmailer');
?>
                                <p class="description">
                                    Instead of using WordPress emails are sent directly by Newsletter. 
                                    This enable the textual part of newsletters and the content encoding setting. 
                                    Keep at "No" if you're using
                                    ans SMTP plugin like Postman. 
                                    <a href=" http://www.thenewsletterplugin.com/configuration-tnin-send-email" target="_blank">Read more</a>.
                                </p>
                            </td>
                        </tr>
                        <tr valign="top">
                            <th>Email body content encoding</th>
                            <td>
                                <?php 
$controls->select('content_transfer_encoding', array('' => 'Default', '8bit' => '8 bit', 'base64' => 'Base 64', 'binary' => 'Binary', 'quoted-printable' => 'Quoted printable', '7bit' => '7 bit'));
?>
                                <p class="description">
                                    Sometimes setting it to Base 64 solves problem with old mail servers (for example truncated or unformatted emails.
                                    <a href="http://www.thenewsletterplugin.com/plugins/newsletter/newsletter-configuration#enconding" target="_blank">Read more here</a>.
                                    Works only with direct email sending, see the option above.
                                </p>
                            </td>
                        </tr>
                        <tr valign="top">
                            <th>PHP max execution time</th>
                            <td>
                                <?php 
$controls->text('php_time_limit', 10);
?>
                                (before write in something, <a href="http://www.thenewsletterplugin.com/plugins/newsletter/newsletter-configuration#advanced" target="_blank">read here</a>)
コード例 #11
0
ファイル: index.php プロジェクト: radikalportal/radikalportal
    </div>

    <div id="tnp-body">

        <form method="post" action="">

            <?php 
$controls->init();
?>

            <table class="form-table">
                <tr valign="top">
                    <th>Subscription on registration</th>
                    <td>
                        <?php 
$controls->select('subscribe', array(0 => 'No', 1 => 'Yes, force subscription', 2 => 'Yes, show the option', 3 => 'Yes, show the option already checked'));
?>
                        <p class="description">
                            Adds a newsletter subscription option on registration. 
                            <a href="http://www.thenewsletterplugin.com/plugins/newsletter/subscription-module#registration" target="_blank">Read more</a>
                        </p>
                    </td>
                </tr>
                <tr valign="top">
                    <th><?php 
_e('Check box label', 'newsletter');
?>
</th>
                    <td>
                        <?php 
$controls->text('subscribe_label', 30);
コード例 #12
0
ファイル: users.php プロジェクト: rajveerbeniwal/rooms-dhkh
        <h3>Massive actions</h3>
        <table class="form-table">
            <tr>
                <th>General actions on subscribers</th>
                <td>
                    <?php 
$nc->button_confirm('remove_all', 'Delete all', 'Are you sure you want to remove ALL subscribers?');
?>
                </td>
            </tr>
            <tr>
                <th>Lists</th>
                <td>
                    List <?php 
$nc->select('list', $lists);
?>
:
                    <?php 
$nc->button_confirm('list_add', 'Add all to it', 'Are you sure?');
?>
                    <?php 
$nc->button_confirm('list_remove', 'Cancel all from it', 'Are you sure?');
?>
                    <?php 
$nc->button_confirm('list_delete', 'Delete subscribers of it', 'Are you really sure you want to delete those user from your database?');
?>
                    <br /><br />
                    <?php 
$nc->select('list_action', array('move' => 'Move', 'add' => 'Add'));
?>
コード例 #13
0
ファイル: import.php プロジェクト: manhhung86it/builder-site
                <td>
                    <?php 
$controls->preferences_group('preferences', true);
?>
                    <div class="hints">
                        Every new imported or updated subscriber will be associate with selected preferences above.
                    </div>
                </td>
            </tr>

            <!--
            <tr valign="top">
                <th>Follow up</th>
                <td>
            <?php 
$controls->select('followup', array('none' => 'None', 'activate' => 'Activate'));
?>
                </td>
            </tr>
            -->

            <tr valign="top">
                <th>Import mode</th>
                <td>
                    If the email is already present:
                    <?php 
$controls->select('mode', array('update' => 'Update', 'overwrite' => 'Overwrite', 'skip' => 'Skip'));
?>
                    <div class="hints">
                        <strong>Update</strong>: the user data is updated: if a user was associated to some preferences, those associations will be
                        kept and the new ones added; his name is updated as well.<br />
コード例 #14
0
ファイル: main.php プロジェクト: elizabethcb/Daily-Globe
$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');
?>
                </td>
            </tr>
            <tr valign="top">
                <th><?php 
_e('Logging', 'newsletter');
?>
</th>
                <td>
                    <?php 
$nc->select('logs', array(0 => 'None', 1 => 'Normal', 2 => 'Debug'));
?>
                    <br />
                    <?php 
_e('Debug level saves user data on file system, use only to debug problems.', 'newsletter');
?>
                </td>
            </tr>
        </table>
        <p class="submit">
            <?php 
$nc->button('save', __('Save', 'newsletter'));
?>
        </p>
    </form>
</div>
コード例 #15
0
ファイル: options.php プロジェクト: besimhu/legacy

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

        <h3>Working mode</h3>
        <div>
        <p>Choose how the subscription process to your newsletter works.</p>
        <table class="form-table">
            <tr valign="top">
                <th>Opt In</th>
                <td>
                    <?php 
$nc->select('noconfirmation', array(0 => 'Double Opt In', 1 => 'Single Opt In'));
?>
                    <div class="hints">
                        <strong>Double Opt In</strong> means subscribers need to confirm their email address by an activation link sent them on a activation email message.<br />
                        <strong>Single Opt In</strong> means subscribers do not need to confirm their email address.<br />
                    </div>
                </td>
            </tr>
        </table>
        <p class="submit">
            <?php 
$nc->button('save', __('Save', 'newsletter'));
?>
        </p>
        </div>
        
コード例 #16
0
                <table class="form-table">
                    <tr valign="top">
                        <th>A valid MandrillApp API Key</th>
                        <td>
                            <?php 
$controls->text('smtp_password', 50);
?>
                            <p class="description">You can generate an API key from their console.</p>
                        </td>
                    </tr>
                    <tr valign="top">
                        <th>API or SMTP?</th>
                        <td>
                            <?php 
$controls->select('api', array('0' => 'SMTP', '1' => 'API'));
?>
                            <p class="description">Using of the API method is now reocmmended, Using the API you don't need to set the
                                fields below.</p>
                        </td>
                    </tr>
                    <tr valign="top">
                        <th>MandrillApp username</th>
                        <td>
                            <?php 
$controls->text('smtp_user', 50);
?>
                            <p class="description">Your MandrillaApp login email address.</p>
                        </td>
                    </tr>
                    <tr>
コード例 #17
0
?>
</td></tr>
        </table>
      </div>


      <div id="tabs-2">
        <table class="form-table">
          <tr>
            <th><?php 
_e('Preferences/lists management', 'newsletter');
?>
</th>
            <td>
              For preference <?php 
$controls->select('list', $lists);
?>
:
              <?php 
$controls->button_confirm('list_add', 'Add it to every user', __('Are you sure?', 'newsletter'));
?>
              <?php 
$controls->button_confirm('list_remove', 'Remove it from every user', __('Are you sure?', 'newsletter'));
?>
              <?php 
$controls->button_confirm('list_delete', 'Delete subscribers of it', __('Are you sure?', 'newsletter'));
?>
              <br /><br />
              <?php 
$controls->select('list_action', array('move' => 'Change', 'add' => 'Add'));
?>
コード例 #18
0
ファイル: main.php プロジェクト: rajveerbeniwal/rooms-dhkh
                </td>
            </tr>
            <tr>
                <th>Generic test subscribers</th>
                <td>
                    <?php 
for ($i = 0; $i < 5; $i++) {
    ?>
                    email: <?php 
    $nc->text('test_email_' . $i, 30);
    ?>
 name: <?php 
    $nc->text('test_name_' . $i, 30);
    ?>
                    sex: <?php 
    $nc->select('test_sex_' . $i, array('n' => 'None', 'f' => 'Female', 'm' => 'Male'));
    ?>
<br />
                    <?php 
}
?>
                    <div class="hints">
                        These names and addresses are used by test functionalities on configuration panel. Be sure to fill at least the first
                        test subscriber.<br />
                        <strong>Do not use as email address the same address set as "sender"</strong> (see above), usually it does not work.<br />
                        <strong>You should make a test every time you change one of the settings above</strong>.
                    </div>
                </td>
            </tr>
            <tr valign="top">
                <th>Max emails per hour</th>
コード例 #19
0
ファイル: options.php プロジェクト: chicosilva/olharambiental
                <li><a href="#tabs-3">Confirmation</a></li>
                <li><a href="#tabs-4">Welcome</a></li>
                <li><a href="#tabs-8">Template</a></li>
                <li><a href="#tabs-9">Profile</a></li>
                <li><a href="#tabs-5">Unsubscription</a></li>
                <li><a href="#tabs-wp">WP Registration</a></li>
                <li><a href="#tabs-7">Docs</a></li>
            </ul>

            <div id="tabs-general">
                <table class="form-table">
                    <tr valign="top">
                        <th>Opt In</th>
                        <td>
                            <?php 
$controls->select('noconfirmation', array(0 => 'Double Opt In', 1 => 'Single Opt In'));
?>
                            <p class="description">
                                <strong>Double Opt In</strong> means subscribers need to confirm their email address by an activation link sent them on a activation email message.<br />
                                <strong>Single Opt In</strong> means subscribers do not need to confirm their email address.<br />
                            </p>
                        </td>
                    </tr>
                    <tr valign="top">
                        <th>Newsletter dedicated page</th>
                        <td>
                            <?php 
$controls->text('url', 70);
?>
                            <?php 
if (empty($controls->data['url'])) {
コード例 #20
0
            <ul>
                <li><a href="#tabs-general">General</a></li>
                <li><a href="#tabs-2">Subscription</a></li>
                <li><a href="#tabs-3">Confirmation</a></li>
                <li><a href="#tabs-4">Welcome</a></li>
                <li><a href="#tabs-9">Profile</a></li>
                <li><a href="#tabs-7">Docs</a></li>
            </ul>

            <div id="tabs-general">
                <table class="form-table">
                    <tr valign="top">
                        <th>Opt In</th>
                        <td>
                            <?php 
$controls->select('noconfirmation', array(0 => 'Double Opt In', 1 => 'Single Opt In'));
?>
                            <p class="description">
                                <strong>Double Opt In</strong> means subscribers need to confirm their email address by an activation link sent them on a activation email message.<br />
                                <strong>Single Opt In</strong> means subscribers do not need to confirm their email address.<br />
                            </p>
                        </td>
                    </tr>
                    <tr valign="top">
                        <th>Newsletter dedicated page</th>
                        <td>
                            <?php 
$controls->text('url', 70);
?>
                            <?php 
if (empty($controls->data['url'])) {
コード例 #21
0
ファイル: profile.php プロジェクト: besimhu/legacy
                    </tr>
                        </thead>
                    <tr>
                        <td>Email</td><td>&nbsp;</td>
                        <td>
                            label: <?php 
$nc->text('email');
?>
<br/>
                            wrong email message: <?php 
$nc->text('email_error', 50);
?>
                        </td>
                    </tr>
                    <tr><td>First Name</td><td><?php 
$nc->select('name_status', $status);
?>
</td><td>label: <?php 
$nc->text('name');
?>
</td></tr>
                    <tr><td>Last Name</td><td><?php 
$nc->select('surname_status', $status);
?>
</td><td>label: <?php 
$nc->text('surname');
?>
</td></tr>
                    <tr>
                        <td>Sex</td><td><?php 
$nc->select('sex_status', $status);
コード例 #22
0
ファイル: edit.php プロジェクト: radikalportal/radikalportal
$controls->checkboxes_group('sex', array('f' => 'Women', 'm' => 'Men', 'n' => 'Not specified'));
?>
                            <p class="description">
                                Leaving all gender options unselected disable this filter.
                            </p>
                        </td>
                    </tr>
                    <tr valign="top">
                        <th><?php 
_e('Lists', 'newsletter');
?>
</th>
                        <td>
                            Subscribers with
                            <?php 
$controls->select('preferences_status_operator', array(0 => 'at least one list', 1 => 'all lists'));
?>

                            <?php 
$controls->select('preferences_status', array(0 => 'active', 1 => 'not active'));
?>
                            <?php 
_e('checked below', 'newsletter');
?>

                            <?php 
$controls->preferences_group('preferences', true);
?>
                            <p class="description">
                                You can address the newsletter to subscribers who selected at least one of the options or to who
                                has not selected at least one of the options.
コード例 #23
0
ファイル: edit.php プロジェクト: manhhung86it/builder-site
              </div>
            </td>
          </tr>
          <tr valign="top">
            <th>Last name</th>
            <td>
              <?php 
$controls->text('surname', 50);
?>
            </td>
          </tr>
          <tr valign="top">
            <th>Gender</th>
            <td>
              <?php 
$controls->select('sex', array('n' => 'Not specified', 'f' => 'female', 'm' => 'male'));
?>
            </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 
コード例 #24
0
ファイル: massive.php プロジェクト: lenguyenitc/donations
            </td>
          </tr>
          <tr>
            <td><?php 
_e('Import WordPress users', 'newsletter-users');
?>
</td>
            <td>
                &nbsp;
            </td>
            <td>
                <?php 
_e('With status', 'newsletter-users');
?>
                <?php 
$controls->select('align_wp_users_status', array('C' => __('Confirmed', 'newsletter-users'), 'S' => __('Not confirmed', 'newsletter-users')));
?>
                <?php 
$controls->button_confirm('align_wp_users', __('Go', 'newsletter-users'), __('Proceed?', 'newsletter-users'));
?>
                <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-users');
?>
                    </a>
                </p>
            </td>
          </tr>

          <tr>
コード例 #25
0
ファイル: lists.php プロジェクト: ilke-zilci/newcomers-wp
                </tr>
            </thead>
            <?php 
for ($i = 1; $i <= NEWSLETTER_LIST_MAX; $i++) {
    ?>
                <tr>
                    <td>List <?php 
    echo $i;
    ?>
</td>
                    <td><?php 
    $controls->text('list_' . $i);
    ?>
</td>
                    <td><?php 
    $controls->select('list_' . $i . '_status', $status);
    ?>
</td>
                    <td><?php 
    $controls->select('list_' . $i . '_checked', array(0 => 'Unchecked', 1 => 'Checked'));
    ?>
</td>
                </tr>
            <?php 
}
?>
        </table>

        <p>
            <?php 
$controls->button_save();
コード例 #26
0
ファイル: index.php プロジェクト: chicosilva/olharambiental
    <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, __('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">
コード例 #27
0
ファイル: index.php プロジェクト: lenguyenitc/donations
    </div>
    <div class="newsletter-separator"></div>
    
    <form method="post" action="">
        <?php 
$controls->init();
?>
    <table class="form-table">
        <tr>
            <th><?php 
_e('Tracking URL', 'newsletter-statistics');
?>
</th>
            <td>
                <?php 
$controls->select('tracking_url', array(0 => __('Standard', 'newsletter-statistics'), 1 => __('Blog Home URL with parameters', 'newsletter-statistics')));
?>
                <p class="description">
                    <?php 
_e('How the links inside newsletters are rewritten to track clicks.', 'newsletter-statistics');
?>
 
                    <?php 
_e('Since spam filters check links inside emails, <a href="http://www.thenewsletterplugin.com/plugins/newsletter/statistics-module#tracking-url" target="_blank">read more about this setting</a>.', 'newsletter-statistics');
?>
 
                </p>
            </td>
        </tr>
        <tr>
            <th><?php 
コード例 #28
0
ファイル: smtp.php プロジェクト: radikalportal/radikalportal
                <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'));
?>
                    <p class="description">
                        Leave port empty for default value (25). To use Gmail try host "smtp.gmail.com" and port "465" and SSL protocol (without quotes).
                        For GoDaddy use "relay-hosting.secureserver.net".
                    </p>
                </td>
            </tr>
            <tr>
                <th>Authentication</th>
                <td>
                    user: <?php 
$controls->text('user', 30);
?>
                    password: <?php 
$controls->text('pass', 30);
コード例 #29
0
ファイル: index-old.php プロジェクト: taeche/SoDoEx
?>

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

        <table class="form-table">
            <tr valign="top">
                <td>
                    <?php 
$controls->select('search_status', array('' => 'Any status', 'C' => 'Confirmed', 'S' => 'Not confirmed', 'U' => 'Unsubscribed', 'B' => 'Bounced'));
?>
                    <?php 
$order_fields = array('id' => 'Order by id', 'email' => 'Order by email', 'name' => 'Order by name');
for ($i = 1; $i < 20; $i++) {
    if ($options_profile['profile_' . $i] == '') {
        continue;
    }
    $order_fields['profile_' . $i] = $options_profile['profile_' . $i];
}
?>

                    <?php 
$controls->select('search_order', $order_fields);
?>
コード例 #30
0
ファイル: main.php プロジェクト: ilke-zilci/newcomers-wp
                        <td>
                            <?php 
$controls->textarea('css');
?>
                            <p class="description">
                                Add here your own css to style the forms. The whole form is enclosed in a div with class
                                "newsletter" and it's made with a table (guys, I know about your table less design
                                mission, don't blame me too much!)
                            </p>
                        </td>
                    </tr>
                    <tr valign="top">
                        <th>Email body content encoding</th>
                        <td>
                            <?php 
$controls->select('content_transfer_encoding', array('' => 'Default', '8bit' => '8 bit', 'base64' => 'Base 64'));
?>
                            <p class="description">
                                Sometimes setting it to Base 64 solves problem with old mail servers (for example truncated or unformatted emails.
                                <a href="http://www.thenewsletterplugin.com/plugins/newsletter/newsletter-configuration#enconding" target="_blank">Read more here</a>.
                            </p>
                        </td>
                    </tr>
                    <tr valign="top">
                        <th>PHP max execution time</th>
                        <td>
                            <?php 
$controls->text('php_time_limit', 10);
?>
                            (before write in something, <a href="http://www.thenewsletterplugin.com/plugins/newsletter/newsletter-configuration#advanced" target="_blank">read here</a>)
                            <p class="description">