本文整理汇总了PHP中NewsletterControls::select_grouped方法的典型用法代码示例。如果您正苦于以下问题:PHP NewsletterControls::select_grouped方法的具体用法?PHP NewsletterControls::select_grouped怎么用?PHP NewsletterControls::select_grouped使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类NewsletterControls
的用法示例。
在下文中一共展示了NewsletterControls::select_grouped方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
$nc->init();
?>
<?php
$nc->hidden('id');
?>
<?php
$nc->hidden('status');
?>
<table class="form-table">
<tr valign="top">
<th>Theme</th>
<td>
<?php
$nc->select_grouped('theme', array(array_merge(array('' => 'Custom themes'), newsletter_get_themes()), $themes, $themes_panel));
?>
<?php
$nc->button('compose', 'Change');
?>
(email content below will be regenerated)
<div class="hints">
Theme changing does not save this email, remember to press save if you are satisfied of the result. A theme can have a style file
(style.css in theme folder): that style will be added to your emails, so when you change the theme you MUST press "change" to have
in the editor the right content for the current theme style. No easy to explain. No all email readers respect the theme graphics!
</div>
</td>
</tr>
<tr valign="top">
<th>Subject</th>