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


PHP NewsletterControls::hint方法代码示例

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


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

示例1: count

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

示例2: address

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

示例3: array

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


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