PluginProbe
wpForo Forum / 1.4.10
wpForo Forum v1.4.10
3.1.6 3.1.5 3.1.4 3.1.2 3.1.1 3.1.0 3.0.9 3.0.8 3.0.7 trunk 1.0.0 1.0.1 1.0.2 1.1.0 1.1.1 1.1.2 1.2.0 1.3.0 1.3.1 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 1.4.13 All 138 releases
wpforo / wpf-admin / tools-tabs / antispam.php

antispam.php in wpForo Forum 1.4.10, at wpf-admin/tools-tabs/antispam.php

346 lines 28.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 // Exit if accessed directly
3 if( !defined( 'ABSPATH' ) ) exit;
4 if( !current_user_can('administrator') ) exit;
5 ?>
6
7 <?php if( !isset( $_GET['action'] ) ): ?>
8
9 <?php if (!class_exists('Akismet')): ?>
10 <div style="width:94%; clear:both; margin:0px 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;">
11 <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'); ?>
12 </div>
13 <?php else: ?>
14
15 <?php endif; ?>
16
17 <form action="" method="POST" class="validate">
18 <?php wp_nonce_field( 'wpforo-tools-antispam' ); ?>
19 <div class="wpf-tool-box wpf-spam-attach right-box">
20 <h3>
21 <?php _e('Spam Control', 'wpforo'); ?>
22 <p class="wpf-info"><?php _e('Some useful options to limit just registered users and minimize spam. This control don\'t affect users whose Usergroup has "Can edit member" and "Can pass moderation" permissions.', 'wpforo'); ?></p>
23 </h3>
24 <div style="margin-top:10px; clear:both;">
25 <table style="width:100%;">
26 <tbody>
27 <tr>
28 <th><label><?php _e('Enable wpForo Spam Control','wpforo'); ?>:</label></th>
29 <td>
30 <div class="wpf-switch-field">
31 <input id="spam_filter_yes" type="radio" name="wpforo_tools_antispam[spam_filter]" value="1" <?php wpfo_check(WPF()->tools_antispam['spam_filter'], 1); ?>/><label for="spam_filter_yes"><?php _e('Yes','wpforo'); ?></label> &nbsp;
32 <input id="spam_filter_no" type="radio" name="wpforo_tools_antispam[spam_filter]" value="0" <?php wpfo_check(WPF()->tools_antispam['spam_filter'], 0); ?>/><label for="spam_filter_no"><?php _e('No','wpforo'); ?></label>
33 </div>
34 </td>
35 </tr>
36 <tr>
37 <th><label><?php _e('Ban user when spam is suspected','wpforo'); ?>:</label></th>
38 <td>
39 <div class="wpf-switch-field">
40 <input id="spam_user_ban_yes" type="radio" name="wpforo_tools_antispam[spam_user_ban]" value="1" <?php wpfo_check(WPF()->tools_antispam['spam_user_ban'], 1); ?>/><label for="spam_user_ban_yes"><?php _e('Yes','wpforo'); ?></label> &nbsp;
41 <input id="spam_user_ban_no" type="radio" name="wpforo_tools_antispam[spam_user_ban]" value="0" <?php wpfo_check(WPF()->tools_antispam['spam_user_ban'], 0); ?>/><label for="spam_user_ban_no"><?php _e('No','wpforo'); ?></label>
42 </div>
43 </td>
44 </tr>
45 <tr style="visibility:hidden;">
46 <th><label><?php _e('Notify via email when new user is banned','wpforo'); ?>:</label></th>
47 <td>
48 <div class="wpf-switch-field">
49 <input id="spam_user_ban_notification_yes" type="radio" name="wpforo_tools_antispam[spam_user_ban_notification]" value="1" <?php wpfo_check(WPF()->tools_antispam['spam_user_ban_notification'], 1); ?>/><label for="spam_user_ban_notification_yes"><?php _e('Yes','wpforo'); ?></label> &nbsp;
50 <input id="spam_user_ban_notification_no" type="radio" name="wpforo_tools_antispam[spam_user_ban_notification]" value="0" <?php wpfo_check(WPF()->tools_antispam['spam_user_ban_notification'], 0); ?>/><label for="spam_user_ban_notification_no"><?php _e('No','wpforo'); ?></label>
51 </div>
52 </td>
53 </tr>
54 <tr>
55 <th><label ><?php _e('Spam Suspicion Level for Topics', 'wpforo'); ?></label></th>
56 <td><input type="number" min="0" max="100" name="wpforo_tools_antispam[spam_filter_level_topic]" value="<?php wpfo(WPF()->tools_antispam['spam_filter_level_topic']) ?>" class="wpf-field" /></td>
57 </tr>
58 <tr>
59 <th><label ><?php _e('Spam Suspicion Level for Posts', 'wpforo'); ?></label></th>
60 <td><input type="number" min="0" max="100" name="wpforo_tools_antispam[spam_filter_level_post]" value="<?php wpfo(WPF()->tools_antispam['spam_filter_level_post']) ?>" class="wpf-field" /></td>
61 </tr>
62 <?php if (class_exists('Akismet')): ?>
63 <tr>
64 <td colspan="2" style="color:#fff; background:#7C9B2E; font-size:20px; padding:10px 10px; text-align:center; font-family:'Lucida Grande', 'Lucida Sans Unicode'"><strong>A&middot;kis&middot;met</strong> <?php _e(' is enabled','wpforo'); ?></td>
65 </tr>
66 <?php endif; ?>
67 </tbody>
68 </table>
69 </div>
70 </div>
71 <div class="wpf-tool-box wpf-spam-attach left-box">
72 <h3>
73 <?php _e('New Registered User', 'wpforo'); ?>
74 <p class="wpf-info"><?php _e('Some useful options to limit just registered users and minimize spam. These options don\'t affect users whose Usergroup has "Can edit member" and "Can pass moderation" permissions.', 'wpforo'); ?></p>
75 </h3>
76 <div style="margin-top:10px; clear:both;">
77 <table style="width:100%;">
78 <tbody>
79 <tr>
80 <th style="width:65%;">
81 <label ><?php _e('User is New (under hard spam control) during', 'wpforo'); ?></label>
82 </th>
83 <td><?php _e('first', 'wpforo'); ?> <input type="number" min="0" name="wpforo_tools_antispam[new_user_max_posts]" value="<?php wpfo(WPF()->tools_antispam['new_user_max_posts']) ?>" class="wpf-field" style="width:50px;" /> <?php _e('posts', 'wpforo'); ?></td>
84 </tr>
85 <tr>
86 <th style="width:65%;"><label ><?php _e('Min number of posts to be able attach files', 'wpforo'); ?></label></th>
87 <td><input type="number" min="0" name="wpforo_tools_antispam[min_number_post_to_attach]" value="<?php wpfo(WPF()->tools_antispam['min_number_post_to_attach']) ?>" class="wpf-field" style="max-width:80px;" /></td>
88 </tr>
89 <tr>
90 <th><label><?php _e('Min number of posts to be able post links', 'wpforo'); ?></label></th>
91 <td><input type="number" min="0" name="wpforo_tools_antispam[min_number_post_to_link]" value="<?php wpfo(WPF()->tools_antispam['min_number_post_to_link']) ?>" class="wpf-field" style="max-width:80px;" /></td>
92 </tr>
93 <tr>
94 <th colspan="2">
95 <label><?php _e('Do not allow to attach files with following extensions:', 'wpforo'); ?></label>
96 <textarea name="wpforo_tools_antispam[limited_file_ext]" style="width:100%; height:60px; margin-top:10px; color:#666666; background:#fdfdfd;"><?php echo esc_textarea(stripslashes(WPF()->tools_antispam['limited_file_ext'])); ?></textarea></td>
97 </tr>
98 </tbody>
99 </table>
100 </div>
101 </div>
102
103
104
105 <div class="wpf-tool-box wpf-spam-attach right-box" style="max-height: inherit;">
106 <h3>
107 <?php _e('Google reCAPTCHA', 'wpforo'); ?>
108 <p class="wpf-info"><?php _e('reCAPTCHA protects you against spam and other types of automated abuse. It makes secure topic and post editors when Guest Posting is allowed, also it protects login and registration forms against spam attacks.', 'wpforo'); ?></p>
109 </h3>
110 <div style="padding-top: 3px;"><strong><?php _e('reCAPTCHA API keys', 'wpforo'); ?></strong></div>
111 <p class="wpf-info">
112 <?php _e('To start using reCAPTCHA, you need to sign up for an API key pair for your site.', 'wpforo'); ?> <br />
113 <a href="http://www.google.com/recaptcha/admin" target="_blank"><?php _e('Register your site and get API keys here &raquo;', 'wpforo'); ?></a>
114 </p>
115 <div style="margin-top:10px; clear:both;">
116 <table style="width:100%;">
117 <tbody>
118 <tr>
119 <th style="width:35%;">
120 <label ><?php _e('Site Key', 'wpforo'); ?>:</label>
121 </th>
122 <td><input type="text" name="wpforo_tools_antispam[rc_site_key]" value="<?php wpfo(WPF()->tools_antispam['rc_site_key']) ?>" class="wpf-field" style="width: 100%" /></td>
123 </tr>
124 <tr>
125 <th style="width:35%;">
126 <label ><?php _e('Secret Key', 'wpforo'); ?>:</label>
127 </th>
128 <td><input type="text" name="wpforo_tools_antispam[rc_secret_key]" value="<?php wpfo(WPF()->tools_antispam['rc_secret_key']) ?>" class="wpf-field" style="width: 100%" /></td>
129 </tr>
130 </tbody>
131 </table>
132 </div>
133 <div style="padding-top: 3px; border-bottom: 1px dotted #ccc;"> <strong><?php _e('reCAPTCHA Settings', 'wpforo'); ?></strong></div>
134 <div style="margin-top:10px; clear:both;">
135 <table style="width:100%;">
136 <tbody>
137 <tr>
138 <th style="width:50%;"><label><?php _e('reCAPTCHA Theme','wpforo'); ?>:</label></th>
139 <td>
140 <div class="wpf-switch-field">
141 <input id="rc_theme_light" type="radio" name="wpforo_tools_antispam[rc_theme]" value="light" <?php wpfo_check(WPF()->tools_antispam['rc_theme'], 'light'); ?>/><label for="rc_theme_light"><?php _e('Light','wpforo'); ?></label> &nbsp;
142 <input id="rc_theme_dark" type="radio" name="wpforo_tools_antispam[rc_theme]" value="dark" <?php wpfo_check(WPF()->tools_antispam['rc_theme'], 'dark'); ?>/><label for="rc_theme_dark"><?php _e('Dark','wpforo'); ?></label>
143 </div>
144 </td>
145 </tr>
146 <tr>
147 <th style="width:50%;"><label><?php _e('Guest Topic Editor','wpforo'); ?>:</label></th>
148 <td>
149 <div class="wpf-switch-field">
150 <input id="rc_topic_editor_yes" type="radio" name="wpforo_tools_antispam[rc_topic_editor]" value="1" <?php wpfo_check(WPF()->tools_antispam['rc_topic_editor'], 1); ?>/><label for="rc_topic_editor_yes"><?php _e('Yes','wpforo'); ?></label> &nbsp;
151 <input id="rc_topic_editor_no" type="radio" name="wpforo_tools_antispam[rc_topic_editor]" value="0" <?php wpfo_check(WPF()->tools_antispam['rc_topic_editor'], 0); ?>/><label for="rc_topic_editor_no"><?php _e('No','wpforo'); ?></label>
152 </div>
153 </td>
154 </tr>
155 <tr>
156 <th style="width:50%;"><label><?php _e('Guest Post Editor','wpforo'); ?>:</label></th>
157 <td>
158 <div class="wpf-switch-field">
159 <input id="rc_post_editor_yes" type="radio" name="wpforo_tools_antispam[rc_post_editor]" value="1" <?php wpfo_check(WPF()->tools_antispam['rc_post_editor'], 1); ?>/><label for="rc_post_editor_yes"><?php _e('Yes','wpforo'); ?></label> &nbsp;
160 <input id="rc_post_editor_no" type="radio" name="wpforo_tools_antispam[rc_post_editor]" value="0" <?php wpfo_check(WPF()->tools_antispam['rc_post_editor'], 0); ?>/><label for="rc_post_editor_no"><?php _e('No','wpforo'); ?></label>
161 </div>
162 </td>
163 </tr>
164
165 <tr>
166 <th style="width:50%;"><label><?php _e('wpForo Login Form','wpforo'); ?>:</label></th>
167 <td>
168 <div class="wpf-switch-field">
169 <input id="rc_wpf_login_form_yes" type="radio" name="wpforo_tools_antispam[rc_wpf_login_form]" value="1" <?php wpfo_check(WPF()->tools_antispam['rc_wpf_login_form'], 1); ?>/><label for="rc_wpf_login_form_yes"><?php _e('Yes','wpforo'); ?></label> &nbsp;
170 <input id="rc_wpf_login_form_no" type="radio" name="wpforo_tools_antispam[rc_wpf_login_form]" value="0" <?php wpfo_check(WPF()->tools_antispam['rc_wpf_login_form'], 0); ?>/><label for="rc_wpf_login_form_no"><?php _e('No','wpforo'); ?></label>
171 </div>
172 </td>
173 </tr>
174 <tr>
175 <th style="width:50%;"><label><?php _e('wpForo Registration Form','wpforo'); ?>:</label></th>
176 <td>
177 <div class="wpf-switch-field">
178 <input id="rc_wpf_reg_form_yes" type="radio" name="wpforo_tools_antispam[rc_wpf_reg_form]" value="1" <?php wpfo_check(WPF()->tools_antispam['rc_wpf_reg_form'], 1); ?>/><label for="rc_wpf_reg_form_yes"><?php _e('Yes','wpforo'); ?></label> &nbsp;
179 <input id="rc_wpf_reg_form_no" type="radio" name="wpforo_tools_antispam[rc_wpf_reg_form]" value="0" <?php wpfo_check(WPF()->tools_antispam['rc_wpf_reg_form'], 0); ?>/><label for="rc_wpf_reg_form_no"><?php _e('No','wpforo'); ?></label>
180 </div>
181 </td>
182 </tr>
183 <tr>
184 <th style="width:50%;"><label><?php _e('wpForo Reset Password Form','wpforo'); ?>:</label></th>
185 <td>
186 <div class="wpf-switch-field">
187 <input id="rc_wpf_lostpass_form_yes" type="radio" name="wpforo_tools_antispam[rc_wpf_lostpass_form]" value="1" <?php wpfo_check(WPF()->tools_antispam['rc_wpf_lostpass_form'], 1); ?>/><label for="rc_wpf_lostpass_form_yes"><?php _e('Yes','wpforo'); ?></label> &nbsp;
188 <input id="rc_wpf_lostpass_form_no" type="radio" name="wpforo_tools_antispam[rc_wpf_lostpass_form]" value="0" <?php wpfo_check(WPF()->tools_antispam['rc_wpf_lostpass_form'], 0); ?>/><label for="rc_wpf_lostpass_form_no"><?php _e('No','wpforo'); ?></label>
189 </div>
190 </td>
191 </tr>
192 <tr>
193 <th style="width:50%;"><label><?php _e('WordPress Login Form','wpforo'); ?>:</label></th>
194 <td>
195 <div class="wpf-switch-field">
196 <input id="rc_login_form_yes" type="radio" name="wpforo_tools_antispam[rc_login_form]" value="1" <?php wpfo_check(WPF()->tools_antispam['rc_login_form'], 1); ?>/><label for="rc_login_form_yes"><?php _e('Yes','wpforo'); ?></label> &nbsp;
197 <input id="rc_login_form_no" type="radio" name="wpforo_tools_antispam[rc_login_form]" value="0" <?php wpfo_check(WPF()->tools_antispam['rc_login_form'], 0); ?>/><label for="rc_login_form_no"><?php _e('No','wpforo'); ?></label>
198 </div>
199 </td>
200 </tr>
201 <tr>
202 <th style="width:50%;"><label><?php _e('WordPress Registration Form','wpforo'); ?>:</label></th>
203 <td>
204 <div class="wpf-switch-field">
205 <input id="rc_reg_form_yes" type="radio" name="wpforo_tools_antispam[rc_reg_form]" value="1" <?php wpfo_check(WPF()->tools_antispam['rc_reg_form'], 1); ?>/><label for="rc_reg_form_yes"><?php _e('Yes','wpforo'); ?></label> &nbsp;
206 <input id="rc_reg_form_no" type="radio" name="wpforo_tools_antispam[rc_reg_form]" value="0" <?php wpfo_check(WPF()->tools_antispam['rc_reg_form'], 0); ?>/><label for="rc_reg_form_no"><?php _e('No','wpforo'); ?></label>
207 </div>
208 </td>
209 </tr>
210 <tr>
211 <th style="width:50%;"><label><?php _e('WordPress Reset Password Form','wpforo'); ?>:</label></th>
212 <td>
213 <div class="wpf-switch-field">
214 <input id="rc_lostpass_form_yes" type="radio" name="wpforo_tools_antispam[rc_lostpass_form]" value="1" <?php wpfo_check(WPF()->tools_antispam['rc_lostpass_form'], 1); ?>/><label for="rc_lostpass_form_yes"><?php _e('Yes','wpforo'); ?></label> &nbsp;
215 <input id="rc_lostpass_form_no" type="radio" name="wpforo_tools_antispam[rc_lostpass_form]" value="0" <?php wpfo_check(WPF()->tools_antispam['rc_lostpass_form'], 0); ?>/><label for="rc_lostpass_form_no"><?php _e('No','wpforo'); ?></label>
216 </div>
217 </td>
218 </tr>
219 </tbody>
220 </table>
221 </div>
222 </div>
223
224 <div class="wpf-tool-box wpf-spam-attach left-box" style="max-height: inherit;">
225 <h3>
226 <?php _e('Post Content', 'wpforo'); ?>
227 <p class="wpf-info"><?php _e('Options to control and filter post content', 'wpforo'); ?></p>
228 </h3>
229 <div style="margin-top:0px; clear:both;">
230 <table style="width:100%;">
231 <tbody>
232 <tr>
233 <td>
234 <label style="padding-bottom:5px; display:block;"><strong><?php _e('Allow extra HTML tags', 'wpforo'); ?>:</strong></label>
235 <p class="wpf-info"><?php _e('By default wpForo allows all secure HTML tags in post content. Allowing a new HTML tag may affect your forum security. For example the &lt;iframe&gt; and &lt;script&gt; HTML tags may be used by spammers and hackers to load 3rd party ads and viruses to forum.', 'wpforo'); ?></p>
236 <p class="wpf-info" style="font-style: normal; line-height: 22px;"><?php _e('Example of adding a new HTML tags: ', 'wpforo'); ?><code>b, em, p, code, style, a(href title), img(src alt title), embed(src width height) ...</code></p>
237 <br>
238 <textarea name="wpforo_tools_antispam[html]" style="font-size: 13px; display:block; width:100%; height:120px;" placeholder="example.com" /><?php wpfo(WPF()->tools_antispam['html']) ?></textarea></td>
239 </td>
240 </tr>
241 </tbody>
242 </table>
243 </div>
244 </div>
245
246 <div class="wpf-tool-box wpf-spam-attach left-box" id="spam-files">
247 <?php
248 $site = get_bloginfo('url');
249 $upload_dir = wp_upload_dir();
250 $default_attachments_dir = $upload_dir['basedir'] . '/wpforo/default_attachments/';
251 ?>
252 <h3>
253 <?php _e('Possible Spam Attachments', 'wpforo'); ?>
254 <p class="wpf-info"><?php _e('This tool is designed to find attachment which have been uploaded by spammers. The tool checks most common spammer filenames and suggest to delete but you should check one by one and make sure those are spam files before deleting.', 'wpforo'); ?></p>
255 </h3>
256 <table width="100%" border="0" cellspacing="0" cellpadding="0">
257 <tbody>
258 <tr>
259 <th style="width:50%; padding: 15px 0px;"><label><?php _e('Enable File Scanner','wpforo'); ?>:</label></th>
260 <td style=" padding: 10px 0px 5px 0px;">
261 <div class="wpf-switch-field">
262 <input id="spam_file_scanner_yes" type="radio" name="wpforo_tools_antispam[spam_file_scanner]" value="1" <?php wpfo_check(WPF()->tools_antispam['spam_file_scanner'], 1); ?>/><label for="spam_file_scanner_yes"><?php _e('Yes','wpforo'); ?></label> &nbsp;
263 <input id="spam_file_scanner_no" type="radio" name="wpforo_tools_antispam[spam_file_scanner]" value="0" <?php wpfo_check(WPF()->tools_antispam['spam_file_scanner'], 0); ?>/><label for="spam_file_scanner_no"><?php _e('No','wpforo'); ?></label>
264 </div>
265 </td>
266 </tr>
267 <tr>
268 <td colspan="2" style="width:50%;">
269 <label style="padding-bottom:5px; display:block;"><strong><?php _e('Exclude file extensions', 'wpforo'); ?>:</strong></label>
270 <textarea name="wpforo_tools_antispam[exclude_file_ext]" style="font-size: 13px; display:block; width:100%; height:60px;" placeholder="example.com" /><?php wpfo(WPF()->tools_antispam['exclude_file_ext']) ?></textarea></td>
271 </td>
272 </tr>
273 </tbody>
274 </table>
275 <div class="wpf-spam-attach-dir"><?php _e('Directory', 'wpforo'); ?>: <?php echo str_replace($site, '', $upload_dir['baseurl']); ?>/wpforo/default_attachments/&nbsp;</div>
276 <div style="margin-top:10px; clear:both;">
277 <table width="100%" border="0" cellspacing="0" cellpadding="0">
278 <tbody>
279 <?php
280 if( is_dir($default_attachments_dir) && WPF()->tools_antispam['spam_file_scanner'] ):
281 if ($handle = opendir($default_attachments_dir)):
282 while (false !== ($filename = readdir($handle))):
283 if( $filename == '.' || $filename == '..') continue;
284
285 $level = 0; $color ='';
286 $file = $default_attachments_dir . '/' . $filename;
287 $extension = strtolower(pathinfo($filename, PATHINFO_EXTENSION));
288 if( !$level = WPF()->moderation->spam_file($filename) ) continue;
289 if( $level == 2 ) $color = 'style="color:#EE9900;"';
290 if( $level == 3 ) $color = 'style="color:#FF0000;"';
291 if( $level == 4 ) $color = 'style="color:#BB0000;"';
292 ?>
293 <tr>
294 <td class="wpf-spam-item" <?php echo $color; ?> title="<?php echo $upload_dir['baseurl'] .'/wpforo/default_attachments/'. $filename ?>">
295 <?php if( WPF()->moderation->spam_file($filename, 'file-open') ): ?>
296 <a href="<?php echo $upload_dir['baseurl'] .'/wpforo/default_attachments/'. $filename ?>" target="_blank" <?php echo $color ?>><?php echo wpforo_text($filename, 50, false); ?></a>
297 <?php else: ?>
298 <?php echo $filename; ?>
299 <?php endif; ?>
300 <?php echo ' (' . strtoupper($extension) . ' | ' . wpforo_human_filesize(filesize($file), 1) . ')'; ?>
301 </td>
302 <td class="wpf-actions"><a href="<?php echo wp_nonce_url( admin_url( 'admin.php?page=wpforo-tools&tab=antispam&action=delete-spam-file&sfname=' . urlencode($filename) ), 'wpforo_tools_antispam_files' ); ?>" title="<?php _e('Delete this file', 'wpforo'); ?>" onclick="return confirm('<?php _e('Are you sure you want to permanently delete this file?', 'wpforo'); ?>');"><?php _e('Delete', 'wpforo'); ?></a></td>
303 </tr>
304 <?php
305 endwhile;
306 closedir($handle);
307 endif;
308 endif;
309 ?>
310 <tr style="background:#fff;">
311 <td colspan="2" class="wpf-actions" style="padding-top:20px; text-align:right;">
312 <a href="<?php echo wp_nonce_url( admin_url( 'admin.php?page=wpforo-tools&tab=antispam&action=delete-all&level=1' ), 'wpforo_tools_antispam_files' ); ?>"
313 title="<?php _e('Click to delete Blue marked files', 'wpforo'); ?>"
314 onclick="return confirm('<?php _e('Are you sure you want to delete all BLUE marked files listed here. Please download Wordpress /wp-content/uploads/wpforo/ folder to your local computer before deleting files, this is not undoable.', 'wpforo'); ?>');">
315 <?php _e('Delete All', 'wpforo'); ?>
316 </a> |
317 <a href="<?php echo wp_nonce_url( admin_url( 'admin.php?page=wpforo-tools&tab=antispam&action=delete-all&level=2' ), 'wpforo_tools_antispam_files' ); ?>"
318 title="<?php _e('Click to delete Orange marked files', 'wpforo'); ?>"
319 style="color:#EE9900;"
320 onclick="return confirm('<?php _e('Are you sure you want to delete all ORANGE marked files listed here. Please download Wordpress /wp-content/uploads/wpforo/ folder to your local computer before deleting files, this is not undoable.', 'wpforo'); ?>');">
321 <?php _e('Delete All', 'wpforo'); ?>
322 </a> |
323 <a href="<?php echo wp_nonce_url( admin_url( 'admin.php?page=wpforo-tools&tab=antispam&action=delete-all&level=3' ), 'wpforo_tools_antispam_files' ); ?>"
324 title="<?php _e('Click to delete Red marked files', 'wpforo'); ?>"
325 style="color:#FF0000;"
326 onclick="return confirm('<?php _e('Are you sure you want to delete all RED marked files listed here. Please download Wordpress /wp-content/uploads/wpforo/ folder to your local computer before deleting files, this is not undoable.', 'wpforo'); ?>');">
327 <?php _e('Delete All', 'wpforo'); ?>
328 </a> |
329 <a href="<?php echo wp_nonce_url( admin_url( 'admin.php?page=wpforo-tools&tab=antispam&action=delete-all&level=4' ), 'wpforo_tools_antispam_files' ); ?>"
330 title="<?php _e('Click to delete Dark Red marked files', 'wpforo'); ?>"
331 style="color:#BB0000;"
332 onclick="return confirm('<?php _e('Are you sure you want to delete all DARK RED marked files listed here. Please download Wordpress /wp-content/uploads/wpforo/ folder to your local computer before deleting files, this is not undoable.', 'wpforo'); ?>');">
333 <?php _e('Delete All', 'wpforo'); ?>
334 </a>
335 </td>
336 </tr>
337 </tbody>
338 </table>
339 </div>
340 </div>
341 <div style="clear:both;"></div>
342 <div class="wpforo_settings_foot" style="clear:both; margin-top:20px;">
343 <input type="submit" class="button button-primary" value="<?php _e('Update Options', 'wpforo'); ?>" />
344 </div>
345 </form>
346 <?php endif ?>