当前位置: 首页>>代码示例>>PHP>>正文


PHP NewsletterControls::checkbox方法代码示例

本文整理汇总了PHP中NewsletterControls::checkbox方法的典型用法代码示例。如果您正苦于以下问题:PHP NewsletterControls::checkbox方法的具体用法?PHP NewsletterControls::checkbox怎么用?PHP NewsletterControls::checkbox使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在NewsletterControls的用法示例。


在下文中一共展示了NewsletterControls::checkbox方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: array

?>

        <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');
?>
开发者ID:ilke-zilci,项目名称:newcomers-wp,代码行数:31,代码来源:import.php

示例2: array

}
?>

                    <?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">
开发者ID:taeche,项目名称:SoDoEx,代码行数:31,代码来源:index-old.php

示例3:

                        </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">
开发者ID:chicosilva,项目名称:olharambiental,代码行数:31,代码来源:options.php

示例4: htmlspecialchars

$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">
开发者ID:rajveerbeniwal,项目名称:rooms-dhkh,代码行数:31,代码来源:users-edit.php

示例5: array

    <?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 
开发者ID:manhhung86it,项目名称:builder-site,代码行数:31,代码来源:index.php

示例6: array

            <?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;
开发者ID:chicosilva,项目名称:olharambiental,代码行数:31,代码来源:index.php

示例7:

                        <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>
开发者ID:radikalportal,项目名称:radikalportal,代码行数:31,代码来源:options.php

示例8:

?>
        </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');
开发者ID:elizabethcb,项目名称:Daily-Globe,代码行数:31,代码来源:options.php

示例9: htmlspecialchars

                <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>
开发者ID:elizabethcb,项目名称:Daily-Globe,代码行数:31,代码来源:newsletter.php

示例10:

            
                <?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'));
开发者ID:ilke-zilci,项目名称:newcomers-wp,代码行数:30,代码来源:index.php

示例11: array

                        <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">
开发者ID:kfwebdev,项目名称:wp-atd,代码行数:31,代码来源:index.php


注:本文中的NewsletterControls::checkbox方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。