| @@ -3,9 +3,9 @@ | ||
| 3 | 3 | |
| 4 | 4 | <div class="boxzilla-row"> |
| 5 | 5 | <div class="boxzilla-col-two-third"> |
| 6 | 6 | |
| 7 | - <h2><?php _e( 'Settings', 'boxzilla' ); ?></h2> | |
| 7 | + <h2><?php esc_html_e( 'Settings', 'boxzilla' ); ?></h2> | |
| 8 | 8 | |
| 9 | 9 | <?php do_action( 'boxzilla_before_settings' ); ?> |
| 10 | 10 | |
| 11 | 11 | <form action="<?php echo admin_url( 'options.php' ); ?>" method="post"> |
| @@ -16,13 +16,13 @@ | ||
| 16 | 16 | |
| 17 | 17 | <?php do_action( 'boxzilla_before_settings_rows' ); ?> |
| 18 | 18 | |
| 19 | 19 | <tr valign="top"> |
| 20 | - <th><label for="boxzilla_test_mode"><?php _e( 'Enable test mode?', 'boxzilla' ); ?></label></th> | |
| 20 | + <th><label for="boxzilla_test_mode"><?php esc_html_e( 'Enable test mode?', 'boxzilla' ); ?></label></th> | |
| 21 | 21 | <td> |
| 22 | - <label><input type="radio" id="boxzilla_test_mode_1" name="boxzilla_settings[test_mode]" value="1" <?php checked( $opts['test_mode'], 1 ); ?> /> <?php _e( 'Yes' ); ?></label> | |
| 23 | - <label><input type="radio" id="boxzilla_test_mode_0" name="boxzilla_settings[test_mode]" value="0" <?php checked( $opts['test_mode'], 0 ); ?> /> <?php _e( 'No' ); ?></label> | |
| 24 | - <p class="help"><?php _e( 'If test mode is enabled, all boxes will show up regardless of whether a cookie has been set.', 'boxzilla' ); ?></p> | |
| 22 | + <label><input type="radio" id="boxzilla_test_mode_1" name="boxzilla_settings[test_mode]" value="1" <?php checked( $opts['test_mode'], 1 ); ?> /> <?php esc_html_e( 'Yes', 'boxzilla' ); ?></label> | |
| 23 | + <label><input type="radio" id="boxzilla_test_mode_0" name="boxzilla_settings[test_mode]" value="0" <?php checked( $opts['test_mode'], 0 ); ?> /> <?php esc_html_e( 'No', 'boxzilla' ); ?></label> | |
| 24 | + <p class="help"><?php esc_html_e( 'If test mode is enabled, all boxes will show up regardless of whether a cookie has been set.', 'boxzilla' ); ?></p> | |
| 25 | 25 | </td> |
| 26 | 26 | </tr> |
| 27 | 27 | |
| 28 | 28 | <?php do_action( 'boxzilla_after_settings_rows' ); ?> |
| @@ -35,22 +35,24 @@ | ||
| 35 | 35 | </div> |
| 36 | 36 | |
| 37 | 37 | <div class="boxzilla-sidebar boxzilla-col-one-third"> |
| 38 | 38 | |
| 39 | - <!-- Begin MailChimp Signup Form --> | |
| 40 | 39 | <div class="boxzilla-box"> |
| 41 | - <h3>Subscribe to our mailing list</h3> | |
| 42 | - <?php include __DIR__ . '/metaboxes/email-optin.php'; ?> | |
| 40 | + <h3><?php esc_html_e( 'Looking for help?', 'boxzilla' ); ?></h3> | |
| 41 | + <?php include __DIR__ . '/metaboxes/need-help.php'; ?> | |
| 43 | 42 | </div> |
| 44 | - <!--End mc_embed_signup--> | |
| 45 | 43 | |
| 46 | 44 | <div class="boxzilla-box"> |
| 47 | - <h3>Looking for help?</h3> | |
| 48 | - <?php include __DIR__ . '/metaboxes/need-help.php'; ?> | |
| 45 | + <h3><?php esc_html_e( 'Our other plugins', 'boxzilla' ); ?></h3> | |
| 46 | + <?php include __DIR__ . '/metaboxes/our-other-plugins.php'; ?> | |
| 49 | 47 | </div> |
| 50 | 48 | |
| 49 | + <div class="boxzilla-box"> | |
| 50 | + <h3><?php esc_html_e( 'Subscribe to our newsletter', 'boxzilla' ); ?></h3> | |
| 51 | + <?php include __DIR__ . '/metaboxes/email-optin.php'; ?> | |
| 52 | + </div> | |
| 51 | 53 | </div> |
| 52 | 54 | </div> |
| 53 | 55 | |
| 54 | 56 | <br style="clear: both;" /> |
| 55 | 57 | |
| 56 | -</div> | |
| 58 | +</div> | |