本文整理汇总了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">
示例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>
示例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
示例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');
示例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'));