<th>Enabled?</th> <td> <?php $controls->yesno('enabled'); ?> <p class="description"> When not enabled, the old templating system is used (see the file wp-content/plugins/newsletter/subscription/email.php). </p> </td> </tr> <tr valign="top"> <th>Email template</th> <td> <?php $controls->textarea_preview('template', '100%', '700'); ?> <?php $controls->button_reset(); ?> <?php $controls->button('test', 'Send a test'); ?> </td> </tr> </table> <p> <?php $controls->button_save(); ?> </p>
<input id="upload_image_button" type="button" value="Choose or upload an image" /> <a href="http://www.thenewsletterplugin.com/plugins/newsletter/newsletter-tags" target="_blank"><?php _e('Available tags', 'newsletter'); ?> </a> <br><br> <?php if ($email['editor'] == 0) { $controls->editor('message', 30); } else { $controls->textarea_preview('message', '100%', '700'); } ?> </div> <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 } ?>