HEX
Server: nginx/1.27.1
System: Linux in-3 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
User: ivenus-clone (3297)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
Upload Files
File: /storage/v4513/tepnot/public_html/wp-content/plugins/newsletter/emails/blocks/html/options.php
<?php
/** @var array $options */
/** @var NewsletterControls $controls  */
/** @var NewsletterFields $fields */


$default_options = array(
    'block_background' => '#ffffff',
);

$options = array_merge($default_options, $options);
?>

<style>
    .CodeMirror {
        height: 400px;
    }
</style>

<script>
    var templateEditor;
    jQuery(function () {
        templateEditor = CodeMirror.fromTextArea(document.getElementById("options-html"), {
            lineNumbers: true,
            mode: 'htmlmixed',
            lineWrapping: true,
            //extraKeys: {"Ctrl-Space": "autocomplete"}
        });
    });
</script>

<div class="tnp-accordion">

    <h3><?php esc_html_e('Appearance', 'newsletter'); ?></h3>
    <div>
        <p>
            <a href="https://www.thenewsletterplugin.com/documentation/newsletters/newsletter-tags/"
               target="_blank">You can use tags to inject subscriber fields</a>.
        </p>
        <table class="form-table">
            <tr>
                <td>
                    <?php $controls->textarea('html', '100%', '300px') ?>
                </td>
            </tr>
        </table>
    </div>


    <h3><?php esc_html_e('Commons', 'newsletter'); ?></h3>
    <div>
        <?php $fields->block_commons() ?>
    </div>

</div>