</div>
                    </label>
                </li>
                <li>
                    <label>Send a tweet:<br />
                        <?php 
$tweet_url = 'http://twitter.com/home/?status=' . urlencode(W3TC_SUPPORT_US_TWEET);
echo Util_Ui::action_button(__('Tell Your Friends', 'w3-total-cache'), $tweet_url, "btn w3tc-size image btn-default palette-twitter", true);
?>
                    </label>
                </li>
                <li>
                    <label>
                        Login to wordpress.org to give us a great rating:<br>
                        <?php 
echo Util_Ui::action_button(__('Login & Rate Us', 'w3-total-cache'), W3TC_SUPPORT_US_RATE_URL, "btn w3tc-size image btn-default palette-wordpress", true);
?>
                    </label>
                </li>
            </ul>
            <p>
            <label class="w3tc_signup_email" for="email">You can also sign up for our newsletter:<br />
                <input id="email" name="email" type="text" class="form-control w3tc-size" value="<?php 
esc_attr_e($email);
?>
"></label><br />
            <input type="checkbox" name="signmeup" id="signmeup" class="css-checkbox" value="1" checked="checked" /><label for="signmeup" class="css-label"> <?php 
_e('Yes, sign me up.', 'w3-total-cache');
?>
 </label>
            </p>
Exemple #2
0
<?php

namespace W3TC;

if (!defined('W3TC')) {
    die;
}
?>
<div id="w3tc-edge-mode">
    <div class="w3tc-overlay-logo"></div>
    <header>
    </header>
    <div class="content">
    <p><strong><?php 
_e('Enable "Edge Mode" to opt-in to pre-release features or simply close this window to continue to enjoy bug fixes, security fixes and stable updates only.', 'w3-total-cache');
?>
</strong></p>
    <p><?php 
_e('We want to ensure that those who are interested in ongoing performance optimizations always have access to the latest functionality and optimization techniques. Those who enable edge mode should have experience in troubleshooting WordPress installations.', 'w3-total-cache');
?>
</p>
    </div>
    <div class="w3tc_overlay_footer">
        <?php 
echo Util_Ui::action_button(__('Enable Edge Mode', 'w3-total-cache'), Util_Ui::url(array('w3tc_edge_mode_enable' => 'y')), "btn w3tc-size image btn-default palette-turquoise");
?>
        <input type="button" class="btn w3tc-size btn-default outset palette-light-grey w3tc_lightbox_close" value="Cancel">
    </div>
</div>
<?php