| 1 |
<?php |
| 2 |
// Exit if accessed directly |
| 3 |
if( !defined( 'ABSPATH' ) ) exit; |
| 4 |
if( !current_user_can('administrator') ) exit; |
| 5 |
?> |
| 6 |
|
| 7 |
|
| 8 |
<form action="" method="POST" class="validate"> |
| 9 |
<?php wp_nonce_field( 'wpforo-settings-forums' ); ?> |
| 10 |
<table class="wpforo_settings_table"> |
| 11 |
<tbody> |
| 12 |
<?php do_action( 'wpforo_settings_forums', $wpforo ); ?> |
| 13 |
</tbody> |
| 14 |
</table> |
| 15 |
<div class="wpforo_settings_foot"> |
| 16 |
<input type="submit" class="button button-primary" value="<?php _e('Update Options', 'wpforo'); ?>" /> |
| 17 |
</div> |
| 18 |
</form> |
| 19 |
|