Version Description
- 14.10.2014 =
- New : The Spanish language file is added.
- Bugfix : Bug with multisite was fixed.
- Bugfix : Bug with user`s login was fixed.
- Bugfix : Bug when Contact Form submit was fixed.
Download this release
Release Info
Developer | bestwebsoft |
Plugin | Google Captcha (reCAPTCHA) by BestWebSoft |
Version | 1.08 |
Comparing to | |
See all releases |
Code changes from version 1.07 to 1.08
- bws_menu/bws_menu.php +222 -342
- bws_menu/css/general_style.css +1 -1
- bws_menu/css/style.css +15 -0
- bws_menu/icons/bws-google-analytics.png +0 -0
- bws_menu/icons/bws-google-maps.png +0 -0
- bws_menu/icons/contact-form-multi.png +0 -0
- bws_menu/icons/db-manager.png +0 -0
- bws_menu/icons/subscriber.png +0 -0
- bws_menu/images/system-status.png +0 -0
- google-captcha.php +31 -20
- js/script.js +10 -3
- languages/google_captcha-es_ES.mo +0 -0
- languages/google_captcha-es_ES.po +214 -0
- languages/google_captcha-zh_TW.mo +0 -0
- languages/google_captcha-zh_TW.po +0 -0
- readme.txt +12 -2
bws_menu/bws_menu.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
* Function for displaying BestWebSoft menu
|
4 |
-
* Version: 1.3.
|
5 |
*/
|
6 |
|
7 |
if ( ! function_exists( 'bws_add_menu_render' ) ) {
|
@@ -17,379 +17,302 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
|
|
17 |
'captcha/captcha.php' => array(
|
18 |
'name' => 'Captcha',
|
19 |
'description' => 'Plugin intended to prove that the visitor is a human being and not a spam robot.',
|
20 |
-
'link' => 'http://bestwebsoft.com/
|
21 |
-
'download' => 'http://bestwebsoft.com/
|
22 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Captcha+bestwebsoft&plugin-search-input=Search+Plugins',
|
23 |
'settings' => 'admin.php?page=captcha.php',
|
24 |
-
'pro_version' => 'captcha-pro/captcha_pro.php'
|
|
|
|
|
25 |
),
|
26 |
'contact-form-plugin/contact_form.php' => array(
|
27 |
-
'name' => 'Contact
|
28 |
'description' => 'Add Contact Form to your WordPress website.',
|
29 |
-
'link' => 'http://bestwebsoft.com/
|
30 |
-
'download' => 'http://bestwebsoft.com/
|
31 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Contact+Form+bestwebsoft&plugin-search-input=Search+Plugins',
|
32 |
'settings' => 'admin.php?page=contact_form.php',
|
33 |
-
'pro_version' => 'contact-form-pro/contact_form_pro.php'
|
|
|
|
|
34 |
),
|
35 |
'facebook-button-plugin/facebook-button-plugin.php' => array(
|
36 |
'name' => 'Facebook Like Button',
|
37 |
'description' => 'Allows you to add the Follow and Like buttons the easiest way.',
|
38 |
-
'link' => 'http://bestwebsoft.com/
|
39 |
-
'download' => 'http://bestwebsoft.com/
|
40 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Facebook+Like+Button+Plugin+bestwebsoft&plugin-search-input=Search+Plugins',
|
41 |
'settings' => 'admin.php?page=facebook-button-plugin.php',
|
42 |
-
'pro_version' => 'facebook-button-pro/facebook-button-pro.php'
|
|
|
|
|
43 |
),
|
44 |
'twitter-plugin/twitter.php' => array(
|
45 |
'name' => 'Twitter',
|
46 |
'description' => 'Allows you to add the Twitter "Follow" and "Like" buttons the easiest way.',
|
47 |
-
'link' => 'http://bestwebsoft.com/
|
48 |
-
'download' => 'http://bestwebsoft.com/
|
49 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Twitter+Plugin+bestwebsoft&plugin-search-input=Search+Plugins',
|
50 |
'settings' => 'admin.php?page=twitter.php',
|
51 |
-
'pro_version' => 'twitter-pro/twitter-pro.php'
|
|
|
|
|
52 |
),
|
53 |
'portfolio/portfolio.php' => array(
|
54 |
'name' => 'Portfolio',
|
55 |
'description' => 'Allows you to create a page with the information about your past projects.',
|
56 |
-
'link' => 'http://bestwebsoft.com/
|
57 |
-
'download' => 'http://bestwebsoft.com/
|
58 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Portfolio+bestwebsoft&plugin-search-input=Search+Plugins',
|
59 |
'settings' => 'admin.php?page=portfolio.php'
|
60 |
),
|
61 |
'gallery-plugin/gallery-plugin.php' => array(
|
62 |
'name' => 'Gallery',
|
63 |
'description' => 'Allows you to implement a Gallery page into your website.',
|
64 |
-
'link' => 'http://bestwebsoft.com/
|
65 |
-
'download' => 'http://bestwebsoft.com/
|
66 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Gallery+Plugin+bestwebsoft&plugin-search-input=Search+Plugins',
|
67 |
'settings' => 'admin.php?page=gallery-plugin.php',
|
68 |
-
'pro_version' => 'gallery-plugin-pro/gallery-plugin-pro.php'
|
|
|
|
|
69 |
),
|
70 |
'adsense-plugin/adsense-plugin.php'=> array(
|
71 |
'name' => 'Google AdSense',
|
72 |
'description' => 'Allows Google AdSense implementation to your website.',
|
73 |
-
'link' => 'http://bestwebsoft.com/
|
74 |
-
'download' => 'http://bestwebsoft.com/
|
75 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Adsense+Plugin+bestwebsoft&plugin-search-input=Search+Plugins',
|
76 |
'settings' => 'admin.php?page=adsense-plugin.php'
|
77 |
),
|
78 |
'custom-search-plugin/custom-search-plugin.php'=> array(
|
79 |
'name' => 'Custom Search',
|
80 |
'description' => 'Allows to extend your website search functionality by adding a custom post type.',
|
81 |
-
'link' => 'http://bestwebsoft.com/
|
82 |
-
'download' => 'http://bestwebsoft.com/
|
83 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Custom+Search+plugin+bestwebsoft&plugin-search-input=Search+Plugins',
|
84 |
'settings' => 'admin.php?page=custom_search.php'
|
85 |
),
|
86 |
'quotes-and-tips/quotes-and-tips.php'=> array(
|
87 |
'name' => 'Quotes and Tips',
|
88 |
'description' => 'Allows you to implement quotes & tips block into your web site.',
|
89 |
-
'link' => 'http://bestwebsoft.com/
|
90 |
-
'download' => 'http://bestwebsoft.com/
|
91 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Quotes+and+Tips+bestwebsoft&plugin-search-input=Search+Plugins',
|
92 |
'settings' => 'admin.php?page=quotes-and-tips.php'
|
93 |
),
|
94 |
'google-sitemap-plugin/google-sitemap-plugin.php'=> array(
|
95 |
'name' => 'Google Sitemap',
|
96 |
'description' => 'Allows you to add sitemap file to Google Webmaster Tools.',
|
97 |
-
'link' => 'http://bestwebsoft.com/
|
98 |
-
'download' => 'http://bestwebsoft.com/
|
99 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Google+sitemap+plugin+bestwebsoft&plugin-search-input=Search+Plugins',
|
100 |
'settings' => 'admin.php?page=google-sitemap-plugin.php',
|
101 |
-
'pro_version' => 'google-sitemap-pro/google-sitemap-pro.php'
|
|
|
|
|
102 |
),
|
103 |
'updater/updater.php'=> array(
|
104 |
'name' => 'Updater',
|
105 |
'description' => 'Allows you to update plugins and WP core.',
|
106 |
-
'link' => 'http://bestwebsoft.com/
|
107 |
-
'download' => 'http://bestwebsoft.com/
|
108 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=updater+bestwebsoft&plugin-search-input=Search+Plugins',
|
109 |
'settings' => 'admin.php?page=updater-options',
|
110 |
-
'pro_version' => 'updater-pro/updater_pro.php'
|
|
|
|
|
111 |
),
|
112 |
'custom-fields-search/custom-fields-search.php'=> array(
|
113 |
'name' => 'Custom Fields Search',
|
114 |
'description' => 'Allows you to add website search any existing custom fields.',
|
115 |
-
'link' => 'http://bestwebsoft.com/
|
116 |
-
'download' => 'http://bestwebsoft.com/
|
117 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Custom+Fields+Search+bestwebsoft&plugin-search-input=Search+Plugins',
|
118 |
'settings' => 'admin.php?page=custom_fields_search.php'
|
119 |
),
|
120 |
'google-one/google-plus-one.php' => array(
|
121 |
'name' => 'Google +1',
|
122 |
'description' => 'Allows you to see how many times your page has been liked on Google Search Engine as well as who has liked the article.',
|
123 |
-
'link' => 'http://bestwebsoft.com/
|
124 |
-
'download' => 'http://bestwebsoft.com/
|
125 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Google+%2B1+bestwebsoft&plugin-search-input=Search+Plugins',
|
126 |
'settings' => 'admin.php?page=google-plus-one.php',
|
127 |
-
'pro_version' => 'google-one-pro/google-plus-one-pro.php'
|
|
|
|
|
128 |
),
|
129 |
'relevant/related-posts-plugin.php' => array(
|
130 |
'name' => 'Relevant - Related Posts',
|
131 |
'description' => 'Allows you to display related posts with similar words in category, tags, title or by adding special meta key for posts.',
|
132 |
-
'link' => 'http://bestwebsoft.com/
|
133 |
-
'download' => 'http://bestwebsoft.com/
|
134 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Related+Posts+Plugin+Bestwebsoft&plugin-search-input=Search+Plugins',
|
135 |
'settings' => 'admin.php?page=related-posts-plugin.php'
|
136 |
),
|
137 |
'contact-form-to-db/contact_form_to_db.php' => array(
|
138 |
'name' => 'Contact Form To DB',
|
139 |
'description' => 'Allows you to manage the messages that have been sent from your site.',
|
140 |
-
'link' => 'http://bestwebsoft.com/
|
141 |
-
'download' => 'http://bestwebsoft.com/
|
142 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Contact+Form+to+DB+bestwebsoft&plugin-search-input=Search+Plugins',
|
143 |
'settings' => 'admin.php?page=cntctfrmtdb_settings',
|
144 |
-
'pro_version' => 'contact-form-to-db-pro/contact_form_to_db_pro.php'
|
|
|
|
|
145 |
),
|
146 |
'pdf-print/pdf-print.php' => array(
|
147 |
'name' => 'PDF & Print',
|
148 |
'description' => 'Allows you to create PDF and Print page with adding appropriate buttons to the content.',
|
149 |
-
'link' => 'http://bestwebsoft.com/
|
150 |
-
'download' => 'http://bestwebsoft.com/
|
151 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=PDF+Print+Bestwebsoft&plugin-search-input=Search+Plugins',
|
152 |
'settings' => 'admin.php?page=pdf-print.php',
|
153 |
-
'pro_version' => 'pdf-print-pro/pdf-print-pro.php'
|
|
|
|
|
154 |
),
|
155 |
'donate-button/donate.php' => array(
|
156 |
'name' => 'Donate',
|
157 |
'description' => 'Makes it possible to place donation buttons of various payment systems on your web page.',
|
158 |
-
'link' => 'http://bestwebsoft.com/
|
159 |
-
'download' => 'http://bestwebsoft.com/
|
160 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Donate+Bestwebsoft&plugin-search-input=Search+Plugins',
|
161 |
'settings' => 'admin.php?page=donate.php'
|
162 |
),
|
163 |
'post-to-csv/post-to-csv.php' => array(
|
164 |
'name' => 'Post To CSV',
|
165 |
'description' => 'The plugin allows to export posts of any types to a csv file.',
|
166 |
-
'link' => 'http://bestwebsoft.com/
|
167 |
-
'download' => 'http://bestwebsoft.com/
|
168 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Post+To+CSV+Bestwebsoft&plugin-search-input=Search+Plugins',
|
169 |
'settings' => 'admin.php?page=post-to-csv.php'
|
170 |
),
|
171 |
'google-shortlink/google-shortlink.php' => array(
|
172 |
'name' => 'Google Shortlink',
|
173 |
'description' => 'Allows you to get short links from goo.gl servise without leaving your site.',
|
174 |
-
'link' => 'http://bestwebsoft.com/
|
175 |
-
'download' => 'http://bestwebsoft.com/
|
176 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Google+Shortlink+Bestwebsoft&plugin-search-input=Search+Plugins',
|
177 |
'settings' => 'admin.php?page=gglshrtlnk_options'
|
178 |
),
|
179 |
'htaccess/htaccess.php' => array(
|
180 |
'name' => 'Htaccess',
|
181 |
'description' => 'Allows controlling access to your website using the directives Allow and Deny.',
|
182 |
-
'link' => 'http://bestwebsoft.com/
|
183 |
-
'download' => 'http://bestwebsoft.com/
|
184 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Htaccess+Bestwebsoft&plugin-search-input=Search+Plugins',
|
185 |
'settings' => 'admin.php?page=htaccess.php'
|
186 |
),
|
187 |
'google-captcha/google-captcha.php' => array(
|
188 |
'name' => 'Google Captcha (reCAPTCHA)',
|
189 |
'description' => 'Plugin intended to prove that the visitor is a human being and not a spam robot.',
|
190 |
-
'link' => 'http://bestwebsoft.com/
|
191 |
-
'download' => 'http://bestwebsoft.com/
|
192 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Google+Captcha+Bestwebsoft&plugin-search-input=Search+Plugins',
|
193 |
'settings' => 'admin.php?page=google-captcha.php'
|
194 |
),
|
195 |
'sender/sender.php' => array(
|
196 |
'name' => 'Sender',
|
197 |
'description' => 'You can send mails to all users or to certain categories of users.',
|
198 |
-
'link' => 'http://bestwebsoft.com/
|
199 |
-
'download' => 'http://bestwebsoft.com/
|
200 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Sender+Bestwebsoft&plugin-search-input=Search+Plugins',
|
201 |
'settings' => 'admin.php?page=sndr_settings',
|
202 |
-
'pro_version' => 'sender-pro/sender-pro.php'
|
|
|
|
|
203 |
),
|
204 |
'subscriber/subscriber.php' => array(
|
205 |
'name' => 'Subscriber',
|
206 |
'description' => 'This plugin allows you to subscribe users for newsletters from your website.',
|
207 |
-
'link' => 'http://bestwebsoft.com/
|
208 |
-
'download' => 'http://bestwebsoft.com/
|
209 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Subscriber+Bestwebsoft&plugin-search-input=Search+Plugins',
|
210 |
'settings' => 'admin.php?page=sbscrbr_settings_page'
|
211 |
),
|
212 |
'contact-form-multi/contact-form-multi.php' => array(
|
213 |
'name' => 'Contact Form Multi',
|
214 |
'description' => 'This plugin allows you to subscribe users for newsletters from your website.',
|
215 |
-
'link' => 'http://bestwebsoft.com/
|
216 |
-
'download' => 'http://bestwebsoft.com/
|
217 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Contact+Form+Multi+Bestwebsoft&plugin-search-input=Search+Plugins',
|
218 |
'settings' => '',
|
219 |
-
'pro_version' => 'contact-form-multi-pro/contact-form-multi-pro.php'
|
|
|
|
|
220 |
),
|
221 |
'bws-google-maps/bws-google-maps.php' => array(
|
222 |
'name' => 'BestWebSoft Google Maps',
|
223 |
'description' => 'Easy to set up and insert Google Maps to your website.',
|
224 |
-
'link' => 'http://bestwebsoft.com/
|
225 |
-
'download' => 'http://bestwebsoft.com/
|
226 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=BestWebSoft+Google+Maps&plugin-search-input=Search+Plugins',
|
227 |
'settings' => 'admin.php?page=bws-google-maps.php',
|
228 |
-
'pro_version' => 'bws-google-maps-pro/bws-google-maps-pro.php'
|
|
|
|
|
229 |
),
|
230 |
'bws-google-analytics/bws-google-analytics.php' => array(
|
231 |
'name' => 'BestWebSoft Google Analytics',
|
232 |
'description' => 'Allows you to retrieve basic stats from Google Analytics account and add the tracking code to your blog.',
|
233 |
-
'link' => 'http://bestwebsoft.com/
|
234 |
-
'download' => 'http://bestwebsoft.com/
|
235 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=BestWebSoft+Google+Analytics&plugin-search-input=Search+Plugins',
|
236 |
'settings' => 'admin.php?page=bws-google-analytics.php'
|
237 |
),
|
238 |
'db-manager/db-manager.php' => array(
|
239 |
'name' => 'DB manager',
|
240 |
'description' => 'Allows you to download the latest version of PhpMyadmin and Dumper and manage your site.',
|
241 |
-
'link' => 'http://bestwebsoft.com/
|
242 |
-
'download' => 'http://bestwebsoft.com/
|
243 |
-
'wp_install' => 'http://bestwebsoft.com/
|
244 |
'settings' => 'admin.php?page=db-manager.php'
|
245 |
),
|
246 |
'user-role/user-role.php' => array(
|
247 |
'name' => 'User Role',
|
248 |
'description' => 'Allows to change wordpress user role capabilities.',
|
249 |
-
'link' => 'http://bestwebsoft.com/
|
250 |
-
'download' => 'http://bestwebsoft.com/
|
251 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=User+Role+BestWebSoft&plugin-search-input=Search+Plugins',
|
252 |
'settings' => 'admin.php?page=user-role.php',
|
253 |
-
'pro_version' => 'user-role-pro/user-role-pro.php'
|
|
|
|
|
254 |
),
|
255 |
'email-queue/email-queue.php' => array(
|
256 |
'name' => 'Email Queue',
|
257 |
'description' => 'Allows to manage email massages sent by BestWebSoft plugins.',
|
258 |
-
'link' => 'http://bestwebsoft.com/
|
259 |
-
'download' => 'http://bestwebsoft.com/
|
260 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Email+Queue+BestWebSoft&plugin-search-input=Search+Plugins',
|
261 |
'settings' => 'admin.php?page=mlq_settings'
|
262 |
),
|
263 |
'limit-attempts/limit-attempts.php' => array(
|
264 |
'name' => 'Limit Attempts',
|
265 |
'description' => 'Allows you to limit rate of login attempts by the ip, and create whitelist and blacklist.',
|
266 |
-
'link' => 'http://bestwebsoft.com/
|
267 |
-
'download' => 'http://bestwebsoft.com/
|
268 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Limit+Attempts+BestWebSoft&plugin-search-input=Search+Plugins',
|
269 |
'settings' => 'admin.php?page=limit-attempts.php',
|
270 |
-
'pro_version' => 'limit-attempts-pro/limit-attempts-pro.php'
|
|
|
|
|
271 |
),
|
272 |
'job-board/job-board.php' => array(
|
273 |
'name' => 'Job board',
|
274 |
'description' => 'Allows to create a job-board page on your site.',
|
275 |
-
'link' => 'http://bestwebsoft.com/
|
276 |
-
'download' => 'http://bestwebsoft.com/
|
277 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Job+board+BestWebSoft&plugin-search-input=Search+Plugins',
|
278 |
'settings' => 'admin.php?page=job-board.php'
|
279 |
)
|
280 |
);
|
281 |
-
$bws_plugins_pro = array(
|
282 |
-
'gallery-plugin-pro/gallery-plugin-pro.php' => array(
|
283 |
-
'name' => 'Gallery Pro',
|
284 |
-
'description' => 'Allows you to implement as many galleries as you want into your website.',
|
285 |
-
'link' => 'http://bestwebsoft.com/plugin/gallery-pro/?k=382e5ce7c96a6391f5ffa5e116b37fe0&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
286 |
-
'purchase' => 'http://bestwebsoft.com/plugin/gallery-pro/?k=382e5ce7c96a6391f5ffa5e116b37fe0&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
|
287 |
-
'settings' => 'admin.php?page=gallery-plugin-pro.php'
|
288 |
-
),
|
289 |
-
'contact-form-pro/contact_form_pro.php' => array(
|
290 |
-
'name' => 'Contact form Pro',
|
291 |
-
'description' => 'Allows you to implement a feedback form to a web-page or a post in no time.',
|
292 |
-
'link' => 'http://bestwebsoft.com/plugin/contact-form-pro/?k=773dc97bb3551975db0e32edca1a6d71&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
293 |
-
'purchase' => 'http://bestwebsoft.com/plugin/contact-form-pro/?k=773dc97bb3551975db0e32edca1a6d71&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
|
294 |
-
'settings' => 'admin.php?page=contact_form_pro.php'
|
295 |
-
),
|
296 |
-
'captcha-pro/captcha_pro.php' => array(
|
297 |
-
'name' => 'Captcha Pro',
|
298 |
-
'description' => 'Allows you to implement a super security captcha form into web forms.',
|
299 |
-
'link' => 'http://bestwebsoft.com/plugin/captcha-pro/?k=ff7d65e55e5e7f98f219be9ed711094e&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
300 |
-
'purchase' => 'http://bestwebsoft.com/plugin/captcha-pro/?k=ff7d65e55e5e7f98f219be9ed711094e&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
|
301 |
-
'settings' => 'admin.php?page=captcha_pro.php'
|
302 |
-
),
|
303 |
-
'updater-pro/updater_pro.php' => array(
|
304 |
-
'name' => 'Updater Pro',
|
305 |
-
'description' => 'Allows you to update plugins and WordPress core on your website.',
|
306 |
-
'link' => 'http://bestwebsoft.com/plugin/updater-pro/?k=cf633acbefbdff78545347fe08a3aecb&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
307 |
-
'purchase' => 'http://bestwebsoft.com/plugin/updater-pro?k=cf633acbefbdff78545347fe08a3aecb&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
|
308 |
-
'settings' => 'admin.php?page=updater-pro-options'
|
309 |
-
),
|
310 |
-
'contact-form-to-db-pro/contact_form_to_db_pro.php' => array(
|
311 |
-
'name' => 'Contact form to DB Pro',
|
312 |
-
'description' => 'The plugin provides a unique opportunity to manage messages sent from your site via the contact form.',
|
313 |
-
'link' => 'http://bestwebsoft.com/plugin/contact-form-to-db-pro/?k=6ce5f4a9006ec906e4db643669246c6a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
314 |
-
'purchase' => 'http://bestwebsoft.com/plugin/contact-form-to-db-pro/?k=6ce5f4a9006ec906e4db643669246c6a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
|
315 |
-
'settings' => 'admin.php?page=cntctfrmtdbpr_settings'
|
316 |
-
),
|
317 |
-
'google-sitemap-pro/google-sitemap-pro.php'=> array(
|
318 |
-
'name' => 'Google Sitemap Pro',
|
319 |
-
'description' => 'Allows you to add sitemap file to Google Webmaster Tools.',
|
320 |
-
'link' => 'http://bestwebsoft.com/plugin/google-sitemap-pro/?k=7ea384a5cc36cb4c22741caa20dcd56d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
321 |
-
'purchase' => 'http://bestwebsoft.com/plugin/google-sitemap-pro/?k=7ea384a5cc36cb4c22741caa20dcd56d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
|
322 |
-
'settings' => 'admin.php?page=google-sitemap-pro.php'
|
323 |
-
),
|
324 |
-
'twitter-pro/twitter-pro.php' => array(
|
325 |
-
'name' => 'Twitter Pro',
|
326 |
-
'description' => 'Allows you to add the Twitter "Follow" and "Like" buttons the easiest way.',
|
327 |
-
'link' => 'http://bestwebsoft.com/plugin/twitter-pro/?k=63ecbf0cc9cebf060b5a3c9362299700&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
328 |
-
'purchase' => 'http://bestwebsoft.com/plugin/twitter-pro?k=63ecbf0cc9cebf060b5a3c9362299700&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
|
329 |
-
'settings' => 'admin.php?page=twitter-pro.php'
|
330 |
-
),
|
331 |
-
'google-one-pro/google-plus-one-pro.php' => array(
|
332 |
-
'name' => 'Google +1 Pro',
|
333 |
-
'description' => 'Allows you to see how many times your page has been liked on Google Search Engine as well as who has liked the article.',
|
334 |
-
'link' => 'http://bestwebsoft.com/plugin/google-plus-one-pro/?k=f4b0a62d155c9df9601a0531ad5bd832&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
335 |
-
'purchase' => 'http://bestwebsoft.com/plugin/google-plus-one-pro?k=f4b0a62d155c9df9601a0531ad5bd832&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
|
336 |
-
'settings' => 'admin.php?page=google-plus-one-pro.php'
|
337 |
-
),
|
338 |
-
'facebook-button-pro/facebook-button-pro.php' => array(
|
339 |
-
'name' => 'Facebook Like Button Pro',
|
340 |
-
'description' => 'Allows you to add the Follow and Like buttons the easiest way.',
|
341 |
-
'link' => 'http://bestwebsoft.com/plugin/facebook-like-button-pro/?k=8da168e60a831cfb3525417c333ad275&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
342 |
-
'purchase' => 'http://bestwebsoft.com/plugin/facebook-like-button-pro?k=8da168e60a831cfb3525417c333ad275&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
|
343 |
-
'settings' => 'admin.php?page=facebook-button-pro.php'
|
344 |
-
),
|
345 |
-
'pdf-print-pro/pdf-print-pro.php' => array(
|
346 |
-
'name' => 'PDF & Print Pro',
|
347 |
-
'description' => 'Allows you to create PDF and Print page with adding appropriate buttons to the content.',
|
348 |
-
'link' => 'http://bestwebsoft.com/plugin/pdf-print-pro/?k=fd43a0e659ddc170a9060027cbfdcc3a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
349 |
-
'purchase' => 'http://bestwebsoft.com/plugin/pdf-print-pro?k=fd43a0e659ddc170a9060027cbfdcc3a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
|
350 |
-
'settings' => 'admin.php?page=pdf-print-pro.php'
|
351 |
-
),
|
352 |
-
'bws-google-maps-pro/bws-google-maps-pro.php' => array(
|
353 |
-
'name' => 'BestWebSoft Google Maps Pro',
|
354 |
-
'description' => 'Easy to set up and insert Google Maps to your website.',
|
355 |
-
'link' => 'http://bestwebsoft.com/plugin/bws-google-maps-pro/?k=117c3f9fc17f2c83ef430a8a9dc06f56&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
356 |
-
'purchase' => 'http://bestwebsoft.com/plugin/bws-google-maps-pro/?k=117c3f9fc17f2c83ef430a8a9dc06f56&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
|
357 |
-
'settings' => 'admin.php?page=bws-google-maps-pro.php'
|
358 |
-
),
|
359 |
-
'contact-form-multi-pro/contact-form-multi-pro.php' => array(
|
360 |
-
'name' => 'Contact Form Multi Pro',
|
361 |
-
'description' => 'This plugin is an exclusive add-on to the Contact Form Pro. Allows to create multiple contact forms.',
|
362 |
-
'link' => 'http://bestwebsoft.com/plugin/contact-form-multi-pro/?k=fde3a18581c143654f060c398b07e8ac&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
363 |
-
'purchase' => 'http://bestwebsoft.com/plugin/contact-form-multi-pro/?k=fde3a18581c143654f060c398b07e8ac&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
|
364 |
-
'settings' => ''
|
365 |
-
),
|
366 |
-
'user-role-pro/user-role-pro.php' => array(
|
367 |
-
'name' => 'User Role Pro',
|
368 |
-
'description' => 'Allows to change wordpress user role capabilities.',
|
369 |
-
'link' => 'http://bestwebsoft.com/plugin/user-role-pro/?k=cfa9cea6613fb3d7c0a3622fa2faaf46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
370 |
-
'purchase' => 'http://bestwebsoft.com/plugin/user-role-pro/?k=cfa9cea6613fb3d7c0a3622fa2faaf46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
|
371 |
-
'settings' => 'admin.php?page=user-role-pro.php'
|
372 |
-
),
|
373 |
-
'sender-pro/sender-pro.php' => array(
|
374 |
-
'name' => 'Sender Pro',
|
375 |
-
'description' => 'You can send mails to all users or to certain categories of users.',
|
376 |
-
'link' => 'http://bestwebsoft.com/plugin/sender-pro/?k=dc5d1a87bdc8aeab2de40ffb99b38054&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
377 |
-
'purchase' => 'http://bestwebsoft.com/plugin/sender-pro/?k=dc5d1a87bdc8aeab2de40ffb99b38054&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
|
378 |
-
'settings' => 'admin.php?page=sndrpr_settings'
|
379 |
-
),
|
380 |
-
'limit-attempts-pro/limit-attempts-pro.php' => array(
|
381 |
-
'name' => 'Limit Attempts Pro',
|
382 |
-
'description' => 'Allows you to limit rate of login attempts by the ip, and create whitelist and blacklist.',
|
383 |
-
'link' => 'http://bestwebsoft.com/plugin/limit-attempts-pro/?k=9d42cdf22c7fce2c4b6b447e6a2856e0&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
384 |
-
'purchase' => 'http://bestwebsoft.com/plugin/limit-attempts-pro/?k=9d42cdf22c7fce2c4b6b447e6a2856e0&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#purchase',
|
385 |
-
'settings' => 'admin.php?page=limit-attempts-pro.php',
|
386 |
-
)
|
387 |
-
);
|
388 |
|
389 |
$all_plugins = get_plugins();
|
390 |
$active_plugins = get_option( 'active_plugins' );
|
391 |
-
|
392 |
$recommend_plugins = array_diff_key( $bws_plugins, $all_plugins );
|
|
|
393 |
|
394 |
foreach ( $bws_plugins as $key_plugin => $value_plugin ) {
|
395 |
if ( ! isset( $all_plugins[ $key_plugin ] ) && isset( $bws_plugins[ $key_plugin ]['pro_version'] ) && isset( $all_plugins[ $bws_plugins[ $key_plugin ]['pro_version'] ] ) ) {
|
@@ -398,81 +321,47 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
|
|
398 |
}
|
399 |
|
400 |
foreach ( $all_plugins as $key_plugin => $value_plugin ) {
|
401 |
-
if (
|
402 |
-
unset( $all_plugins[ $key_plugin ] );
|
403 |
-
|
404 |
-
if ( isset( $bws_plugins[ $key_plugin ] ) && isset( $bws_plugins[ $key_plugin ]['pro_version'] ) && isset( $all_plugins[ $bws_plugins[ $key_plugin ]['pro_version'] ] ) ) {
|
405 |
unset( $all_plugins[ $key_plugin ] );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
406 |
}
|
407 |
}
|
408 |
|
409 |
if ( isset( $_GET['action'] ) && 'system_status' == $_GET['action'] ) {
|
410 |
$all_plugins = get_plugins();
|
411 |
$active_plugins = get_option( 'active_plugins' );
|
412 |
-
$sql_version = $wpdb->get_var( "SELECT VERSION() AS version" );
|
413 |
$mysql_info = $wpdb->get_results( "SHOW VARIABLES LIKE 'sql_mode'" );
|
414 |
-
if ( is_array( $mysql_info) )
|
415 |
$sql_mode = $mysql_info[0]->Value;
|
416 |
if ( empty( $sql_mode ) )
|
417 |
$sql_mode = __( 'Not set', 'bestwebsoft' );
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
if ( ini_get('post_max_size') )
|
431 |
-
$post_max_size = ini_get('post_max_size');
|
432 |
-
else
|
433 |
-
$post_max_size = __( 'N/A', 'bestwebsoft' );
|
434 |
-
if ( ini_get( 'max_execution_time' ) )
|
435 |
-
$max_execution_time = ini_get( 'max_execution_time' );
|
436 |
-
else
|
437 |
-
$max_execution_time = __( 'N/A', 'bestwebsoft' );
|
438 |
-
if ( ini_get( 'memory_limit' ) )
|
439 |
-
$memory_limit = ini_get( 'memory_limit' );
|
440 |
-
else
|
441 |
-
$memory_limit = __( 'N/A', 'bestwebsoft' );
|
442 |
-
if ( function_exists( 'memory_get_usage' ) )
|
443 |
-
$memory_usage = round( memory_get_usage() / 1024 / 1024, 2 ) . __( ' Mb', 'bestwebsoft' );
|
444 |
-
else
|
445 |
-
$memory_usage = __( 'N/A', 'bestwebsoft' );
|
446 |
-
if ( is_callable( 'exif_read_data' ) )
|
447 |
-
$exif_read_data = __( 'Yes', 'bestwebsoft' ) . " ( V" . substr( phpversion( 'exif' ), 0,4 ) . ")" ;
|
448 |
-
else
|
449 |
-
$exif_read_data = __( 'No', 'bestwebsoft' );
|
450 |
-
if ( is_callable( 'iptcparse' ) )
|
451 |
-
$iptcparse = __( 'Yes', 'bestwebsoft' );
|
452 |
-
else
|
453 |
-
$iptcparse = __( 'No', 'bestwebsoft' );
|
454 |
-
if ( is_callable( 'xml_parser_create' ) )
|
455 |
-
$xml_parser_create = __( 'Yes', 'bestwebsoft' );
|
456 |
-
else
|
457 |
-
$xml_parser_create = __( 'No', 'bestwebsoft' );
|
458 |
-
|
459 |
-
if ( function_exists( 'wp_get_theme' ) )
|
460 |
-
$theme = wp_get_theme();
|
461 |
-
else
|
462 |
-
$theme = get_theme( get_current_theme() );
|
463 |
|
464 |
if ( function_exists( 'is_multisite' ) ) {
|
465 |
-
if ( is_multisite() )
|
466 |
$multisite = __( 'Yes', 'bestwebsoft' );
|
467 |
-
|
468 |
$multisite = __( 'No', 'bestwebsoft' );
|
469 |
-
}
|
470 |
} else
|
471 |
$multisite = __( 'N/A', 'bestwebsoft' );
|
472 |
|
473 |
-
$site_url = get_option( 'siteurl' );
|
474 |
-
$home_url = get_option( 'home' );
|
475 |
-
$db_version = get_option( 'db_version' );
|
476 |
$system_info = array(
|
477 |
'system_info' => '',
|
478 |
'active_plugins' => '',
|
@@ -482,7 +371,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
|
|
482 |
__( 'Operating System', 'bestwebsoft' ) => PHP_OS,
|
483 |
__( 'Server', 'bestwebsoft' ) => $_SERVER["SERVER_SOFTWARE"],
|
484 |
__( 'Memory usage', 'bestwebsoft' ) => $memory_usage,
|
485 |
-
__( 'MYSQL Version', 'bestwebsoft' ) => $
|
486 |
__( 'SQL Mode', 'bestwebsoft' ) => $sql_mode,
|
487 |
__( 'PHP Version', 'bestwebsoft' ) => PHP_VERSION,
|
488 |
__( 'PHP Safe Mode', 'bestwebsoft' ) => $safe_mode,
|
@@ -494,21 +383,20 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
|
|
494 |
__( 'PHP Exif support', 'bestwebsoft' ) => $exif_read_data,
|
495 |
__( 'PHP IPTC support', 'bestwebsoft' ) => $iptcparse,
|
496 |
__( 'PHP XML support', 'bestwebsoft' ) => $xml_parser_create,
|
497 |
-
__( 'Site URL', 'bestwebsoft' ) =>
|
498 |
-
__( 'Home URL', 'bestwebsoft' ) =>
|
499 |
'$_SERVER[HTTP_HOST]' => $_SERVER['HTTP_HOST'],
|
500 |
'$_SERVER[SERVER_NAME]' => $_SERVER['SERVER_NAME'],
|
501 |
__( 'WordPress Version', 'bestwebsoft' ) => $wp_version,
|
502 |
-
__( 'WordPress DB Version', 'bestwebsoft' ) =>
|
503 |
__( 'Multisite', 'bestwebsoft' ) => $multisite,
|
504 |
__( 'Active Theme', 'bestwebsoft' ) => $theme['Name'] . ' ' . $theme['Version']
|
505 |
);
|
506 |
foreach ( $all_plugins as $path => $plugin ) {
|
507 |
-
if ( is_plugin_active( $path ) )
|
508 |
$system_info['active_plugins'][ $plugin['Name'] ] = $plugin['Version'];
|
509 |
-
|
510 |
$system_info['inactive_plugins'][ $plugin['Name'] ] = $plugin['Version'];
|
511 |
-
}
|
512 |
}
|
513 |
}
|
514 |
|
@@ -563,15 +451,22 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
|
|
563 |
} ?>
|
564 |
<div class="wrap">
|
565 |
<div class="icon32 icon32-bws" id="icon-options-general"></div>
|
566 |
-
<h2>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
567 |
<h2 class="nav-tab-wrapper">
|
568 |
<a class="nav-tab<?php if ( !isset( $_GET['action'] ) ) echo ' nav-tab-active'; ?>" href="admin.php?page=bws_plugins"><?php _e( 'Plugins', 'bestwebsoft' ); ?></a>
|
569 |
<?php if ( $wp_version >= '3.4' ) { ?>
|
570 |
<a class="nav-tab<?php if ( isset( $_GET['action'] ) && 'themes' == $_GET['action'] ) echo ' nav-tab-active'; ?>" href="admin.php?page=bws_plugins&action=themes"><?php _e( 'Themes', 'bestwebsoft' ); ?></a>
|
571 |
<?php } ?>
|
572 |
-
<a class="nav-tab<?php if ( isset( $_GET['action'] ) && 'system_status' == $_GET['action'] ) echo ' nav-tab-active'; ?>" href="admin.php?page=bws_plugins&action=system_status"><?php _e( 'System status', 'bestwebsoft' ); ?></a>
|
573 |
</h2>
|
574 |
-
<?php if ( !isset( $_GET['action'] ) ) { ?>
|
575 |
<ul class="subsubsub">
|
576 |
<li><a <?php if ( !isset( $_GET['sub'] ) ) echo 'class="current" '; ?>href="admin.php?page=bws_plugins"><?php _e( 'All', 'bestwebsoft' ); ?></a></li> |
|
577 |
<li><a <?php if ( isset( $_GET['sub'] ) && 'installed' == $_GET['sub'] ) echo 'class="current" '; ?>href="admin.php?page=bws_plugins&sub=installed"><?php _e( 'Installed', 'bestwebsoft' ); ?></a></li> |
|
@@ -581,15 +476,10 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
|
|
581 |
<?php if ( ( isset( $_GET['sub'] ) && 'installed' == $_GET['sub'] ) || !isset( $_GET['sub'] ) ) { ?>
|
582 |
<h4 class="bws_installed"><?php _e( 'Installed plugins', 'bestwebsoft' ); ?></h4>
|
583 |
<?php foreach ( $all_plugins as $key_plugin => $value_plugin ) {
|
584 |
-
if ( isset( $bws_plugins_pro[ $key_plugin ] ) )
|
585 |
-
$
|
586 |
-
|
587 |
-
|
588 |
-
else {
|
589 |
-
$key_plugin_explode = explode( '-pro/', $key_plugin );
|
590 |
-
$icon = $key_plugin_explode[0];
|
591 |
-
}
|
592 |
-
} elseif ( isset( $bws_plugins[ $key_plugin ] ) ) {
|
593 |
$key_plugin_explode = explode( '-plugin/', $key_plugin );
|
594 |
if ( isset( $key_plugin_explode[1] ) )
|
595 |
$icon = $key_plugin_explode[0];
|
@@ -597,31 +487,50 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
|
|
597 |
$key_plugin_explode = explode( '/', $key_plugin );
|
598 |
$icon = $key_plugin_explode[0];
|
599 |
}
|
600 |
-
}
|
601 |
|
602 |
-
if ( in_array( $key_plugin, $active_plugins ) || is_plugin_active_for_network( $key_plugin ) ) { ?>
|
603 |
-
|
604 |
-
<div class="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
605 |
<div class="bws_product">
|
606 |
<div class="bws_product_title"><?php echo $value_plugin["Name"]; ?></div>
|
607 |
<div class="bws_product_content">
|
608 |
<div class="bws_product_icon">
|
609 |
<div class="bws_product_icon_pro">PRO</div>
|
610 |
-
<img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
|
611 |
-
</div>
|
612 |
-
<div class="bws_product_description"><?php echo $
|
613 |
</div>
|
614 |
<div class="clear"></div>
|
615 |
-
</div>
|
616 |
-
<div class="bws_product_links">
|
617 |
-
<a href="<?php echo $
|
618 |
-
|
619 |
-
|
620 |
-
<a href="<?php echo $bws_plugins_pro[ $key_plugin ]["settings"]; ?>" target="_blank"><?php _e( "Settings", 'bestwebsoft' ); ?></a>
|
621 |
-
<?php } ?>
|
622 |
</div>
|
623 |
</div>
|
624 |
-
<?php }
|
625 |
<div class="bws_product_box bws_product_free">
|
626 |
<div class="bws_product">
|
627 |
<div class="bws_product_title"><?php echo $value_plugin["Name"]; ?></div>
|
@@ -631,8 +540,8 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
|
|
631 |
</div>
|
632 |
<div class="bws_product_description"><?php echo $bws_plugins[ $key_plugin ]["description"]; ?></div>
|
633 |
</div>
|
634 |
-
<?php if ( isset( $bws_plugins[ $key_plugin ][
|
635 |
-
<a class="bws_product_button" href="<?php echo $
|
636 |
<?php _e( 'Go', 'bestwebsoft' );?> <strong>PRO</strong>
|
637 |
</a>
|
638 |
<?php } else { ?>
|
@@ -651,55 +560,34 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
|
|
651 |
</div>
|
652 |
</div>
|
653 |
<?php }
|
654 |
-
}
|
655 |
-
|
656 |
-
<div class="
|
657 |
-
<div class="
|
658 |
-
|
659 |
-
<div class="
|
660 |
-
<
|
661 |
-
<div class="bws_product_icon_pro">PRO</div>
|
662 |
-
<img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
|
663 |
-
</div>
|
664 |
-
<div class="bws_product_description"><?php echo $bws_plugins_pro[ $key_plugin ]["description"]; ?></div>
|
665 |
</div>
|
666 |
-
<div class="
|
667 |
-
</div>
|
668 |
-
<div class="bws_product_links">
|
669 |
-
<a href="<?php echo $bws_plugins_pro[ $key_plugin ]["link"]; ?>" target="_blank"><?php _e( "Learn more", 'bestwebsoft' ); ?></a>
|
670 |
-
<span> | </span>
|
671 |
-
<a class="bws_activate" href="plugins.php" title="<?php _e( "Activate this plugin", 'bestwebsoft' ); ?>" target="_blank"><?php _e( "Activate", 'bestwebsoft' ); ?></a>
|
672 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
673 |
</div>
|
674 |
-
|
675 |
-
|
676 |
-
<
|
677 |
-
|
678 |
-
<div class="bws_product_content">
|
679 |
-
<div class="bws_product_icon">
|
680 |
-
<img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
|
681 |
-
</div>
|
682 |
-
<div class="bws_product_description"><?php echo $bws_plugins[ $key_plugin ]["description"]; ?></div>
|
683 |
-
</div>
|
684 |
-
<?php if ( isset( $bws_plugins[ $key_plugin ]['pro_version'] ) && isset( $bws_plugins_pro[ $bws_plugins[ $key_plugin ]['pro_version'] ] ) ) { ?>
|
685 |
-
<a class="bws_product_button" href="<?php echo $bws_plugins_pro[ $bws_plugins[ $key_plugin ]['pro_version'] ]["purchase"]; ?>" target="_blank">
|
686 |
-
<?php _e( 'Go', 'bestwebsoft' );?> <strong>PRO</strong>
|
687 |
-
</a>
|
688 |
-
<?php } else { ?>
|
689 |
-
<a class="bws_product_button bws_donate_button" href="<?php echo $bws_donate_link; ?>" target="_blank">
|
690 |
-
<strong><?php _e( 'DONATE', 'bestwebsoft' );?></strong>
|
691 |
-
</a>
|
692 |
-
<?php } ?>
|
693 |
-
<div class="clear"></div>
|
694 |
-
</div>
|
695 |
-
<div class="bws_product_links">
|
696 |
-
<a href="<?php echo $bws_plugins[ $key_plugin ]["link"]; ?>" target="_blank"><?php _e( "Learn more", 'bestwebsoft' ); ?></a>
|
697 |
-
<span> | </span>
|
698 |
-
<a class="bws_activate" href="plugins.php" title="<?php _e( "Activate this plugin", 'bestwebsoft' ); ?>" target="_blank"><?php _e( "Activate", 'bestwebsoft' ); ?></a>
|
699 |
-
</div>
|
700 |
</div>
|
701 |
-
|
702 |
-
}
|
703 |
}
|
704 |
} ?>
|
705 |
<div class="clear"></div>
|
@@ -707,15 +595,7 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
|
|
707 |
<h4 class="bws_recommended"><?php _e( 'Recommended plugins', 'bestwebsoft' ); ?></h4>
|
708 |
<?php foreach ( $recommend_plugins as $key_plugin => $value_plugin ) {
|
709 |
|
710 |
-
if ( isset( $
|
711 |
-
$key_plugin_explode = explode( '-plugin-pro/', $key_plugin );
|
712 |
-
if ( isset( $key_plugin_explode[1] ) )
|
713 |
-
$icon = $key_plugin_explode[0];
|
714 |
-
else {
|
715 |
-
$key_plugin_explode = explode( '-pro/', $key_plugin );
|
716 |
-
$icon = $key_plugin_explode[0];
|
717 |
-
}
|
718 |
-
} elseif ( isset( $bws_plugins[ $key_plugin ] ) ) {
|
719 |
$key_plugin_explode = explode( '-plugin/', $key_plugin );
|
720 |
if ( isset( $key_plugin_explode[1] ) )
|
721 |
$icon = $key_plugin_explode[0];
|
@@ -729,28 +609,28 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
|
|
729 |
<div class="bws_product_title"><?php echo $value_plugin["name"]; ?></div>
|
730 |
<div class="bws_product_content">
|
731 |
<div class="bws_product_icon">
|
732 |
-
<?php if ( isset( $bws_plugins[ $key_plugin ]['pro_version'] )
|
733 |
<div class="bws_product_icon_pro">PRO</div>
|
734 |
<?php } ?>
|
735 |
<img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
|
736 |
</div>
|
737 |
<div class="bws_product_description"><?php echo $bws_plugins[ $key_plugin ]["description"]; ?></div>
|
738 |
</div>
|
739 |
-
<?php if ( isset( $bws_plugins[ $key_plugin ][
|
740 |
-
<a class="bws_product_button" href="<?php echo $
|
741 |
-
<?php
|
742 |
</a>
|
743 |
<?php } else { ?>
|
744 |
<a class="bws_product_button bws_donate_button" href="<?php echo $bws_donate_link; ?>" target="_blank">
|
745 |
-
<strong><?php
|
746 |
</a>
|
747 |
<?php } ?>
|
748 |
</div>
|
749 |
<div class="clear"></div>
|
750 |
<div class="bws_product_links">
|
751 |
-
<a href="<?php echo $bws_plugins[ $key_plugin ]["link"]; ?>" target="_blank"><?php
|
752 |
<span> | </span>
|
753 |
-
<a href="<?php echo $bws_plugins[ $key_plugin ]["wp_install"]; ?>" target="_blank"><?php
|
754 |
</div>
|
755 |
</div>
|
756 |
<?php }
|
1 |
<?php
|
2 |
/*
|
3 |
* Function for displaying BestWebSoft menu
|
4 |
+
* Version: 1.3.8
|
5 |
*/
|
6 |
|
7 |
if ( ! function_exists( 'bws_add_menu_render' ) ) {
|
17 |
'captcha/captcha.php' => array(
|
18 |
'name' => 'Captcha',
|
19 |
'description' => 'Plugin intended to prove that the visitor is a human being and not a spam robot.',
|
20 |
+
'link' => 'http://bestwebsoft.com/products/captcha/?k=d678516c0990e781edfb6a6c874f0b8a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
21 |
+
'download' => 'http://bestwebsoft.com/products/captcha/download/?k=d678516c0990e781edfb6a6c874f0b8a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
22 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Captcha+bestwebsoft&plugin-search-input=Search+Plugins',
|
23 |
'settings' => 'admin.php?page=captcha.php',
|
24 |
+
'pro_version' => 'captcha-pro/captcha_pro.php',
|
25 |
+
'purchase' => 'http://bestwebsoft.com/products/captcha/buy/?k=ff7d65e55e5e7f98f219be9ed711094e&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
26 |
+
'pro_settings' => 'admin.php?page=captcha_pro.php'
|
27 |
),
|
28 |
'contact-form-plugin/contact_form.php' => array(
|
29 |
+
'name' => 'Contact Form',
|
30 |
'description' => 'Add Contact Form to your WordPress website.',
|
31 |
+
'link' => 'http://bestwebsoft.com/products/contact-form/?k=012327ef413e5b527883e031d43b088b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
32 |
+
'download' => 'http://bestwebsoft.com/products/contact-form/download/?k=012327ef413e5b527883e031d43b088b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
33 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Contact+Form+bestwebsoft&plugin-search-input=Search+Plugins',
|
34 |
'settings' => 'admin.php?page=contact_form.php',
|
35 |
+
'pro_version' => 'contact-form-pro/contact_form_pro.php',
|
36 |
+
'purchase' => 'http://bestwebsoft.com/products/contact-form/buy/?k=773dc97bb3551975db0e32edca1a6d71&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
37 |
+
'pro_settings' => 'admin.php?page=contact_form_pro.php'
|
38 |
),
|
39 |
'facebook-button-plugin/facebook-button-plugin.php' => array(
|
40 |
'name' => 'Facebook Like Button',
|
41 |
'description' => 'Allows you to add the Follow and Like buttons the easiest way.',
|
42 |
+
'link' => 'http://bestwebsoft.com/products/facebook-like-button/?k=05ec4f12327f55848335802581467d55&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
43 |
+
'download' => 'http://bestwebsoft.com/products/facebook-like-button/download/?k=05ec4f12327f55848335802581467d55&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
44 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Facebook+Like+Button+Plugin+bestwebsoft&plugin-search-input=Search+Plugins',
|
45 |
'settings' => 'admin.php?page=facebook-button-plugin.php',
|
46 |
+
'pro_version' => 'facebook-button-pro/facebook-button-pro.php',
|
47 |
+
'purchase' => 'http://bestwebsoft.com/products/facebook-like-button/buy/?k=8da168e60a831cfb3525417c333ad275&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
48 |
+
'pro_settings' => 'admin.php?page=facebook-button-pro.php'
|
49 |
),
|
50 |
'twitter-plugin/twitter.php' => array(
|
51 |
'name' => 'Twitter',
|
52 |
'description' => 'Allows you to add the Twitter "Follow" and "Like" buttons the easiest way.',
|
53 |
+
'link' => 'http://bestwebsoft.com/products/twitter/?k=f8cb514e25bd7ec4974d64435c5eb333&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
54 |
+
'download' => 'http://bestwebsoft.com/products/twitter/download/?k=f8cb514e25bd7ec4974d64435c5eb333&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
55 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Twitter+Plugin+bestwebsoft&plugin-search-input=Search+Plugins',
|
56 |
'settings' => 'admin.php?page=twitter.php',
|
57 |
+
'pro_version' => 'twitter-pro/twitter-pro.php',
|
58 |
+
'purchase' => 'http://bestwebsoft.com/products/twitter/buy/?k=63ecbf0cc9cebf060b5a3c9362299700&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
59 |
+
'pro_settings' => 'admin.php?page=twitter-pro.php'
|
60 |
),
|
61 |
'portfolio/portfolio.php' => array(
|
62 |
'name' => 'Portfolio',
|
63 |
'description' => 'Allows you to create a page with the information about your past projects.',
|
64 |
+
'link' => 'http://bestwebsoft.com/products/portfolio/?k=1249a890c5b7bba6bda3f528a94f768b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
65 |
+
'download' => 'http://bestwebsoft.com/products/portfolio/download/?k=1249a890c5b7bba6bda3f528a94f768b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
66 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Portfolio+bestwebsoft&plugin-search-input=Search+Plugins',
|
67 |
'settings' => 'admin.php?page=portfolio.php'
|
68 |
),
|
69 |
'gallery-plugin/gallery-plugin.php' => array(
|
70 |
'name' => 'Gallery',
|
71 |
'description' => 'Allows you to implement a Gallery page into your website.',
|
72 |
+
'link' => 'http://bestwebsoft.com/products/gallery/?k=2da21c0a64eec7ebf16337fa134c5f78&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
73 |
+
'download' => 'http://bestwebsoft.com/products/gallery/download/?k=2da21c0a64eec7ebf16337fa134c5f78&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
74 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Gallery+Plugin+bestwebsoft&plugin-search-input=Search+Plugins',
|
75 |
'settings' => 'admin.php?page=gallery-plugin.php',
|
76 |
+
'pro_version' => 'gallery-plugin-pro/gallery-plugin-pro.php',
|
77 |
+
'purchase' => 'http://bestwebsoft.com/products/gallery/buy/?k=382e5ce7c96a6391f5ffa5e116b37fe0&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
78 |
+
'pro_settings' => 'admin.php?page=gallery-plugin-pro.php'
|
79 |
),
|
80 |
'adsense-plugin/adsense-plugin.php'=> array(
|
81 |
'name' => 'Google AdSense',
|
82 |
'description' => 'Allows Google AdSense implementation to your website.',
|
83 |
+
'link' => 'http://bestwebsoft.com/products/google-adsense/?k=60e3979921e354feb0347e88e7d7b73d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
84 |
+
'download' => 'http://bestwebsoft.com/products/google-adsense/download/?k=60e3979921e354feb0347e88e7d7b73d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
85 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Adsense+Plugin+bestwebsoft&plugin-search-input=Search+Plugins',
|
86 |
'settings' => 'admin.php?page=adsense-plugin.php'
|
87 |
),
|
88 |
'custom-search-plugin/custom-search-plugin.php'=> array(
|
89 |
'name' => 'Custom Search',
|
90 |
'description' => 'Allows to extend your website search functionality by adding a custom post type.',
|
91 |
+
'link' => 'http://bestwebsoft.com/products/custom-search/?k=933be8f3a8b8719d95d1079d15443e29&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
92 |
+
'download' => 'http://bestwebsoft.com/products/custom-search/download/?k=933be8f3a8b8719d95d1079d15443e29&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
93 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Custom+Search+plugin+bestwebsoft&plugin-search-input=Search+Plugins',
|
94 |
'settings' => 'admin.php?page=custom_search.php'
|
95 |
),
|
96 |
'quotes-and-tips/quotes-and-tips.php'=> array(
|
97 |
'name' => 'Quotes and Tips',
|
98 |
'description' => 'Allows you to implement quotes & tips block into your web site.',
|
99 |
+
'link' => 'http://bestwebsoft.com/products/quotes-and-tips/?k=5738a4e85a798c4a5162240c6515098d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
100 |
+
'download' => 'http://bestwebsoft.com/products/quotes-and-tips/download/?k=5738a4e85a798c4a5162240c6515098d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
101 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Quotes+and+Tips+bestwebsoft&plugin-search-input=Search+Plugins',
|
102 |
'settings' => 'admin.php?page=quotes-and-tips.php'
|
103 |
),
|
104 |
'google-sitemap-plugin/google-sitemap-plugin.php'=> array(
|
105 |
'name' => 'Google Sitemap',
|
106 |
'description' => 'Allows you to add sitemap file to Google Webmaster Tools.',
|
107 |
+
'link' => 'http://bestwebsoft.com/products/google-sitemap/?k=5202b2f5ce2cf85daee5e5f79a51d806&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
108 |
+
'download' => 'http://bestwebsoft.com/products/google-sitemap/download/?k=5202b2f5ce2cf85daee5e5f79a51d806&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
109 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Google+sitemap+plugin+bestwebsoft&plugin-search-input=Search+Plugins',
|
110 |
'settings' => 'admin.php?page=google-sitemap-plugin.php',
|
111 |
+
'pro_version' => 'google-sitemap-pro/google-sitemap-pro.php',
|
112 |
+
'purchase' => 'http://bestwebsoft.com/products/google-sitemap/buy/?k=7ea384a5cc36cb4c22741caa20dcd56d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
113 |
+
'pro_settings' => 'admin.php?page=google-sitemap-pro.php'
|
114 |
),
|
115 |
'updater/updater.php'=> array(
|
116 |
'name' => 'Updater',
|
117 |
'description' => 'Allows you to update plugins and WP core.',
|
118 |
+
'link' => 'http://bestwebsoft.com/products/updater/?k=66f3ecd4c1912009d395c4bb30f779d1&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
119 |
+
'download' => 'http://bestwebsoft.com/products/updater/download/?k=66f3ecd4c1912009d395c4bb30f779d1&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
120 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=updater+bestwebsoft&plugin-search-input=Search+Plugins',
|
121 |
'settings' => 'admin.php?page=updater-options',
|
122 |
+
'pro_version' => 'updater-pro/updater_pro.php',
|
123 |
+
'purchase' => 'http://bestwebsoft.com/products/updater/buy/?k=cf633acbefbdff78545347fe08a3aecb&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
124 |
+
'pro_settings' => 'admin.php?page=updater-pro-options'
|
125 |
),
|
126 |
'custom-fields-search/custom-fields-search.php'=> array(
|
127 |
'name' => 'Custom Fields Search',
|
128 |
'description' => 'Allows you to add website search any existing custom fields.',
|
129 |
+
'link' => 'http://bestwebsoft.com/products/custom-fields-search/?k=f3f8285bb069250c42c6ffac95ed3284&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
130 |
+
'download' => 'http://bestwebsoft.com/products/custom-fields-search/download/?k=f3f8285bb069250c42c6ffac95ed3284&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
131 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Custom+Fields+Search+bestwebsoft&plugin-search-input=Search+Plugins',
|
132 |
'settings' => 'admin.php?page=custom_fields_search.php'
|
133 |
),
|
134 |
'google-one/google-plus-one.php' => array(
|
135 |
'name' => 'Google +1',
|
136 |
'description' => 'Allows you to see how many times your page has been liked on Google Search Engine as well as who has liked the article.',
|
137 |
+
'link' => 'http://bestwebsoft.com/products/google-plus-one/?k=ce7a88837f0a857b3a2bb142f470853c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
138 |
+
'download' => 'http://bestwebsoft.com/products/google-plus-one/download/?k=ce7a88837f0a857b3a2bb142f470853c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
139 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Google+%2B1+bestwebsoft&plugin-search-input=Search+Plugins',
|
140 |
'settings' => 'admin.php?page=google-plus-one.php',
|
141 |
+
'pro_version' => 'google-one-pro/google-plus-one-pro.php',
|
142 |
+
'purchase' => 'http://bestwebsoft.com/products/google-plus-one/buy/?k=f4b0a62d155c9df9601a0531ad5bd832&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
143 |
+
'pro_settings' => 'admin.php?page=google-plus-one-pro.php'
|
144 |
),
|
145 |
'relevant/related-posts-plugin.php' => array(
|
146 |
'name' => 'Relevant - Related Posts',
|
147 |
'description' => 'Allows you to display related posts with similar words in category, tags, title or by adding special meta key for posts.',
|
148 |
+
'link' => 'http://bestwebsoft.com/products/related-posts/?k=73fb737037f7141e66415ec259f7e426&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
149 |
+
'download' => 'http://bestwebsoft.com/products/related-posts/download/?k=73fb737037f7141e66415ec259f7e426&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
150 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Related+Posts+Plugin+Bestwebsoft&plugin-search-input=Search+Plugins',
|
151 |
'settings' => 'admin.php?page=related-posts-plugin.php'
|
152 |
),
|
153 |
'contact-form-to-db/contact_form_to_db.php' => array(
|
154 |
'name' => 'Contact Form To DB',
|
155 |
'description' => 'Allows you to manage the messages that have been sent from your site.',
|
156 |
+
'link' => 'http://bestwebsoft.com/products/contact-form-to-db/?k=ba3747d317c2692e4136ca096a8989d6&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
157 |
+
'download' => 'http://bestwebsoft.com/products/contact-form-to-db/download/?k=ba3747d317c2692e4136ca096a8989d6&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
158 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Contact+Form+to+DB+bestwebsoft&plugin-search-input=Search+Plugins',
|
159 |
'settings' => 'admin.php?page=cntctfrmtdb_settings',
|
160 |
+
'pro_version' => 'contact-form-to-db-pro/contact_form_to_db_pro.php',
|
161 |
+
'purchase' => 'http://bestwebsoft.com/products/contact-form-to-db/buy/?k=6ce5f4a9006ec906e4db643669246c6a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
162 |
+
'pro_settings' => 'admin.php?page=cntctfrmtdbpr_settings'
|
163 |
),
|
164 |
'pdf-print/pdf-print.php' => array(
|
165 |
'name' => 'PDF & Print',
|
166 |
'description' => 'Allows you to create PDF and Print page with adding appropriate buttons to the content.',
|
167 |
+
'link' => 'http://bestwebsoft.com/products/pdf-print/?k=bfefdfb522a4c0ff0141daa3f271840c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
168 |
+
'download' => 'http://bestwebsoft.com/products/pdf-print/download/?k=bfefdfb522a4c0ff0141daa3f271840c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
169 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=PDF+Print+Bestwebsoft&plugin-search-input=Search+Plugins',
|
170 |
'settings' => 'admin.php?page=pdf-print.php',
|
171 |
+
'pro_version' => 'pdf-print-pro/pdf-print-pro.php',
|
172 |
+
'purchase' => 'http://bestwebsoft.com/products/pdf-print/buy/?k=fd43a0e659ddc170a9060027cbfdcc3a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
173 |
+
'pro_settings' => 'admin.php?page=pdf-print-pro.php'
|
174 |
),
|
175 |
'donate-button/donate.php' => array(
|
176 |
'name' => 'Donate',
|
177 |
'description' => 'Makes it possible to place donation buttons of various payment systems on your web page.',
|
178 |
+
'link' => 'http://bestwebsoft.com/products/donate/?k=a8b2e2a56914fb1765dd20297c26401b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
179 |
+
'download' => 'http://bestwebsoft.com/products/donate/download/?k=a8b2e2a56914fb1765dd20297c26401b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
180 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Donate+Bestwebsoft&plugin-search-input=Search+Plugins',
|
181 |
'settings' => 'admin.php?page=donate.php'
|
182 |
),
|
183 |
'post-to-csv/post-to-csv.php' => array(
|
184 |
'name' => 'Post To CSV',
|
185 |
'description' => 'The plugin allows to export posts of any types to a csv file.',
|
186 |
+
'link' => 'http://bestwebsoft.com/products/post-to-csv/?k=653aa55518ae17409293a7a894268b8f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
187 |
+
'download' => 'http://bestwebsoft.com/products/post-to-csv/download/?k=653aa55518ae17409293a7a894268b8f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
188 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Post+To+CSV+Bestwebsoft&plugin-search-input=Search+Plugins',
|
189 |
'settings' => 'admin.php?page=post-to-csv.php'
|
190 |
),
|
191 |
'google-shortlink/google-shortlink.php' => array(
|
192 |
'name' => 'Google Shortlink',
|
193 |
'description' => 'Allows you to get short links from goo.gl servise without leaving your site.',
|
194 |
+
'link' => 'http://bestwebsoft.com/products/google-shortlink/?k=afcf3eaed021bbbbeea1090e16bc22db&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
195 |
+
'download' => 'http://bestwebsoft.com/products/google-shortlink/download/?k=afcf3eaed021bbbbeea1090e16bc22db&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
196 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Google+Shortlink+Bestwebsoft&plugin-search-input=Search+Plugins',
|
197 |
'settings' => 'admin.php?page=gglshrtlnk_options'
|
198 |
),
|
199 |
'htaccess/htaccess.php' => array(
|
200 |
'name' => 'Htaccess',
|
201 |
'description' => 'Allows controlling access to your website using the directives Allow and Deny.',
|
202 |
+
'link' => 'http://bestwebsoft.com/products/htaccess/?k=2b865fcd56a935d22c5c4f1bba52ed46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
203 |
+
'download' => 'http://bestwebsoft.com/products/htaccess/download/?k=2b865fcd56a935d22c5c4f1bba52ed46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
204 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Htaccess+Bestwebsoft&plugin-search-input=Search+Plugins',
|
205 |
'settings' => 'admin.php?page=htaccess.php'
|
206 |
),
|
207 |
'google-captcha/google-captcha.php' => array(
|
208 |
'name' => 'Google Captcha (reCAPTCHA)',
|
209 |
'description' => 'Plugin intended to prove that the visitor is a human being and not a spam robot.',
|
210 |
+
'link' => 'http://bestwebsoft.com/products/google-captcha/?k=7b59fbe542acf950b29f3e020d5ad735&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
211 |
+
'download' => 'http://bestwebsoft.com/products/google-captcha/download/?k=7b59fbe542acf950b29f3e020d5ad735&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
212 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Google+Captcha+Bestwebsoft&plugin-search-input=Search+Plugins',
|
213 |
'settings' => 'admin.php?page=google-captcha.php'
|
214 |
),
|
215 |
'sender/sender.php' => array(
|
216 |
'name' => 'Sender',
|
217 |
'description' => 'You can send mails to all users or to certain categories of users.',
|
218 |
+
'link' => 'http://bestwebsoft.com/products/sender/?k=89c297d14ba85a8417a0f2fc05e089c7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
219 |
+
'download' => 'http://bestwebsoft.com/products/sender/download/?k=89c297d14ba85a8417a0f2fc05e089c7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
220 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Sender+Bestwebsoft&plugin-search-input=Search+Plugins',
|
221 |
'settings' => 'admin.php?page=sndr_settings',
|
222 |
+
'pro_version' => 'sender-pro/sender-pro.php',
|
223 |
+
'purchase' => 'http://bestwebsoft.com/products/sender/buy/?k=dc5d1a87bdc8aeab2de40ffb99b38054&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
224 |
+
'pro_settings' => 'admin.php?page=sndrpr_settings'
|
225 |
),
|
226 |
'subscriber/subscriber.php' => array(
|
227 |
'name' => 'Subscriber',
|
228 |
'description' => 'This plugin allows you to subscribe users for newsletters from your website.',
|
229 |
+
'link' => 'http://bestwebsoft.com/products/subscriber/?k=a4ecc1b7800bae7329fbe8b4b04e9c88&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
230 |
+
'download' => 'http://bestwebsoft.com/products/subscriber/download/?k=a4ecc1b7800bae7329fbe8b4b04e9c88&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
231 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Subscriber+Bestwebsoft&plugin-search-input=Search+Plugins',
|
232 |
'settings' => 'admin.php?page=sbscrbr_settings_page'
|
233 |
),
|
234 |
'contact-form-multi/contact-form-multi.php' => array(
|
235 |
'name' => 'Contact Form Multi',
|
236 |
'description' => 'This plugin allows you to subscribe users for newsletters from your website.',
|
237 |
+
'link' => 'http://bestwebsoft.com/products/contact-form-multi/?k=83cdd9e72a9f4061122ad28a67293c72&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
238 |
+
'download' => 'http://bestwebsoft.com/products/contact-form-multi/download/?k=83cdd9e72a9f4061122ad28a67293c72&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
239 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Contact+Form+Multi+Bestwebsoft&plugin-search-input=Search+Plugins',
|
240 |
'settings' => '',
|
241 |
+
'pro_version' => 'contact-form-multi-pro/contact-form-multi-pro.php',
|
242 |
+
'purchase' => 'http://bestwebsoft.com/products/contact-form-multi/buy/?k=fde3a18581c143654f060c398b07e8ac&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
243 |
+
'pro_settings' => ''
|
244 |
),
|
245 |
'bws-google-maps/bws-google-maps.php' => array(
|
246 |
'name' => 'BestWebSoft Google Maps',
|
247 |
'description' => 'Easy to set up and insert Google Maps to your website.',
|
248 |
+
'link' => 'http://bestwebsoft.com/products/bws-google-maps/?k=d8fac412d7359ebaa4ff53b46572f9f7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
249 |
+
'download' => 'http://bestwebsoft.com/products/bws-google-maps/download/?k=d8fac412d7359ebaa4ff53b46572f9f7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
250 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=BestWebSoft+Google+Maps&plugin-search-input=Search+Plugins',
|
251 |
'settings' => 'admin.php?page=bws-google-maps.php',
|
252 |
+
'pro_version' => 'bws-google-maps-pro/bws-google-maps-pro.php',
|
253 |
+
'purchase' => 'http://bestwebsoft.com/products/bws-google-maps/buy/?k=117c3f9fc17f2c83ef430a8a9dc06f56&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
254 |
+
'pro_settings' => 'admin.php?page=bws-google-maps-pro.php'
|
255 |
),
|
256 |
'bws-google-analytics/bws-google-analytics.php' => array(
|
257 |
'name' => 'BestWebSoft Google Analytics',
|
258 |
'description' => 'Allows you to retrieve basic stats from Google Analytics account and add the tracking code to your blog.',
|
259 |
+
'link' => 'http://bestwebsoft.com/products/bws-google-analytics/?k=261c74cad753fb279cdf5a5db63fbd43&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
260 |
+
'download' => 'http://bestwebsoft.com/products/bws-google-analytics/download/?k=261c74cad753fb279cdf5a5db63fbd43&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
261 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=BestWebSoft+Google+Analytics&plugin-search-input=Search+Plugins',
|
262 |
'settings' => 'admin.php?page=bws-google-analytics.php'
|
263 |
),
|
264 |
'db-manager/db-manager.php' => array(
|
265 |
'name' => 'DB manager',
|
266 |
'description' => 'Allows you to download the latest version of PhpMyadmin and Dumper and manage your site.',
|
267 |
+
'link' => 'http://bestwebsoft.com/products/db-manager/?k=01ed9731780d87f85f5901064b7d76d8&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
268 |
+
'download' => 'http://bestwebsoft.com/products/db-manager/download/?k=01ed9731780d87f85f5901064b7d76d8&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
269 |
+
'wp_install' => 'http://bestwebsoft.com/products/db-manager/download/?k=01ed9731780d87f85f5901064b7d76d8&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
270 |
'settings' => 'admin.php?page=db-manager.php'
|
271 |
),
|
272 |
'user-role/user-role.php' => array(
|
273 |
'name' => 'User Role',
|
274 |
'description' => 'Allows to change wordpress user role capabilities.',
|
275 |
+
'link' => 'http://bestwebsoft.com/products/user-role/?k=dfe2244835c6fbf601523964b3f34ccc&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
276 |
+
'download' => 'http://bestwebsoft.com/products/user-role/download/?k=dfe2244835c6fbf601523964b3f34ccc&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
277 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=User+Role+BestWebSoft&plugin-search-input=Search+Plugins',
|
278 |
'settings' => 'admin.php?page=user-role.php',
|
279 |
+
'pro_version' => 'user-role-pro/user-role-pro.php',
|
280 |
+
'purchase' => 'http://bestwebsoft.com/products/user-role/buy/?k=cfa9cea6613fb3d7c0a3622fa2faaf46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
281 |
+
'pro_settings' => 'admin.php?page=user-role-pro.php'
|
282 |
),
|
283 |
'email-queue/email-queue.php' => array(
|
284 |
'name' => 'Email Queue',
|
285 |
'description' => 'Allows to manage email massages sent by BestWebSoft plugins.',
|
286 |
+
'link' => 'http://bestwebsoft.com/products/email-queue/?k=e345e1b6623f0dca119bc2d9433b130b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
287 |
+
'download' => 'http://bestwebsoft.com/products/email-queue/download/?k=e345e1b6623f0dca119bc2d9433b130b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
288 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Email+Queue+BestWebSoft&plugin-search-input=Search+Plugins',
|
289 |
'settings' => 'admin.php?page=mlq_settings'
|
290 |
),
|
291 |
'limit-attempts/limit-attempts.php' => array(
|
292 |
'name' => 'Limit Attempts',
|
293 |
'description' => 'Allows you to limit rate of login attempts by the ip, and create whitelist and blacklist.',
|
294 |
+
'link' => 'http://bestwebsoft.com/products/limit-attempts/?k=b14e1697ee4d008abcd4bd34d492573a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
295 |
+
'download' => 'http://bestwebsoft.com/products/limit-attempts/download/?k=b14e1697ee4d008abcd4bd34d492573a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
296 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&s=Limit+Attempts+BestWebSoft&plugin-search-input=Search+Plugins',
|
297 |
'settings' => 'admin.php?page=limit-attempts.php',
|
298 |
+
'pro_version' => 'limit-attempts-pro/limit-attempts-pro.php',
|
299 |
+
'purchase' => 'http://bestwebsoft.com/products/limit-attempts/buy/?k=9d42cdf22c7fce2c4b6b447e6a2856e0&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
300 |
+
'pro_settings' => 'admin.php?page=limit-attempts-pro.php'
|
301 |
),
|
302 |
'job-board/job-board.php' => array(
|
303 |
'name' => 'Job board',
|
304 |
'description' => 'Allows to create a job-board page on your site.',
|
305 |
+
'link' => 'http://bestwebsoft.com/products/job-board/?k=b0c504c9ce6edd6692e04222af3fed6f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
306 |
+
'download' => 'http://bestwebsoft.com/products/job-board/download/?k=b0c504c9ce6edd6692e04222af3fed6f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
|
307 |
'wp_install' => '/wp-admin/plugin-install.php?tab=search&type=term&s=Job+board+BestWebSoft&plugin-search-input=Search+Plugins',
|
308 |
'settings' => 'admin.php?page=job-board.php'
|
309 |
)
|
310 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
311 |
|
312 |
$all_plugins = get_plugins();
|
313 |
$active_plugins = get_option( 'active_plugins' );
|
|
|
314 |
$recommend_plugins = array_diff_key( $bws_plugins, $all_plugins );
|
315 |
+
$bws_plugins_pro = array();
|
316 |
|
317 |
foreach ( $bws_plugins as $key_plugin => $value_plugin ) {
|
318 |
if ( ! isset( $all_plugins[ $key_plugin ] ) && isset( $bws_plugins[ $key_plugin ]['pro_version'] ) && isset( $all_plugins[ $bws_plugins[ $key_plugin ]['pro_version'] ] ) ) {
|
321 |
}
|
322 |
|
323 |
foreach ( $all_plugins as $key_plugin => $value_plugin ) {
|
324 |
+
if ( isset( $value_plugin['Author'] ) && $value_plugin['Author'] != "BestWebSoft" )
|
|
|
|
|
|
|
325 |
unset( $all_plugins[ $key_plugin ] );
|
326 |
+
else {
|
327 |
+
foreach ( $bws_plugins as $key => $value ) {
|
328 |
+
if ( isset( $value['pro_version'] ) && $value['pro_version'] == $key_plugin ) {
|
329 |
+
$bws_plugins_pro[ $key_plugin ] = $key;
|
330 |
+
unset( $all_plugins[ $key ] );
|
331 |
+
}
|
332 |
+
}
|
333 |
}
|
334 |
}
|
335 |
|
336 |
if ( isset( $_GET['action'] ) && 'system_status' == $_GET['action'] ) {
|
337 |
$all_plugins = get_plugins();
|
338 |
$active_plugins = get_option( 'active_plugins' );
|
|
|
339 |
$mysql_info = $wpdb->get_results( "SHOW VARIABLES LIKE 'sql_mode'" );
|
340 |
+
if ( is_array( $mysql_info ) )
|
341 |
$sql_mode = $mysql_info[0]->Value;
|
342 |
if ( empty( $sql_mode ) )
|
343 |
$sql_mode = __( 'Not set', 'bestwebsoft' );
|
344 |
+
|
345 |
+
$safe_mode = ( ini_get( 'safe_mode' ) ) ? __( 'On', 'bestwebsoft' ) : __( 'Off', 'bestwebsoft' );
|
346 |
+
$allow_url_fopen = ( ini_get( 'allow_url_fopen' ) ) ? __( 'On', 'bestwebsoft' ) : __( 'Off', 'bestwebsoft' );
|
347 |
+
$upload_max_filesize = ( ini_get( 'upload_max_filesize' ) )? ini_get( 'upload_max_filesize' ) : __( 'N/A', 'bestwebsoft' );
|
348 |
+
$post_max_size = ( ini_get( 'post_max_size' ) ) ? ini_get( 'post_max_size' ) : __( 'N/A', 'bestwebsoft' );
|
349 |
+
$max_execution_time = ( ini_get( 'max_execution_time' ) ) ? ini_get( 'max_execution_time' ) : __( 'N/A', 'bestwebsoft' );
|
350 |
+
$memory_limit = ( ini_get( 'memory_limit' ) ) ? ini_get( 'memory_limit' ) : __( 'N/A', 'bestwebsoft' );
|
351 |
+
$memory_usage = ( function_exists( 'memory_get_usage' ) ) ? round( memory_get_usage() / 1024 / 1024, 2 ) . __( ' Mb', 'bestwebsoft' ) : __( 'N/A', 'bestwebsoft' );
|
352 |
+
$exif_read_data = ( is_callable( 'exif_read_data' ) ) ? __( 'Yes', 'bestwebsoft' ) . " ( V" . substr( phpversion( 'exif' ), 0,4 ) . ")" : __( 'No', 'bestwebsoft' );
|
353 |
+
$iptcparse = ( is_callable( 'iptcparse' ) ) ? __( 'Yes', 'bestwebsoft' ) : __( 'No', 'bestwebsoft' );
|
354 |
+
$xml_parser_create = ( is_callable( 'xml_parser_create' ) ) ? __( 'Yes', 'bestwebsoft' ) : __( 'No', 'bestwebsoft' );
|
355 |
+
$theme = ( function_exists( 'wp_get_theme' ) ) ? wp_get_theme() : get_theme( get_current_theme() );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
356 |
|
357 |
if ( function_exists( 'is_multisite' ) ) {
|
358 |
+
if ( is_multisite() )
|
359 |
$multisite = __( 'Yes', 'bestwebsoft' );
|
360 |
+
else
|
361 |
$multisite = __( 'No', 'bestwebsoft' );
|
|
|
362 |
} else
|
363 |
$multisite = __( 'N/A', 'bestwebsoft' );
|
364 |
|
|
|
|
|
|
|
365 |
$system_info = array(
|
366 |
'system_info' => '',
|
367 |
'active_plugins' => '',
|
371 |
__( 'Operating System', 'bestwebsoft' ) => PHP_OS,
|
372 |
__( 'Server', 'bestwebsoft' ) => $_SERVER["SERVER_SOFTWARE"],
|
373 |
__( 'Memory usage', 'bestwebsoft' ) => $memory_usage,
|
374 |
+
__( 'MYSQL Version', 'bestwebsoft' ) => $wpdb->get_var( "SELECT VERSION() AS version" ),
|
375 |
__( 'SQL Mode', 'bestwebsoft' ) => $sql_mode,
|
376 |
__( 'PHP Version', 'bestwebsoft' ) => PHP_VERSION,
|
377 |
__( 'PHP Safe Mode', 'bestwebsoft' ) => $safe_mode,
|
383 |
__( 'PHP Exif support', 'bestwebsoft' ) => $exif_read_data,
|
384 |
__( 'PHP IPTC support', 'bestwebsoft' ) => $iptcparse,
|
385 |
__( 'PHP XML support', 'bestwebsoft' ) => $xml_parser_create,
|
386 |
+
__( 'Site URL', 'bestwebsoft' ) => get_option( 'siteurl' ),
|
387 |
+
__( 'Home URL', 'bestwebsoft' ) => get_option( 'home' ),
|
388 |
'$_SERVER[HTTP_HOST]' => $_SERVER['HTTP_HOST'],
|
389 |
'$_SERVER[SERVER_NAME]' => $_SERVER['SERVER_NAME'],
|
390 |
__( 'WordPress Version', 'bestwebsoft' ) => $wp_version,
|
391 |
+
__( 'WordPress DB Version', 'bestwebsoft' ) => get_option( 'db_version' ),
|
392 |
__( 'Multisite', 'bestwebsoft' ) => $multisite,
|
393 |
__( 'Active Theme', 'bestwebsoft' ) => $theme['Name'] . ' ' . $theme['Version']
|
394 |
);
|
395 |
foreach ( $all_plugins as $path => $plugin ) {
|
396 |
+
if ( is_plugin_active( $path ) )
|
397 |
$system_info['active_plugins'][ $plugin['Name'] ] = $plugin['Version'];
|
398 |
+
else
|
399 |
$system_info['inactive_plugins'][ $plugin['Name'] ] = $plugin['Version'];
|
|
|
400 |
}
|
401 |
}
|
402 |
|
451 |
} ?>
|
452 |
<div class="wrap">
|
453 |
<div class="icon32 icon32-bws" id="icon-options-general"></div>
|
454 |
+
<h2>
|
455 |
+
<span class="bws_main title">BestWebSoft</span>
|
456 |
+
<ul class="subsubsub bws_title_menu">
|
457 |
+
<li><a href="http://support.bestwebsoft.com/home" target="_blank"><?php _e( 'Need help?', 'bestwebsoft' ); ?></a></li> |
|
458 |
+
<li><a href="http://bestwebsoft.com/wp-login.php" target="_blank"><?php _e( 'Client area', 'bestwebsoft' ); ?></a></li>
|
459 |
+
<li><a class="bws_system_status <?php if ( isset( $_GET['action'] ) && 'system_status' == $_GET['action'] ) echo ' nav-tab-active'; ?>" href="admin.php?page=bws_plugins&action=system_status"><?php _e( 'System status', 'bestwebsoft' ); ?></a></li>
|
460 |
+
</ul>
|
461 |
+
<div class="clear"></div>
|
462 |
+
</h2>
|
463 |
<h2 class="nav-tab-wrapper">
|
464 |
<a class="nav-tab<?php if ( !isset( $_GET['action'] ) ) echo ' nav-tab-active'; ?>" href="admin.php?page=bws_plugins"><?php _e( 'Plugins', 'bestwebsoft' ); ?></a>
|
465 |
<?php if ( $wp_version >= '3.4' ) { ?>
|
466 |
<a class="nav-tab<?php if ( isset( $_GET['action'] ) && 'themes' == $_GET['action'] ) echo ' nav-tab-active'; ?>" href="admin.php?page=bws_plugins&action=themes"><?php _e( 'Themes', 'bestwebsoft' ); ?></a>
|
467 |
<?php } ?>
|
|
|
468 |
</h2>
|
469 |
+
<?php if ( ! isset( $_GET['action'] ) ) { ?>
|
470 |
<ul class="subsubsub">
|
471 |
<li><a <?php if ( !isset( $_GET['sub'] ) ) echo 'class="current" '; ?>href="admin.php?page=bws_plugins"><?php _e( 'All', 'bestwebsoft' ); ?></a></li> |
|
472 |
<li><a <?php if ( isset( $_GET['sub'] ) && 'installed' == $_GET['sub'] ) echo 'class="current" '; ?>href="admin.php?page=bws_plugins&sub=installed"><?php _e( 'Installed', 'bestwebsoft' ); ?></a></li> |
|
476 |
<?php if ( ( isset( $_GET['sub'] ) && 'installed' == $_GET['sub'] ) || !isset( $_GET['sub'] ) ) { ?>
|
477 |
<h4 class="bws_installed"><?php _e( 'Installed plugins', 'bestwebsoft' ); ?></h4>
|
478 |
<?php foreach ( $all_plugins as $key_plugin => $value_plugin ) {
|
479 |
+
if ( isset( $bws_plugins_pro[ $key_plugin ] ) )
|
480 |
+
$key_plugin = $bws_plugins_pro[ $key_plugin ];
|
481 |
+
|
482 |
+
if ( isset( $bws_plugins[ $key_plugin ] ) ) {
|
|
|
|
|
|
|
|
|
|
|
483 |
$key_plugin_explode = explode( '-plugin/', $key_plugin );
|
484 |
if ( isset( $key_plugin_explode[1] ) )
|
485 |
$icon = $key_plugin_explode[0];
|
487 |
$key_plugin_explode = explode( '/', $key_plugin );
|
488 |
$icon = $key_plugin_explode[0];
|
489 |
}
|
490 |
+
}
|
491 |
|
492 |
+
if ( isset( $bws_plugins[ $key_plugin ]['pro_version'] ) && ( in_array( $bws_plugins[ $key_plugin ]['pro_version'], $active_plugins ) || is_plugin_active_for_network( $bws_plugins[ $key_plugin ]['pro_version'] ) ) ) { ?>
|
493 |
+
<div class="bws_product_box bws_exist_overlay">
|
494 |
+
<div class="bws_product">
|
495 |
+
<div class="bws_product_title"><?php echo $value_plugin["Name"]; ?></div>
|
496 |
+
<div class="bws_product_content">
|
497 |
+
<div class="bws_product_icon">
|
498 |
+
<div class="bws_product_icon_pro">PRO</div>
|
499 |
+
<img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
|
500 |
+
</div>
|
501 |
+
<div class="bws_product_description"><?php echo $value_plugin["Description"]; ?></div>
|
502 |
+
</div>
|
503 |
+
<div class="clear"></div>
|
504 |
+
</div>
|
505 |
+
<div class="bws_product_links">
|
506 |
+
<a href="<?php echo $bws_plugins[ $key_plugin ]["link"]; ?>" target="_blank"><?php _e( "Learn more", 'bestwebsoft' ); ?></a>
|
507 |
+
<?php if ( '' != $bws_plugins[ $key_plugin ]["pro_settings"] ) { ?>
|
508 |
+
<span> | </span>
|
509 |
+
<a href="<?php echo $bws_plugins[ $key_plugin ]["pro_settings"]; ?>" target="_blank"><?php _e( "Settings", 'bestwebsoft' ); ?></a>
|
510 |
+
<?php } ?>
|
511 |
+
</div>
|
512 |
+
</div>
|
513 |
+
<?php } elseif ( in_array( $key_plugin, $active_plugins ) || is_plugin_active_for_network( $key_plugin ) ) {
|
514 |
+
if ( isset( $bws_plugins[ $key_plugin ]['pro_version'] ) && isset( $all_plugins[ $bws_plugins[ $key_plugin ]['pro_version'] ] ) ) { ?>
|
515 |
+
<div class="bws_product_box bws_product_deactivated">
|
516 |
<div class="bws_product">
|
517 |
<div class="bws_product_title"><?php echo $value_plugin["Name"]; ?></div>
|
518 |
<div class="bws_product_content">
|
519 |
<div class="bws_product_icon">
|
520 |
<div class="bws_product_icon_pro">PRO</div>
|
521 |
+
<img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
|
522 |
+
</div>
|
523 |
+
<div class="bws_product_description"><?php echo $bws_plugins[ $key_plugin ]["description"]; ?></div>
|
524 |
</div>
|
525 |
<div class="clear"></div>
|
526 |
+
</div>
|
527 |
+
<div class="bws_product_links">
|
528 |
+
<a href="<?php echo $bws_plugins[ $key_plugin ]["link"]; ?>" target="_blank"><?php _e( "Learn more", 'bestwebsoft' ); ?></a>
|
529 |
+
<span> | </span>
|
530 |
+
<a class="bws_activate" href="plugins.php" title="<?php _e( "Activate this plugin", 'bestwebsoft' ); ?>" target="_blank"><?php _e( "Activate", 'bestwebsoft' ); ?></a>
|
|
|
|
|
531 |
</div>
|
532 |
</div>
|
533 |
+
<?php } else { ?>
|
534 |
<div class="bws_product_box bws_product_free">
|
535 |
<div class="bws_product">
|
536 |
<div class="bws_product_title"><?php echo $value_plugin["Name"]; ?></div>
|
540 |
</div>
|
541 |
<div class="bws_product_description"><?php echo $bws_plugins[ $key_plugin ]["description"]; ?></div>
|
542 |
</div>
|
543 |
+
<?php if ( isset( $bws_plugins[ $key_plugin ]["purchase"] ) ) { ?>
|
544 |
+
<a class="bws_product_button" href="<?php echo $bws_plugins[ $key_plugin ]["purchase"]; ?>" target="_blank">
|
545 |
<?php _e( 'Go', 'bestwebsoft' );?> <strong>PRO</strong>
|
546 |
</a>
|
547 |
<?php } else { ?>
|
560 |
</div>
|
561 |
</div>
|
562 |
<?php }
|
563 |
+
} elseif ( isset( $bws_plugins[ $key_plugin ] ) ) { ?>
|
564 |
+
<div class="bws_product_box bws_product_deactivated bws_product_free">
|
565 |
+
<div class="bws_product">
|
566 |
+
<div class="bws_product_title"><?php echo $value_plugin["Name"]; ?></div>
|
567 |
+
<div class="bws_product_content">
|
568 |
+
<div class="bws_product_icon">
|
569 |
+
<img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
|
|
|
|
|
|
|
|
|
570 |
</div>
|
571 |
+
<div class="bws_product_description"><?php echo $bws_plugins[ $key_plugin ]["description"]; ?></div>
|
|
|
|
|
|
|
|
|
|
|
572 |
</div>
|
573 |
+
<?php if ( isset( $bws_plugins[ $key_plugin ]["purchase"] ) ) { ?>
|
574 |
+
<a class="bws_product_button" href="<?php echo $bws_plugins[ $key_plugin ]["purchase"]; ?>" target="_blank">
|
575 |
+
<?php _e( 'Go', 'bestwebsoft' );?> <strong>PRO</strong>
|
576 |
+
</a>
|
577 |
+
<?php } else { ?>
|
578 |
+
<a class="bws_product_button bws_donate_button" href="<?php echo $bws_donate_link; ?>" target="_blank">
|
579 |
+
<strong><?php _e( 'DONATE', 'bestwebsoft' );?></strong>
|
580 |
+
</a>
|
581 |
+
<?php } ?>
|
582 |
+
<div class="clear"></div>
|
583 |
</div>
|
584 |
+
<div class="bws_product_links">
|
585 |
+
<a href="<?php echo $bws_plugins[ $key_plugin ]["link"]; ?>" target="_blank"><?php _e( "Learn more", 'bestwebsoft' ); ?></a>
|
586 |
+
<span> | </span>
|
587 |
+
<a class="bws_activate" href="plugins.php" title="<?php _e( "Activate this plugin", 'bestwebsoft' ); ?>" target="_blank"><?php _e( "Activate", 'bestwebsoft' ); ?></a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
588 |
</div>
|
589 |
+
</div>
|
590 |
+
<?php }
|
591 |
}
|
592 |
} ?>
|
593 |
<div class="clear"></div>
|
595 |
<h4 class="bws_recommended"><?php _e( 'Recommended plugins', 'bestwebsoft' ); ?></h4>
|
596 |
<?php foreach ( $recommend_plugins as $key_plugin => $value_plugin ) {
|
597 |
|
598 |
+
if ( isset( $bws_plugins[ $key_plugin ] ) ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
599 |
$key_plugin_explode = explode( '-plugin/', $key_plugin );
|
600 |
if ( isset( $key_plugin_explode[1] ) )
|
601 |
$icon = $key_plugin_explode[0];
|
609 |
<div class="bws_product_title"><?php echo $value_plugin["name"]; ?></div>
|
610 |
<div class="bws_product_content">
|
611 |
<div class="bws_product_icon">
|
612 |
+
<?php if ( isset( $bws_plugins[ $key_plugin ]['pro_version'] ) ) { ?>
|
613 |
<div class="bws_product_icon_pro">PRO</div>
|
614 |
<?php } ?>
|
615 |
<img src="<?php echo plugins_url( "icons/" , __FILE__ ) . $icon . '.png'; ?>"/>
|
616 |
</div>
|
617 |
<div class="bws_product_description"><?php echo $bws_plugins[ $key_plugin ]["description"]; ?></div>
|
618 |
</div>
|
619 |
+
<?php if ( isset( $bws_plugins[ $key_plugin ]["pro_version"] ) ) { ?>
|
620 |
+
<a class="bws_product_button" href="<?php echo $bws_plugins[ $key_plugin ]["purchase"]; ?>" target="_blank">
|
621 |
+
<?php _e( 'Go', 'bestwebsoft' ); ?> <strong>PRO</strong>
|
622 |
</a>
|
623 |
<?php } else { ?>
|
624 |
<a class="bws_product_button bws_donate_button" href="<?php echo $bws_donate_link; ?>" target="_blank">
|
625 |
+
<strong><?php _e( 'DONATE', 'bestwebsoft' ); ?></strong>
|
626 |
</a>
|
627 |
<?php } ?>
|
628 |
</div>
|
629 |
<div class="clear"></div>
|
630 |
<div class="bws_product_links">
|
631 |
+
<a href="<?php echo $bws_plugins[ $key_plugin ]["link"]; ?>" target="_blank"><?php _e( "Learn more", 'bestwebsoft' ); ?></a>
|
632 |
<span> | </span>
|
633 |
+
<a href="<?php echo $bws_plugins[ $key_plugin ]["wp_install"]; ?>" target="_blank"><?php _e( "Install now", 'bestwebsoft' ); ?></a>
|
634 |
</div>
|
635 |
</div>
|
636 |
<?php }
|
bws_menu/css/general_style.css
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
#adminmenu #toplevel_page_bws_plugins.wp-not-current-submenu div.wp-menu-image {
|
8 |
opacity: 0.7;
|
9 |
}
|
10 |
-
#toplevel_page_bws_plugins .wp-submenu .wp-first-item {
|
11 |
display: none;
|
12 |
}
|
13 |
/*
|
7 |
#adminmenu #toplevel_page_bws_plugins.wp-not-current-submenu div.wp-menu-image {
|
8 |
opacity: 0.7;
|
9 |
}
|
10 |
+
.sticky-menu #toplevel_page_bws_plugins .wp-submenu .wp-first-item {
|
11 |
display: none;
|
12 |
}
|
13 |
/*
|
bws_menu/css/style.css
CHANGED
@@ -153,6 +153,21 @@ h4.bws_installed:before {
|
|
153 |
background: #D69108 !important;
|
154 |
}
|
155 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
/* theme page after WP 3.9 */
|
157 |
.toplevel_page_bws_plugins #availablethemes .theme-browser {
|
158 |
margin-top: 25px;
|
153 |
background: #D69108 !important;
|
154 |
}
|
155 |
|
156 |
+
.subsubsub.bws_title_menu {
|
157 |
+
float: right;
|
158 |
+
margin: 0;
|
159 |
+
}
|
160 |
+
.subsubsub a.bws_system_status {
|
161 |
+
display: inline-block;
|
162 |
+
background: url("../images/system-status.png") no-repeat scroll 10px 7px #0074a2;
|
163 |
+
color: #fff;
|
164 |
+
padding: 2px 10px 5px 36px;
|
165 |
+
border-radius: 2px;
|
166 |
+
margin-left: 13px;
|
167 |
+
}
|
168 |
+
.subsubsub a.bws_system_status:hover {
|
169 |
+
background-color: #529FBD;
|
170 |
+
}
|
171 |
/* theme page after WP 3.9 */
|
172 |
.toplevel_page_bws_plugins #availablethemes .theme-browser {
|
173 |
margin-top: 25px;
|
bws_menu/icons/bws-google-analytics.png
CHANGED
File without changes
|
bws_menu/icons/bws-google-maps.png
CHANGED
File without changes
|
bws_menu/icons/contact-form-multi.png
CHANGED
File without changes
|
bws_menu/icons/db-manager.png
CHANGED
File without changes
|
bws_menu/icons/subscriber.png
CHANGED
File without changes
|
bws_menu/images/system-status.png
ADDED
Binary file
|
google-captcha.php
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Google Captcha (reCAPTCHA)
|
4 |
-
Plugin URI: http://bestwebsoft.com/
|
5 |
Description: Plugin Google Captcha intended to prove that the visitor is a human being and not a spam robot.
|
6 |
Author: BestWebSoft
|
7 |
-
Version: 1.
|
8 |
Author URI: http://bestwebsoft.com/
|
9 |
License: GPLv3 or later
|
10 |
*/
|
@@ -76,15 +76,19 @@ if ( ! function_exists( 'google_capthca_admin_menu' ) ) {
|
|
76 |
}
|
77 |
|
78 |
/* Function check if plugin is compatible with current WP version */
|
79 |
-
if ( ! function_exists ( 'gglcptch_version_check' ) ) {
|
80 |
function gglcptch_version_check() {
|
81 |
global $wp_version, $gglcptch_plugin_info;
|
82 |
$require_wp = "3.0"; /* Wordpress at least requires version */
|
83 |
$plugin = plugin_basename( __FILE__ );
|
84 |
if ( version_compare( $wp_version, $require_wp, "<" ) ) {
|
|
|
85 |
if ( is_plugin_active( $plugin ) ) {
|
86 |
deactivate_plugins( $plugin );
|
87 |
-
|
|
|
|
|
|
|
88 |
}
|
89 |
}
|
90 |
}
|
@@ -92,9 +96,13 @@ if ( ! function_exists ( 'gglcptch_version_check' ) ) {
|
|
92 |
|
93 |
if ( ! function_exists( 'gglcptch_init' ) ) {
|
94 |
function gglcptch_init() {
|
|
|
|
|
95 |
load_plugin_textdomain( 'google_captcha', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
96 |
|
97 |
-
|
|
|
|
|
98 |
/* Get options from the database */
|
99 |
if ( 1 == $wpmu )
|
100 |
$gglcptch_options = get_site_option( 'gglcptch_options' );
|
@@ -104,7 +112,7 @@ if ( ! function_exists( 'gglcptch_init' ) ) {
|
|
104 |
/* Add hooks */
|
105 |
if ( '1' == $gglcptch_options['login_form'] ) {
|
106 |
add_action( 'login_form', 'gglcptch_login_display' );
|
107 |
-
add_filter( 'login_redirect', 'gglcptch_login_check' );
|
108 |
}
|
109 |
|
110 |
if ( '1' == $gglcptch_options['comments_form'] ) {
|
@@ -141,9 +149,6 @@ if ( ! function_exists( 'gglcptch_admin_init' ) ) {
|
|
141 |
if ( ! isset( $bws_plugin_info ) || empty( $bws_plugin_info ) )
|
142 |
$bws_plugin_info = array( 'id' => '109', 'version' => $gglcptch_plugin_info["Version"] );
|
143 |
|
144 |
-
/* Check version on WordPress */
|
145 |
-
gglcptch_version_check();
|
146 |
-
|
147 |
/* Call register settings function */
|
148 |
if ( isset( $_GET['page'] ) && "google-captcha.php" == $_GET['page'] )
|
149 |
register_gglcptch_settings();
|
@@ -214,7 +219,7 @@ if ( ! function_exists( 'register_gglcptch_settings' ) ) {
|
|
214 |
/* Display settings page */
|
215 |
if ( ! function_exists( 'gglcptch_settings_page' ) ) {
|
216 |
function gglcptch_settings_page() {
|
217 |
-
global $gglcptch_options;
|
218 |
|
219 |
/* Private and public keys */
|
220 |
$gglcptch_keys = array(
|
@@ -280,7 +285,7 @@ if ( ! function_exists( 'gglcptch_settings_page' ) ) {
|
|
280 |
<h2><?php _e( 'Google Captcha Settings', 'google_captcha' ); ?></h2>
|
281 |
<h2 class="nav-tab-wrapper">
|
282 |
<a class="nav-tab nav-tab-active" href="admin.php?page=google-captcha.php"><?php _e( 'Settings', 'google_captcha' ); ?></a>
|
283 |
-
<a class="nav-tab" href="http://bestwebsoft.com/
|
284 |
</h2>
|
285 |
<div class="updated fade" <?php if ( ! isset( $_POST['gglcptch_save_changes'] ) || "" != $error ) echo 'style="display:none"'; ?>><p><strong><?php _e( 'Settings saved', 'google_captcha' ); ?></strong></p></div>
|
286 |
<div class="error" <?php if ( "" == $error ) echo 'style="display:none"'; ?>><p><strong><?php echo $error; ?></strong></p></div>
|
@@ -308,19 +313,25 @@ if ( ! function_exists( 'gglcptch_settings_page' ) ) {
|
|
308 |
<?php foreach ( $gglcptch_forms as $form ) : ?>
|
309 |
<label><input type="checkbox" name="<?php echo 'gglcptch_' . $form[0]; ?>" value=<?php echo $form[0]; if ( '1' == $gglcptch_options[ $form[0] ] ) echo ' checked'; ?>><?php echo $form[1]; ?></label><br />
|
310 |
<?php endforeach;
|
311 |
-
$
|
312 |
-
$
|
313 |
-
|
314 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
315 |
<label><input type="checkbox" name="gglcptch_contact_form" value="contact_form"<?php if ( '1' == $gglcptch_options['contact_form'] ) echo ' checked'; ?>><?php _e( 'Contact form', 'google_captcha' ); ?></label>
|
316 |
-
<span style="color: #888888;font-size: 10px;">(<?php _e( 'powered by', 'google_captcha' ); ?> <a href="http://bestwebsoft.com/
|
317 |
<?php else : ?>
|
318 |
<label><input type="checkbox" disabled name="gglcptch_contact_form" value="contact_form"<?php if ( '1' == $gglcptch_options['contact_form'] ) echo ' checked'; ?>><?php _e( 'Contact form', 'google_captcha' ); ?></label>
|
319 |
-
<span style="color: #888888;font-size: 10px;">(<?php _e( 'powered by', 'google_captcha' ); ?> <a href="http://bestwebsoft.com/
|
320 |
<?php endif;
|
321 |
else : ?>
|
322 |
<label><input type="checkbox" disabled name="gglcptch_contact_form" value="contact_form"<?php if ( '1' == $gglcptch_options['contact_form'] ) echo ' checked'; ?>><?php _e( 'Contact form', 'google_captcha' ); ?></label>
|
323 |
-
<span style="color: #888888;font-size: 10px;">(<?php _e( 'powered by', 'google_captcha' ); ?> <a href="http://bestwebsoft.com/
|
324 |
<?php endif; ?>
|
325 |
</td>
|
326 |
</tr>
|
@@ -445,7 +456,7 @@ if ( ! function_exists( 'gglcptch_login_check' ) ) {
|
|
445 |
$privatekey = $gglcptch_options['private_key'];
|
446 |
|
447 |
if ( ! $privatekey || ! $publickey )
|
448 |
-
return
|
449 |
|
450 |
$resp = recaptcha_check_answer( $privatekey,
|
451 |
$_SERVER['REMOTE_ADDR'],
|
@@ -455,7 +466,7 @@ if ( ! function_exists( 'gglcptch_login_check' ) ) {
|
|
455 |
wp_clear_auth_cookie();
|
456 |
wp_die( __( 'Error: You have entered an incorrect CAPTCHA value. Click the BACK button on your browser, and try again.', 'google_captcha' ) );
|
457 |
} else
|
458 |
-
return
|
459 |
}
|
460 |
}
|
461 |
}
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Google Captcha (reCAPTCHA)
|
4 |
+
Plugin URI: http://bestwebsoft.com/products/
|
5 |
Description: Plugin Google Captcha intended to prove that the visitor is a human being and not a spam robot.
|
6 |
Author: BestWebSoft
|
7 |
+
Version: 1.08
|
8 |
Author URI: http://bestwebsoft.com/
|
9 |
License: GPLv3 or later
|
10 |
*/
|
76 |
}
|
77 |
|
78 |
/* Function check if plugin is compatible with current WP version */
|
79 |
+
if ( ! function_exists ( 'gglcptch_version_check' ) ) {
|
80 |
function gglcptch_version_check() {
|
81 |
global $wp_version, $gglcptch_plugin_info;
|
82 |
$require_wp = "3.0"; /* Wordpress at least requires version */
|
83 |
$plugin = plugin_basename( __FILE__ );
|
84 |
if ( version_compare( $wp_version, $require_wp, "<" ) ) {
|
85 |
+
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
86 |
if ( is_plugin_active( $plugin ) ) {
|
87 |
deactivate_plugins( $plugin );
|
88 |
+
$admin_url = ( function_exists( 'get_admin_url' ) ) ? get_admin_url( null, 'plugins.php' ) : esc_url( '/wp-admin/plugins.php' );
|
89 |
+
if ( ! $gglcptch_plugin_info )
|
90 |
+
$gglcptch_plugin_info = get_plugin_data( __FILE__, false );
|
91 |
+
wp_die( "<strong>" . $gglcptch_plugin_info['Name'] . " </strong> " . __( 'requires', 'google_captcha' ) . " <strong>WordPress " . $require_wp . "</strong> " . __( 'or higher, that is why it has been deactivated! Please upgrade WordPress and try again.', 'google_captcha') . "<br /><br />" . __( 'Back to the WordPress', 'google_captcha') . " <a href='" . $admin_url . "'>" . __( 'Plugins page', 'google_captcha') . "</a>." );
|
92 |
}
|
93 |
}
|
94 |
}
|
96 |
|
97 |
if ( ! function_exists( 'gglcptch_init' ) ) {
|
98 |
function gglcptch_init() {
|
99 |
+
global $wpmu, $gglcptch_options;
|
100 |
+
|
101 |
load_plugin_textdomain( 'google_captcha', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
102 |
|
103 |
+
/* Check version on WordPress */
|
104 |
+
gglcptch_version_check();
|
105 |
+
|
106 |
/* Get options from the database */
|
107 |
if ( 1 == $wpmu )
|
108 |
$gglcptch_options = get_site_option( 'gglcptch_options' );
|
112 |
/* Add hooks */
|
113 |
if ( '1' == $gglcptch_options['login_form'] ) {
|
114 |
add_action( 'login_form', 'gglcptch_login_display' );
|
115 |
+
add_filter( 'login_redirect', 'gglcptch_login_check', 10, 3 );
|
116 |
}
|
117 |
|
118 |
if ( '1' == $gglcptch_options['comments_form'] ) {
|
149 |
if ( ! isset( $bws_plugin_info ) || empty( $bws_plugin_info ) )
|
150 |
$bws_plugin_info = array( 'id' => '109', 'version' => $gglcptch_plugin_info["Version"] );
|
151 |
|
|
|
|
|
|
|
152 |
/* Call register settings function */
|
153 |
if ( isset( $_GET['page'] ) && "google-captcha.php" == $_GET['page'] )
|
154 |
register_gglcptch_settings();
|
219 |
/* Display settings page */
|
220 |
if ( ! function_exists( 'gglcptch_settings_page' ) ) {
|
221 |
function gglcptch_settings_page() {
|
222 |
+
global $gglcptch_options, $gglcptch_plugin_info, $wp_version;
|
223 |
|
224 |
/* Private and public keys */
|
225 |
$gglcptch_keys = array(
|
285 |
<h2><?php _e( 'Google Captcha Settings', 'google_captcha' ); ?></h2>
|
286 |
<h2 class="nav-tab-wrapper">
|
287 |
<a class="nav-tab nav-tab-active" href="admin.php?page=google-captcha.php"><?php _e( 'Settings', 'google_captcha' ); ?></a>
|
288 |
+
<a class="nav-tab" href="http://bestwebsoft.com/products/google-captcha/faq" target="_blank"><?php _e( 'FAQ', 'google_captcha' ); ?></a>
|
289 |
</h2>
|
290 |
<div class="updated fade" <?php if ( ! isset( $_POST['gglcptch_save_changes'] ) || "" != $error ) echo 'style="display:none"'; ?>><p><strong><?php _e( 'Settings saved', 'google_captcha' ); ?></strong></p></div>
|
291 |
<div class="error" <?php if ( "" == $error ) echo 'style="display:none"'; ?>><p><strong><?php echo $error; ?></strong></p></div>
|
313 |
<?php foreach ( $gglcptch_forms as $form ) : ?>
|
314 |
<label><input type="checkbox" name="<?php echo 'gglcptch_' . $form[0]; ?>" value=<?php echo $form[0]; if ( '1' == $gglcptch_options[ $form[0] ] ) echo ' checked'; ?>><?php echo $form[1]; ?></label><br />
|
315 |
<?php endforeach;
|
316 |
+
$gglcptch_all_plugins = get_plugins();
|
317 |
+
$gglcptch_cntctfrm_installed = ( isset( $gglcptch_all_plugins['contact-form-plugin/contact_form.php'] ) || isset( $gglcptch_all_plugins['contact-form-pro/contact_form_pro.php'] ) ) ? true : false;
|
318 |
+
$gglcptch_active_plugins = get_option( 'active_plugins' );
|
319 |
+
if ( is_multisite() ) {
|
320 |
+
$gglcptch_active_network_plugins = array_flip( get_site_option('active_sitewide_plugins') );
|
321 |
+
$gglcptch_active_plugins = array_unique( array_merge( $gglcptch_active_plugins, $gglcptch_active_network_plugins ) );
|
322 |
+
}
|
323 |
+
$gglcptch_cntctfrm_activated = ( in_array( 'contact-form-plugin/contact_form.php', $gglcptch_active_plugins ) || in_array( 'contact-form-pro/contact_form_pro.php', $gglcptch_active_plugins ) ) ? true : false;
|
324 |
+
if ( $gglcptch_cntctfrm_installed ) :
|
325 |
+
if ( $gglcptch_cntctfrm_activated ) : ?>
|
326 |
<label><input type="checkbox" name="gglcptch_contact_form" value="contact_form"<?php if ( '1' == $gglcptch_options['contact_form'] ) echo ' checked'; ?>><?php _e( 'Contact form', 'google_captcha' ); ?></label>
|
327 |
+
<span style="color: #888888;font-size: 10px;">(<?php _e( 'powered by', 'google_captcha' ); ?> <a href="http://bestwebsoft.com/products/">bestwebsoft.com</a>)</span><br />
|
328 |
<?php else : ?>
|
329 |
<label><input type="checkbox" disabled name="gglcptch_contact_form" value="contact_form"<?php if ( '1' == $gglcptch_options['contact_form'] ) echo ' checked'; ?>><?php _e( 'Contact form', 'google_captcha' ); ?></label>
|
330 |
+
<span style="color: #888888;font-size: 10px;">(<?php _e( 'powered by', 'google_captcha' ); ?> <a href="http://bestwebsoft.com/products/">bestwebsoft.com</a>) <a href="<?php echo bloginfo("url"); ?>/wp-admin/plugins.php"><?php _e( 'Activate contact form', 'google_captcha' ); ?></a></span><br />
|
331 |
<?php endif;
|
332 |
else : ?>
|
333 |
<label><input type="checkbox" disabled name="gglcptch_contact_form" value="contact_form"<?php if ( '1' == $gglcptch_options['contact_form'] ) echo ' checked'; ?>><?php _e( 'Contact form', 'google_captcha' ); ?></label>
|
334 |
+
<span style="color: #888888;font-size: 10px;">(<?php _e( 'powered by', 'google_captcha' ); ?> <a href="http://bestwebsoft.com/products/">bestwebsoft.com</a>) <a href="http://bestwebsoft.com/products/contact-form/?k=d70b58e1739ab4857d675fed2213cedc&pn=75&v=<?php echo $gglcptch_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>"><?php _e( 'Download contact form', 'google_captcha' ); ?></a></span><br />
|
335 |
<?php endif; ?>
|
336 |
</td>
|
337 |
</tr>
|
456 |
$privatekey = $gglcptch_options['private_key'];
|
457 |
|
458 |
if ( ! $privatekey || ! $publickey )
|
459 |
+
return admin_url();
|
460 |
|
461 |
$resp = recaptcha_check_answer( $privatekey,
|
462 |
$_SERVER['REMOTE_ADDR'],
|
466 |
wp_clear_auth_cookie();
|
467 |
wp_die( __( 'Error: You have entered an incorrect CAPTCHA value. Click the BACK button on your browser, and try again.', 'google_captcha' ) );
|
468 |
} else
|
469 |
+
return admin_url();
|
470 |
}
|
471 |
}
|
472 |
}
|
js/script.js
CHANGED
@@ -6,8 +6,15 @@
|
|
6 |
return gglcptch_match;
|
7 |
});
|
8 |
$( '#cntctfrm_contact_form, #cntctfrmpr_contact_form' ).find( 'input:submit' ).click(function() {
|
9 |
-
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
});
|
12 |
});
|
13 |
|
@@ -21,7 +28,7 @@
|
|
21 |
req.setRequestHeader( 'Content-Type', 'application/x-www-form-urlencoded' );
|
22 |
/* sending POST parameters */
|
23 |
req.send( 'recaptcha_challenge_field=' + recaptcha_challenge_field + '&recaptcha_response_field=' + recaptcha_response_field );
|
24 |
-
|
25 |
if ( req.responseText == 'error' ) {
|
26 |
/* wrong captcha */
|
27 |
if ( ! $( '#gglcptch_error' ).text() ) {
|
6 |
return gglcptch_match;
|
7 |
});
|
8 |
$( '#cntctfrm_contact_form, #cntctfrmpr_contact_form' ).find( 'input:submit' ).click(function() {
|
9 |
+
if( $( this ).parents('#cntctfrm_contact_form, #cntctfrmpr_contact_form').find('#recaptcha_widget_div').size() > 0 ) {
|
10 |
+
click_trigger();
|
11 |
+
return gglcptch_match;
|
12 |
+
}
|
13 |
+
});
|
14 |
+
$( '#recaptcha_widget_div' ).on( 'input paste change', '#recaptcha_response_field', function() {
|
15 |
+
if( $( '#gglcptch_error' ).size() > 0 ) {
|
16 |
+
$( '#gglcptch_error' ).remove();
|
17 |
+
}
|
18 |
});
|
19 |
});
|
20 |
|
28 |
req.setRequestHeader( 'Content-Type', 'application/x-www-form-urlencoded' );
|
29 |
/* sending POST parameters */
|
30 |
req.send( 'recaptcha_challenge_field=' + recaptcha_challenge_field + '&recaptcha_response_field=' + recaptcha_response_field );
|
31 |
+
|
32 |
if ( req.responseText == 'error' ) {
|
33 |
/* wrong captcha */
|
34 |
if ( ! $( '#gglcptch_error' ).text() ) {
|
languages/google_captcha-es_ES.mo
ADDED
Binary file
|
languages/google_captcha-es_ES.po
ADDED
@@ -0,0 +1,214 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: google_captcha\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2014-04-22 17:44+0300\n"
|
6 |
+
"PO-Revision-Date: \n"
|
7 |
+
"Last-Translator: BestWebSoft <support@bestwebsoft.com>\n"
|
8 |
+
"Language-Team: Cloudzeroxyz <cloudzeroxyz@gmail.com>\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
13 |
+
"X-Poedit-Basepath: ..\n"
|
14 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
15 |
+
"X-Generator: Poedit 1.6.9\n"
|
16 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
17 |
+
"Language: es_419\n"
|
18 |
+
"X-Poedit-SearchPath-0: .\n"
|
19 |
+
|
20 |
+
#: google-captcha.php:73
|
21 |
+
#: google-captcha.php:277
|
22 |
+
msgid "Google Captcha Settings"
|
23 |
+
msgstr "Googe Captcha Ajustes"
|
24 |
+
|
25 |
+
#: google-captcha.php:73
|
26 |
+
msgid "Google Captcha"
|
27 |
+
msgstr "Google Captcha"
|
28 |
+
|
29 |
+
#: google-captcha.php:86
|
30 |
+
msgid "requires"
|
31 |
+
msgstr "requiere"
|
32 |
+
|
33 |
+
#: google-captcha.php:86
|
34 |
+
msgid "or higher, that is why it has been deactivated! Please upgrade WordPress and try again."
|
35 |
+
msgstr "o superior, es por eso que ha sido desactivado! Por favor, actualice WordPress y vuelva a intentarlo."
|
36 |
+
|
37 |
+
#: google-captcha.php:86
|
38 |
+
msgid "Back to the WordPress"
|
39 |
+
msgstr "Volver a WordPress"
|
40 |
+
|
41 |
+
#: google-captcha.php:86
|
42 |
+
msgid "Plugins page"
|
43 |
+
msgstr "Página de Plugins"
|
44 |
+
|
45 |
+
#: google-captcha.php:219
|
46 |
+
msgid "Public Key"
|
47 |
+
msgstr "Clave Pública"
|
48 |
+
|
49 |
+
#: google-captcha.php:224
|
50 |
+
msgid "Private Key"
|
51 |
+
msgstr "Clave Privada"
|
52 |
+
|
53 |
+
#: google-captcha.php:232
|
54 |
+
msgid "Login form"
|
55 |
+
msgstr "Formulario de acceso"
|
56 |
+
|
57 |
+
#: google-captcha.php:233
|
58 |
+
msgid "Registration form"
|
59 |
+
msgstr "Formulario de registro"
|
60 |
+
|
61 |
+
#: google-captcha.php:234
|
62 |
+
msgid "Reset password form"
|
63 |
+
msgstr "Formulario de restablecimiento de contraseña"
|
64 |
+
|
65 |
+
#: google-captcha.php:235
|
66 |
+
msgid "Comments form"
|
67 |
+
msgstr "Formulario de comentarios"
|
68 |
+
|
69 |
+
#: google-captcha.php:250
|
70 |
+
msgid "Enter public key"
|
71 |
+
msgstr "Introduce la clave pública"
|
72 |
+
|
73 |
+
#: google-captcha.php:251
|
74 |
+
#: google-captcha.php:257
|
75 |
+
msgid "WARNING: The captcha will not display while you don't fill key fields."
|
76 |
+
msgstr "ADVERTENCIA: El Captcha no se mostrará mientras usted no llene los campos clave."
|
77 |
+
|
78 |
+
#: google-captcha.php:256
|
79 |
+
msgid "Enter private key"
|
80 |
+
msgstr "Introduce la clave privada"
|
81 |
+
|
82 |
+
#: google-captcha.php:278
|
83 |
+
msgid "Settings saved"
|
84 |
+
msgstr "Configuración guardada"
|
85 |
+
|
86 |
+
#: google-captcha.php:280
|
87 |
+
msgid "If you would like to add the Google Captcha to your own form, just copy and paste this shortcode to your post or page:"
|
88 |
+
msgstr "Si quisiera añadir el Google Captcha para su formulario, simplemente copia y pega este código corto en tu post o página:"
|
89 |
+
|
90 |
+
#: google-captcha.php:282
|
91 |
+
msgid "Authentication"
|
92 |
+
msgstr "Autentificación"
|
93 |
+
|
94 |
+
#: google-captcha.php:283
|
95 |
+
#, php-format
|
96 |
+
msgid "Before you are able to do something, you must to register %s here %s"
|
97 |
+
msgstr "Antes de que pueda hacer algo, debe registrar %s aquí %s"
|
98 |
+
|
99 |
+
#: google-captcha.php:284
|
100 |
+
msgid "Enter public and private keys, that you get after registration."
|
101 |
+
msgstr "Introduzca las claves pública y privada, que se obtiene después de Registrarse."
|
102 |
+
|
103 |
+
#: google-captcha.php:296
|
104 |
+
msgid "Options"
|
105 |
+
msgstr "Opciones"
|
106 |
+
|
107 |
+
#: google-captcha.php:299
|
108 |
+
msgid "Enable Google Captcha for:"
|
109 |
+
msgstr "Habilitar Google Captcha para:"
|
110 |
+
|
111 |
+
#: google-captcha.php:308
|
112 |
+
#: google-captcha.php:311
|
113 |
+
#: google-captcha.php:315
|
114 |
+
msgid "Contact form"
|
115 |
+
msgstr "Formulario de contacto"
|
116 |
+
|
117 |
+
#: google-captcha.php:309
|
118 |
+
#: google-captcha.php:312
|
119 |
+
#: google-captcha.php:316
|
120 |
+
msgid "powered by"
|
121 |
+
msgstr "impulsado por"
|
122 |
+
|
123 |
+
#: google-captcha.php:312
|
124 |
+
msgid "Activate contact form"
|
125 |
+
msgstr "Activar formulario de contacto"
|
126 |
+
|
127 |
+
#: google-captcha.php:316
|
128 |
+
msgid "Download contact form"
|
129 |
+
msgstr "Descargar formulario de contacto"
|
130 |
+
|
131 |
+
#: google-captcha.php:321
|
132 |
+
msgid "Hide captcha for:"
|
133 |
+
msgstr "Ocultar captcha para:"
|
134 |
+
|
135 |
+
#: google-captcha.php:329
|
136 |
+
msgid "Theme:"
|
137 |
+
msgstr "Tema:"
|
138 |
+
|
139 |
+
#: google-captcha.php:340
|
140 |
+
msgid "Save Changes"
|
141 |
+
msgstr "Guardar Cambios"
|
142 |
+
|
143 |
+
#: google-captcha.php:346
|
144 |
+
msgid "If you enjoy our plugin, please give it 5 stars on WordPress"
|
145 |
+
msgstr "Si te gusta nuestro plugin, por favor, dale 5 estrellas en WordPress"
|
146 |
+
|
147 |
+
#: google-captcha.php:347
|
148 |
+
msgid "Rate the plugin"
|
149 |
+
msgstr "Valorar el plugin"
|
150 |
+
|
151 |
+
#: google-captcha.php:350
|
152 |
+
msgid "If there is something wrong about it, please contact us"
|
153 |
+
msgstr "Si hay algo malo en ello, por favor ponte en contacto con nosotros"
|
154 |
+
|
155 |
+
#: google-captcha.php:389
|
156 |
+
msgid "Error: You have entered an incorrect CAPTCHA value."
|
157 |
+
msgstr "Error: Ha introducido un valor incorrecto de CAPTCHA."
|
158 |
+
|
159 |
+
#: google-captcha.php:397
|
160 |
+
msgid "To use Google Captcha you must get the keys from"
|
161 |
+
msgstr "Para utilizar Google Captcha debe obtener las claves de"
|
162 |
+
|
163 |
+
#: google-captcha.php:397
|
164 |
+
msgid "here"
|
165 |
+
msgstr "aquí"
|
166 |
+
|
167 |
+
#: google-captcha.php:397
|
168 |
+
msgid "and enter them on the"
|
169 |
+
msgstr "e introducirlas en"
|
170 |
+
|
171 |
+
#: google-captcha.php:397
|
172 |
+
msgid "plugin setting page"
|
173 |
+
msgstr "página de configuración de plugin"
|
174 |
+
|
175 |
+
#: google-captcha.php:448
|
176 |
+
#: google-captcha.php:490
|
177 |
+
#: google-captcha.php:512
|
178 |
+
msgid "Error: You have entered an incorrect CAPTCHA value. Click the BACK button on your browser, and try again."
|
179 |
+
msgstr "Error: Ha introducido un valor incorrecto de CAPTCHA. Haga clic en el botón Regresar de su navegador y vuelva a intentarlo."
|
180 |
+
|
181 |
+
#: google-captcha.php:526
|
182 |
+
#: google-captcha.php:537
|
183 |
+
msgid "Settings"
|
184 |
+
msgstr "Ajustes"
|
185 |
+
|
186 |
+
#: google-captcha.php:538
|
187 |
+
msgid "FAQ"
|
188 |
+
msgstr "Preguntas Frecuentes"
|
189 |
+
|
190 |
+
#: google-captcha.php:539
|
191 |
+
msgid "Support"
|
192 |
+
msgstr "Soporte"
|
193 |
+
|
194 |
+
msgid "Red"
|
195 |
+
msgstr "Rojo"
|
196 |
+
|
197 |
+
msgid "White"
|
198 |
+
msgstr "Blanco"
|
199 |
+
|
200 |
+
msgid "Blackglass"
|
201 |
+
msgstr "Cristal Negro"
|
202 |
+
|
203 |
+
msgid "Clean"
|
204 |
+
msgstr "Limpio"
|
205 |
+
|
206 |
+
msgid "Activated theme"
|
207 |
+
msgstr "Tema Activado"
|
208 |
+
|
209 |
+
msgid "Themes"
|
210 |
+
msgstr "Temas"
|
211 |
+
|
212 |
+
msgid "WARNING: The captcha will not display while you not fill key fields."
|
213 |
+
msgstr "ADVERTENCIA: El Captcha no se mostrará mientras no llena los campos clave."
|
214 |
+
|
languages/google_captcha-zh_TW.mo
CHANGED
File without changes
|
languages/google_captcha-zh_TW.po
CHANGED
File without changes
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.2checkout.com/checkout/purchase?sid=1430388&quantity=1&
|
|
4 |
Tags: antispam, anti-spam, capcha, anti-spam security, arithmetic actions, captcha, captha, capcha, catcha, cpatcha, captcha theme, comment, digitize books, digitize newspapers, digitize radio shows, google, gogle, google captcha, login, lost password, re captcha, recaptcha, re-captcha, registration, shortcode, site keys, spam, text captcha.
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.0
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -37,7 +37,7 @@ http://www.youtube.com/watch?v=10ImOhmM0Cs
|
|
37 |
The author of the Google Captcha also recommends the following plugins:
|
38 |
|
39 |
* <a href="http://wordpress.org/plugins/updater/">Updater</a> - This plugin updates WordPress core and the plugins to the recent versions. You can also use the auto mode or manual mode for updating and set email notifications.
|
40 |
-
There is also a premium version of the plugin <a href="http://bestwebsoft.com/
|
41 |
|
42 |
= Translation =
|
43 |
|
@@ -45,6 +45,7 @@ There is also a premium version of the plugin <a href="http://bestwebsoft.com/pl
|
|
45 |
* Chinese Traditional (zh_TW) (thanks to <a href="mailto:nick20080808@gmail.com">Nick Lai</a>)
|
46 |
* Polish (pl_PL) (thanks to <a href="mailto:ryszard.glegola@translanet.com">Ryszard Glegola</a>, www.translanet.com)
|
47 |
* Russian (ru_RU)
|
|
|
48 |
* Ukrainian (uk)
|
49 |
|
50 |
If you would like to create your own language pack or update the existing one, you can send <a href="http://codex.wordpress.org/Translating_WordPress" target="_blank">the text of PO and MO files</a> for <a href="http://support.bestwebsoft.com" target="_blank">BestWebSoft</a> and we'll add it to the plugin. You can download the latest version of the program for work with PO and MO files <a href="http://www.poedit.net/download.php" target="_blank">Poedit</a>.
|
@@ -143,6 +144,12 @@ Please make sure that the problem hasn't been discussed yet on our forum (<a hre
|
|
143 |
|
144 |
== Changelog ==
|
145 |
|
|
|
|
|
|
|
|
|
|
|
|
|
146 |
= V1.07 - 02.09.2014 =
|
147 |
* New : The Chinese (Traditional) language file is added.
|
148 |
|
@@ -179,6 +186,9 @@ Please make sure that the problem hasn't been discussed yet on our forum (<a hre
|
|
179 |
|
180 |
== Upgrade Notice ==
|
181 |
|
|
|
|
|
|
|
182 |
= V1.07 =
|
183 |
The Chinese (Traditional) language file is added.
|
184 |
|
4 |
Tags: antispam, anti-spam, capcha, anti-spam security, arithmetic actions, captcha, captha, capcha, catcha, cpatcha, captcha theme, comment, digitize books, digitize newspapers, digitize radio shows, google, gogle, google captcha, login, lost password, re captcha, recaptcha, re-captcha, registration, shortcode, site keys, spam, text captcha.
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.0
|
7 |
+
Stable tag: 1.08
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
37 |
The author of the Google Captcha also recommends the following plugins:
|
38 |
|
39 |
* <a href="http://wordpress.org/plugins/updater/">Updater</a> - This plugin updates WordPress core and the plugins to the recent versions. You can also use the auto mode or manual mode for updating and set email notifications.
|
40 |
+
There is also a premium version of the plugin <a href="http://bestwebsoft.com/products/updater/?k=f47f3eb3d739725d592249dbd129f7ff">Updater Pro</a> with more useful features available. It can make backup of all your files and database before updating. Also it can forbid some plugins or WordPress Core update.
|
41 |
|
42 |
= Translation =
|
43 |
|
45 |
* Chinese Traditional (zh_TW) (thanks to <a href="mailto:nick20080808@gmail.com">Nick Lai</a>)
|
46 |
* Polish (pl_PL) (thanks to <a href="mailto:ryszard.glegola@translanet.com">Ryszard Glegola</a>, www.translanet.com)
|
47 |
* Russian (ru_RU)
|
48 |
+
* Spanish (es_ES) (thanks to <a href="mailto:cloudzeroxyz@gmail.com">Cloudzeroxyz</a>)
|
49 |
* Ukrainian (uk)
|
50 |
|
51 |
If you would like to create your own language pack or update the existing one, you can send <a href="http://codex.wordpress.org/Translating_WordPress" target="_blank">the text of PO and MO files</a> for <a href="http://support.bestwebsoft.com" target="_blank">BestWebSoft</a> and we'll add it to the plugin. You can download the latest version of the program for work with PO and MO files <a href="http://www.poedit.net/download.php" target="_blank">Poedit</a>.
|
144 |
|
145 |
== Changelog ==
|
146 |
|
147 |
+
= V1.08 - 14.10.2014 =
|
148 |
+
* New : The Spanish language file is added.
|
149 |
+
* Bugfix : Bug with multisite was fixed.
|
150 |
+
* Bugfix : Bug with user`s login was fixed.
|
151 |
+
* Bugfix : Bug when Contact Form submit was fixed.
|
152 |
+
|
153 |
= V1.07 - 02.09.2014 =
|
154 |
* New : The Chinese (Traditional) language file is added.
|
155 |
|
186 |
|
187 |
== Upgrade Notice ==
|
188 |
|
189 |
+
= V1.08 =
|
190 |
+
The Spanish language file is added. Bug with multisite was fixed. Bug with user`s login was fixed. Bug when Contact Form submit was fixed.
|
191 |
+
|
192 |
= V1.07 =
|
193 |
The Chinese (Traditional) language file is added.
|
194 |
|