예제 #1
0
	<div id="tnp-body">

    <?php 
if ($controls->data['status'] == 'S') {
    echo '<div class="newsletter-message">Warning! This email is configured to be sent to NOT CONFIRMED subscribers.</div>';
}
?>

    <form method="post" action="" id="newsletter-form">
        <?php 
$controls->init(array('cookie_name' => 'newsletter_emails_edit_tab'));
?>

        <p class="submit">
            <?php 
$controls->button_back('?page=newsletter_emails_index');
?>
            <?php 
if ($email['status'] != 'sending') {
    $controls->button_save();
}
?>
            <?php 
if ($email['status'] != 'sending' && $email['status'] != 'sent') {
    $controls->button_confirm('test', 'Save and test', 'Save and send test emails to test addresses?');
}
?>

            <?php 
if ($email['status'] == 'new') {
    $controls->button_confirm('send', __('Send', 'newsletter'), __('Start real delivery?', 'newsletter'));
예제 #2
0
        <h2><?php 
_e('Editing', 'newsletter');
?>
 <?php 
echo esc_html($controls->data['email']);
?>
</h2>

        </div>

	<div id="tnp-body">
        
    <form method="post" action="">
        <p>
            <?php 
$controls->button_back('?page=newsletter_users_index');
?>
            <?php 
$controls->button_save();
?>
        </p>
        <?php 
$controls->init();
?>

        <div id="tabs">

            <ul>
                <li><a href="#tabs-general">General</a></li>
                <li><a href="#tabs-preferences">Lists</a></li>
                <li><a href="#tabs-profile">Profile</a></li>