| 1 |
<?php if( ! defined( "ABSPATH" ) ) exit() ?> |
| 2 |
|
| 3 |
<input type="hidden" name="wpfaction" value="akismet_settings_save"> |
| 4 |
|
| 5 |
<?php WPF()->settings->header( 'akismet' ); ?> |
| 6 |
|
| 7 |
<div class="wpf-opt-row"> |
| 8 |
<?php if( ! class_exists( 'Akismet' ) ): ?> |
| 9 |
<div style="width:94%; clear:both; margin:0 0 15px 0; text-align:center; line-height:22px; font-size:14px; color:#D35206; border:1px dotted #ccc; padding:10px 20px 10px 20px;; background:#F7F5F5;"> |
| 10 |
<a href="https://wordpress.org/plugins/akismet/" target="_blank">Akismet</a> <?php _e( 'is not installed! For an advanced Spam Control please install Akismet antispam plugin, it works well with wpForo Spam Control system. Akismet is already integrated with wpForo. It\'ll help to filter posts and protect forum against spam attacks.', 'wpforo' ); ?> |
| 11 |
</div> |
| 12 |
<?php else: ?> |
| 13 |
<div style="color:#fff; background:#7C9B2E; font-size:20px; padding:10px 10px; text-align:center;"> |
| 14 |
<strong>A·kis·met</strong> <?php _e( 'is enabled', 'wpforo' ); ?> |
| 15 |
</div> |
| 16 |
<?php endif; ?> |
| 17 |
</div> |
| 18 |
|
| 19 |
<?php WPF()->settings->form_field( 'akismet', 'akismet' ); ?> |
| 20 |
|