Exemple #1
0
    <form method="post" action="<?php 
echo $module->get_admin_page_url('new');
?>
">
        <?php 
$controls->init();
?>
        <?php 
$controls->hidden('theme');
?>

        <table style="width: 100%; border-collapse: collapse">
            <tr>
                <td style="text-align: left; vertical-align: top; border-bottom: 1px solid #ddd; padding-bottom: 10px">
                    <div style="float: right; margin-left: 15px;"><?php 
$controls->button_primary('save', 'Refresh the preview');
?>
</div>
                    <span style="font-size: 1.1em">Theme options set here are saved for next time you will be using this theme.</span>

                </td>
                <td style="text-align: left; vertical-align: top; border-bottom: 1px solid #ddd; padding-bottom: 10px">
                    <div style="float: right"><?php 
$controls->button_primary('create', 'Proceed to edit &raquo;');
?>
</div>
                    <img style="position: relative; left: 5px; top: 10px;"src="<?php 
echo plugins_url('newsletter');
?>
/images/arrow.png" height="35">
                </td>
Exemple #2
0
    <form method="post" action="<?php 
echo $module->get_admin_page_url('new');
?>
">
        <?php 
$controls->init();
?>
        <?php 
$controls->hidden('theme');
?>

        <table style="width: 100%; border-collapse: collapse">
            <tr>
                <td style="text-align: left; vertical-align: top; border-bottom: 1px solid #ddd; padding-bottom: 10px">
                    <div style="float: right; margin-left: 15px;"><?php 
$controls->button_primary('save', __('Refresh the preview', 'newsletter-emails'));
?>
</div>
                    <span style="font-size: 1.1em"><?php 
_e('Theme options are saved for next time you\'ll use this theme.', 'newsletter-emails');
?>
</span>

                </td>
                <td style="text-align: left; vertical-align: top; border-bottom: 1px solid #ddd; padding-bottom: 10px">
                    <div style="float: right"><?php 
$controls->button_primary('create', 'Proceed to edit &raquo;', 'this.form.action=\'' . plugins_url('newsletter') . '/emails/create.php\';this.form.submit()');
?>
</div>
                    <img style="position: relative; left: 5px; top: 10px;"src="<?php 
echo plugins_url('newsletter');
Exemple #3
0
    <form method="post" action="<?php 
echo $module->get_admin_page_url('new');
?>
">
        <?php 
$controls->init();
?>
        <?php 
$controls->hidden('theme');
?>

        <table style="width: 100%">
            <tr>
                <td style="text-align: center; vertical-align: top; border-bottom: 1px solid #ccc">
                    <?php 
$controls->button_primary('save', '(1) Save options and refresh the preview');
?>
<br><br>
                </td>
                <td style="text-align: center; vertical-align: top; border-bottom: 1px solid #ccc">
                    <?php 
$controls->button_primary('create', '(2) Go to edit this message');
?>
<br><br>
                </td>
            </tr>
            <tr>
                <td style="width: 600px; vertical-align: top">
                    <?php 
@(include $module->get_current_theme_file_path('theme-options.php'));
?>