# boxzilla/3.0/src/admin/views/settings.php

Boxzilla – WordPress Popup Builder, version 3.0. 56 lines.

- Page: https://pluginprobe.com/plugins/boxzilla/3.0/code/src/admin/views/settings.php
- Raw: https://pluginprobe.com/plugins/boxzilla/3.0/raw/src/admin/views/settings.php
- Modified: 2016-05-11T11:35:30+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/boxzilla/3.0/code/src/admin/views/settings.php#L10-L20`.

```php
<?php defined( 'ABSPATH' ) or exit; ?>
<div class="wrap" id="boxzilla-admin" class="boxzilla-settings">

	<div class="boxzilla-row">
		<div class="boxzilla-col-two-third">

			<h2><?php _e( 'Settings', 'boxzilla' ); ?></h2>

			<?php do_action( 'boxzilla_before_settings' ); ?>

			<form action="<?php echo admin_url( 'options.php' ); ?>" method="post">

				<?php settings_fields( 'boxzilla_settings' ); ?>

				<table class="form-table">

					<?php do_action( 'boxzilla_before_settings_rows' ); ?>

					<tr valign="top">
						<th><label for="boxzilla_test_mode"><?php _e( 'Enable test mode?', 'boxzilla' ); ?></label></th>
						<td>
							<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> &nbsp;
							<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> &nbsp;
							<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>
						</td>
					</tr>

					<?php do_action( 'boxzilla_after_settings_rows' ); ?>
				</table>

				<?php submit_button(); ?>
			</form>

			<?php do_action( 'boxzilla_after_settings' ); ?>
		</div>

		<div class="boxzilla-sidebar boxzilla-col-one-third">

			<!-- Begin MailChimp Signup Form -->
			<div class="boxzilla-box">
				<h3>Subscribe to our mailing list</h3>
				<?php include __DIR__ . '/metaboxes/email-optin.php'; ?>
			</div>
			<!--End mc_embed_signup-->

			<div class="boxzilla-box">
				<h3>Looking for help?</h3>
				<?php include __DIR__ . '/metaboxes/need-help.php'; ?>
			</div>

		</div>
	</div>

	<br style="clear: both;" />

</div>
```
