| 1 |
<form action="" method="post"> |
| 2 |
<?php wp_nonce_field( $namespace . "_options", $namespace . '_update_wpnonce' ); ?> |
| 3 |
<input type="hidden" name="form_action" value="update_options" /> |
| 4 |
<div class="wrap"> |
| 5 |
<h2><?php echo $page_title; ?></h2> |
| 6 |
<div class="tool-box"> |
| 7 |
<h3 class="title">Your Hello Bar Code</h3> |
| 8 |
<p>Fetch your HelloBar code from <a href="https://www.hellobar.com/login">www.hellobar.com</a> and paste it below.</p> |
| 9 |
<textarea rows="10" cols="70" name="hellobar_code"><?php echo $hellobar_code; ?></textarea> |
| 10 |
|
| 11 |
<h4>Load the Hello Bar code in your site's:</h4> |
| 12 |
<input id="<?php echo $namespace; ?>-load-code-in-header" type="radio" name="load_hellobar_in" value="header"<?php echo $load_hellobar_in == 'header' ? ' checked="checked"' : ''; ?> /><label for="<?php echo $namespace; ?>-load-code-in-header">Header (before </head>)</label><br /> |
| 13 |
<input id="<?php echo $namespace; ?>-load-code-in-footer" type="radio" name="load_hellobar_in" value="footer"<?php echo $load_hellobar_in == 'footer' ? ' checked="checked"' : ''; ?> /><label for="<?php echo $namespace; ?>-load-code-in-footer">Footer (before </body>)</label> |
| 14 |
</div> |
| 15 |
<p class="submit"> |
| 16 |
<input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" /> |
| 17 |
</p> |
| 18 |
</div> |
| 19 |
</form> |