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


PHP NewsletterControls::textarea_fixed方法代码示例

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


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

示例1: array

                <th>Subject</th>
                <td>
                    <?php 
$nc->text('subject', 70);
?>
                   <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">
开发者ID:rajveerbeniwal,项目名称:rooms-dhkh,代码行数:31,代码来源:emails-edit.php

示例2:

                <li><a href="#tabs-b">Message (textual)</a></li>
                <li><a href="#tabs-c">Who will receive it</a></li>
                <li><a href="#tabs-d">Other options</a></li>
                <!--<li><a href="#tabs-5">Documentation</a></li>-->
            </ul>


            <div id="tabs-a">

                            <?php 
$controls->text('subject', 70, 'Subject');
?>

                            <input id="upload_image_button" type="button" value="Choose or upload an image" />
                            <?php 
$email['editor'] == 0 ? $controls->editor('message', 30) : $controls->textarea_fixed('message', '100%', '700');
?>
                            <div class="hints">
                                <a href="http://www.thenewsletterplugin.com/plugins/newsletter/newsletter-tags" target="">See the list of all tags</a> that can be used on the email text.
                            </div>
                        
            </div>


            <div id="tabs-b">
                <div class="tab-preamble">
                <p>
                    This is the textual version of your newsletter. If you empty it, only an HTML version will be sent but
                    is an anti-spam best practice to include a text only version.
                </p>
                </div>
开发者ID:taeche,项目名称:SoDoEx,代码行数:31,代码来源:edit.php

示例3: array

</td>
                            <td><?php 
    $controls->select('profile_' . $i . '_status', $status);
    ?>
</td>
                            <td><?php 
    $controls->select('profile_' . $i . '_type', array('text' => 'Text', 'select' => 'List'));
    ?>
</td>
                            <td><?php 
    $controls->select('profile_' . $i . '_rules', $rules);
    ?>
</td>
                            <td>
                                <?php 
    $controls->textarea_fixed('profile_' . $i . '_options', '200px', '50px');
    ?>
                            </td>
                        </tr>
                    <?php 
}
?>
                </table>

            </div>


            <div id="tabs-4">
                <p>
                    Preferences are on/off choices users can select during subscription and change on their profile.
                    Those preferences are then used by you to target emails you create. Private preferenced can be used
开发者ID:jrialland,项目名称:site-plr,代码行数:31,代码来源:profile.php

示例4: array

</td>
                         <td><?php 
    $nc->text('profile_' . $i);
    ?>
</td>
                         <td><?php 
    $nc->select('profile_' . $i . '_status', $status);
    ?>
</td>
                         <td><?php 
    $nc->select('profile_' . $i . '_type', array('text' => 'Text', 'select' => 'List'));
    ?>
</td>
                         <td>
                             <?php 
    $nc->textarea_fixed('profile_' . $i . '_options', '300px', '50px');
    ?>
                         </td>
                     </tr>
                     <?php 
}
?>
                    </table>
                    <div class="hints">
                        Those fields are collected as texts, Newsletter Pro does not give meaning to them, it just stores them.
                    </div>
                </td>
            </tr>
        </table>
        <p class="submit"><?php 
$nc->button('save', 'Save');
开发者ID:besimhu,项目名称:legacy,代码行数:31,代码来源:profile.php

示例5: array

            <div id="tabs-b">
                <?php 
if (Newsletter::instance()->options['phpmailer'] == 0) {
    ?>
                <p class="tnp-tab-warning">The text part is sent only when Newsletter manages directly the sending process. <a href="admin.php?page=newsletter_main_main" target="_blank">See the main settings</a>.</p>
                <?php 
}
?>
                <p>
                    This is the textual version of your newsletter. If you empty it, only an HTML version will be sent but
                    is an anti-spam best practice to include a text only version.
                </p>

                <?php 
$controls->textarea_fixed('message_text', '100%', '500');
?>
            </div>


            <div id="tabs-c">
                <table class="form-table">

                    <tr valign="top">
                        <th><?php 
_e('Gender', 'newsletter');
?>
</th>
                        <td>
                            <?php 
$controls->checkboxes_group('sex', array('f' => 'Women', 'm' => 'Men', 'n' => 'Not specified'));
开发者ID:radikalportal,项目名称:radikalportal,代码行数:30,代码来源:edit.php


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