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


PHP NewsletterControls::email方法代码示例

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


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

示例1: address

$controls->text('confirmation_url', 70);
?>
                            <p class="description">
                                A full page address (http://yourblog.com/confirm) to be used instead of message above.
                                If left empty the message above is used.
                            </p>
                        </td>
                    </tr>


                    <!-- CONFIRMATION EMAIL -->
                    <tr valign="top">
                        <th>Confirmation email</th>
                        <td>
                            <?php 
$controls->email('confirmation', 'wordpress');
?>
                            <?php 
$controls->button('test-confirmation', 'Send a test');
?>
                            <p class="description">
                                Message sent by email to new subscribers with instructions to confirm their subscription
                                (for double opt-in process). Do not forget to add the <strong>{subscription_confirm_url}</strong>
                                that users must click to activate their subscription.<br />
                                Sometime can be useful to add a <strong>{unsubscription_url}</strong> to let users to
                                cancel if they wrongly subscribed to your newsletter.
                            </p>
                        </td>
                    </tr>
                </table>
            </div>
开发者ID:chicosilva,项目名称:olharambiental,代码行数:31,代码来源:options.php

示例2:

$nc->editor('subscribed_text');
?>
                    <div class="hints">
                        This is the text showed to a user who has pressed "subscribe me" on the previous
                        step informing that an email to confirm subscription has just been sent. Remember
                        the user to check the spam folder and to follow the email instructions.
                    </div>
                </td>
            </tr>

            <!-- CONFIRMATION EMAIL -->
            <tr valign="top">
                <th>Confirmation email</th>
                <td>
                    <?php 
$nc->email('confirmation');
?>
                    <div class="hints">
                        Message sent by email to new subscribers with instructions to confirm their subscription
                        (for double opt-in process). Do not forget to add the <strong>{subscription_confirm_url}</strong>
                        that users must click to activate their subscription.<br />
                        Sometime can be useful to add a <strong>{unsubscription_url}</strong> to let users to
                        cancel if they wrongly subscribed your service.
                    </div>
                </td>
            </tr>
        </table>

        <p class="submit">
            <?php 
$nc->button('save', 'Save');
开发者ID:besimhu,项目名称:legacy,代码行数:31,代码来源:options.php

示例3: address

$controls->text('confirmation_url', 70);
?>
                            <p class="description">
                                A full page address (http://yourblog.com/confirm) to be used instead of message above.
                                If left empty the message above is used.
                            </p>
                        </td>
                    </tr>


                    <!-- CONFIRMATION EMAIL -->
                    <tr valign="top">
                        <th>Confirmation email</th>
                        <td>
                            <?php 
$controls->email('confirmation');
?>
                            <p class="description">
                                Message sent by email to new subscribers with instructions to confirm their subscription
                                (for double opt-in process). Do not forget to add the <strong>{subscription_confirm_url}</strong>
                                that users must click to activate their subscription.<br />
                                Sometime can be useful to add a <strong>{unsubscription_url}</strong> to let users to
                                cancel if they wrongly subscribed to your newsletter.
                            </p>
                        </td>
                    </tr>
                </table>
            </div>


            <div id="tabs-4">
开发者ID:manhhung86it,项目名称:builder-site,代码行数:31,代码来源:options.php

示例4:

$controls->wp_editor('unsubscribed_text');
?>
                    <p class="description">
                        Shown to users after the cancellation has been completed.
                    </p>
                </td>
            </tr>

            <tr valign="top">
                <th><?php 
_e('Goodbye email', 'newsletter');
?>
</th>
                <td>
                    <?php 
$controls->email('unsubscribed', 'wordpress', true);
?>
                    <p class="description">
                        Sent after a cancellation, is the last message you send to the user before his removal
                        from your newsletter subscribers.
                    </p>
                </td>
            </tr>
            <tr>
                <th>Unsubscription error</th>
                <td>
                    <?php 
$controls->wp_editor('unsubscription_error_text');
?>
                    <p class="description">
                        When the unsubscription cannot be completed, for example because the
开发者ID:ilke-zilci,项目名称:newcomers-wp,代码行数:31,代码来源:unsubscription.php


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