| 1 |
<?php |
| 2 |
// Exit if accessed directly |
| 3 |
if( !defined( 'ABSPATH' ) ) exit; |
| 4 |
if( !current_user_can('administrator') ) exit; |
| 5 |
?> |
| 6 |
|
| 7 |
<form action="" method="POST" class="validate"> |
| 8 |
<?php wp_nonce_field( 'wpforo-tools-misc' ); ?> |
| 9 |
<div class="wpf-tool-box" style="width:60%;"> |
| 10 |
<h3><?php _e('SEO Tools', 'wpforo'); ?> |
| 11 |
<p class="wpf-info"></p> |
| 12 |
</h3> |
| 13 |
<div style="margin-top:10px; clear:both;"> |
| 14 |
<table style="width:100%;"> |
| 15 |
<tbody style="padding:10px;"> |
| 16 |
<tr> |
| 17 |
<td> |
| 18 |
<label style="padding-bottom:5px; display:block;"><?php _e('Allowed dofollow domains', 'wpforo'); ?>:</label> |
| 19 |
<p class="wpf-info"><?php _e('wpForo adds nofollow to all links with external URLs. If you want to keep some domains as internal please insert domains one per line in the textarea bellow.', 'wpforo'); ?></p> |
| 20 |
<br> |
| 21 |
<textarea name="wpforo_tools_misc[dofollow]" style="font-size: 13px; display:block; width:100%; height:120px;" placeholder="example.com" /><?php wpfo(WPF()->tools_misc['dofollow']) ?></textarea></td> |
| 22 |
</td> |
| 23 |
</tr> |
| 24 |
<tr> |
| 25 |
<td> |
| 26 |
<label style="padding-bottom:5px; display:block;"><?php _e('Noindex forum page URLs', 'wpforo'); ?>:</label> |
| 27 |
<p class="wpf-info"><?php _e('The noIndex code tells Google and other search engines to NOT index the page, so that it cannot be found in search results. Please insert page URLs you do not want to be indexed one per line in the textarea bellow.', 'wpforo'); ?></p> |
| 28 |
<br> |
| 29 |
<textarea name="wpforo_tools_misc[noindex]" style="font-size: 13px; display:block; width:100%; height:120px;" placeholder="https://myforum.com/community/main-forum/my-topic/" /><?php wpfo(WPF()->tools_misc['noindex']) ?></textarea></td> |
| 30 |
</td> |
| 31 |
</tr> |
| 32 |
</tbody> |
| 33 |
</table> |
| 34 |
</div> |
| 35 |
</div> |
| 36 |
<div class="wpforo_settings_foot" style="clear:both; margin-top:20px;"> |
| 37 |
<input type="submit" class="button button-primary" value="<?php _e('Update Options', 'wpforo'); ?>" /> |
| 38 |
</div> |
| 39 |
</form> |