Math Captcha - Version 1.2.1

Version Description

  • New: Slovak translation, thanks to Jn Fajk
Download this release

Release Info

Developer dfactory
Plugin Icon 128x128 Math Captcha
Version 1.2.1
Comparing to
See all releases

Code changes from version 1.2.0 to 1.2.1

css/images/bg_fallback.png DELETED
Binary file
css/images/icon_sprite.png DELETED
Binary file
css/images/slider_handles.png DELETED
Binary file
css/images/slider_handles@2x.png DELETED
Binary file
css/images/ui-icons_222222_256x240.png DELETED
Binary file
css/images/ui-icons_454545_256x240.png DELETED
Binary file
css/wp-like-ui-theme.css DELETED
@@ -1,774 +0,0 @@
1
- /*
2
- * jQuery UI CSS Framework 1.8.7
3
- *
4
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
5
- * Dual licensed under the MIT or GPL Version 2 licenses.
6
- * http://jquery.org/license
7
- *
8
- * http://docs.jquery.com/UI/Theming/API
9
- */
10
-
11
- /* Layout helpers
12
- ----------------------------------*/
13
- .ui-helper-hidden { display: none; }
14
- .ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
15
- .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
16
- .ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
17
- .ui-helper-clearfix { display: inline-block; }
18
- /* required comment for clearfix to work in Opera \*/
19
- * html .ui-helper-clearfix { height:1%; }
20
- .ui-helper-clearfix { display:block; }
21
- /* end clearfix */
22
- .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
23
-
24
-
25
- /* Interaction Cues
26
- ----------------------------------*/
27
- .ui-state-disabled { cursor: default !important; }
28
-
29
-
30
- /* Icons
31
- ----------------------------------*/
32
-
33
- /* states and images */
34
- .ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
35
-
36
-
37
- /* Misc visuals
38
- ----------------------------------*/
39
-
40
- /* Overlays */
41
- .ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
42
-
43
-
44
- /*
45
- * jQuery UI CSS Framework 1.8.7
46
- *
47
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
48
- * Dual licensed under the MIT or GPL Version 2 licenses.
49
- * http://jquery.org/license
50
- *
51
- * http://docs.jquery.com/UI/Theming/API
52
- *
53
- * To view and modify this theme, visit http://jqueryui.com/themeroller/?ctl=themeroller
54
- */
55
-
56
-
57
- /* Component containers
58
- ----------------------------------*/
59
- .ui-widget { font-family: Arial,sans-serif; font-size: 1.1em; }
60
- .ui-widget .ui-widget { font-size: 1em; }
61
- .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Arial,sans-serif; font-size: 1em; }
62
- .ui-widget-content { border: 1px solid #dfdfdf; background: #ffffff; color: #333333; font-size:12px; }
63
- .ui-widget-content a { color: #333333; }
64
- .ui-widget-header { border: 1px solid #dfdfdf; color: #333333; font-weight: normal; }
65
- .ui-widget-header {
66
- background: #f3f3f3 url(images/bg_fallback.png) 0 0 repeat-x; /* Old browsers */
67
- background: -moz-linear-gradient(top, #f9f9f9 0%, #ececec 100%); /* FF3.6+ */
68
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f9f9), color-stop(100%,#ececec)); /* Chrome,Safari4+ */
69
- background: -webkit-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* Chrome10+,Safari5.1+ */
70
- background: -o-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* Opera11.10+ */
71
- background: -ms-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* IE10+ */
72
- background: linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* W3C */
73
- }
74
- .ui-widget-header a { color: #333333; }
75
-
76
- /* Interaction states
77
- ----------------------------------*/
78
- .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #dfdfdf; font-weight: normal; color: #333333; }
79
- .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
80
- background: #f9f9f9 url(images/bg_fallback.png) 0 0 repeat-x; /* Old browsers */
81
- background: -moz-linear-gradient(top, #f9f9f9 0%, #ececec 100%); /* FF3.6+ */
82
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f9f9), color-stop(100%,#ececec)); /* Chrome,Safari4+ */
83
- background: -webkit-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* Chrome10+,Safari5.1+ */
84
- background: -o-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* Opera11.10+ */
85
- background: -ms-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* IE10+ */
86
- background: linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* W3C */
87
- -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset;
88
- -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset;
89
- box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset;
90
- }
91
- .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #333333; text-decoration: none; }
92
- .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #bbbbbb; font-weight: normal; color: #313131; }
93
- .ui-state-hover a, .ui-state-hover a:hover { color: #313131; text-decoration: none; }
94
- .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
95
- outline: none;
96
- color: #ffffff;
97
- border-color: #21759b #21759b #1e6a8d;
98
- background: #f9f9f9 url(images/bg_fallback.png) 0 -50px repeat-x; /* Old browsers */
99
- background: -moz-linear-gradient(top, #2e9fd2 0%, #21759B 100%); /* FF3.6+ */
100
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2e9fd2), color-stop(100%,#21759B)); /* Chrome,Safari4+ */
101
- background: -webkit-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Chrome10+,Safari5.1+ */
102
- background: -o-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Opera11.10+ */
103
- background: -ms-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* IE10+ */
104
- background: linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* W3C */
105
- -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
106
- -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
107
- box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset;
108
- text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
109
- }
110
- .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #fff; text-decoration: none; }
111
- .ui-widget :active { outline: none; }
112
-
113
- /* Interaction Cues
114
- ----------------------------------*/
115
- .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight { border: 1px solid #e6db55; background: #ffffe0; color: #333; }
116
- .ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #333; }
117
- .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error { border: 1px solid #cc0000; background: #ffebe8; color: #333; }
118
- .ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; }
119
- .ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; }
120
- .ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: normal; }
121
- .ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { font-weight: normal; }
122
- .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
123
-
124
- /* Icons
125
- ----------------------------------*/
126
-
127
- /* states and images */
128
- .ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
129
- .ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
130
- .ui-widget-header .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
131
- .ui-state-default .ui-icon { background-image: url(images/ui-icons_454545_256x240.png); }
132
- .ui-state-hover .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
133
- .ui-state-focus .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
134
- .ui-state-active .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
135
- .ui-state-highlight .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
136
- .ui-state-error .ui-icon, .ui-state-error-text .ui-icon { background: url(images/icon_sprite.png) -16px 0 no-repeat !important; }
137
- .ui-state-highlight .ui-icon, .ui-state-error .ui-icon { margin-top: -1px; }
138
-
139
- /* positioning */
140
- .ui-icon-carat-1-n { background-position: 0 0; }
141
- .ui-icon-carat-1-ne { background-position: -16px 0; }
142
- .ui-icon-carat-1-e { background-position: -32px 0; }
143
- .ui-icon-carat-1-se { background-position: -48px 0; }
144
- .ui-icon-carat-1-s { background-position: -64px 0; }
145
- .ui-icon-carat-1-sw { background-position: -80px 0; }
146
- .ui-icon-carat-1-w { background-position: -96px 0; }
147
- .ui-icon-carat-1-nw { background-position: -112px 0; }
148
- .ui-icon-carat-2-n-s { background-position: -128px 0; }
149
- .ui-icon-carat-2-e-w { background-position: -144px 0; }
150
- .ui-icon-triangle-1-n { background-position: 0 -16px; }
151
- .ui-icon-triangle-1-ne { background-position: -16px -16px; }
152
- .ui-icon-triangle-1-e { background-position: -32px -16px; }
153
- .ui-icon-triangle-1-se { background-position: -48px -16px; }
154
- .ui-icon-triangle-1-s { background-position: -64px -16px; }
155
- .ui-icon-triangle-1-sw { background-position: -80px -16px; }
156
- .ui-icon-triangle-1-w { background-position: -96px -16px; }
157
- .ui-icon-triangle-1-nw { background-position: -112px -16px; }
158
- .ui-icon-triangle-2-n-s { background-position: -128px -16px; }
159
- .ui-icon-triangle-2-e-w { background-position: -144px -16px; }
160
- .ui-icon-arrow-1-n { background-position: 0 -32px; }
161
- .ui-icon-arrow-1-ne { background-position: -16px -32px; }
162
- .ui-icon-arrow-1-e { background-position: -32px -32px; }
163
- .ui-icon-arrow-1-se { background-position: -48px -32px; }
164
- .ui-icon-arrow-1-s { background-position: -64px -32px; }
165
- .ui-icon-arrow-1-sw { background-position: -80px -32px; }
166
- .ui-icon-arrow-1-w { background-position: -96px -32px; }
167
- .ui-icon-arrow-1-nw { background-position: -112px -32px; }
168
- .ui-icon-arrow-2-n-s { background-position: -128px -32px; }
169
- .ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
170
- .ui-icon-arrow-2-e-w { background-position: -160px -32px; }
171
- .ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
172
- .ui-icon-arrowstop-1-n { background-position: -192px -32px; }
173
- .ui-icon-arrowstop-1-e { background-position: -208px -32px; }
174
- .ui-icon-arrowstop-1-s { background-position: -224px -32px; }
175
- .ui-icon-arrowstop-1-w { background-position: -240px -32px; }
176
- .ui-icon-arrowthick-1-n { background-position: 0 -48px; }
177
- .ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
178
- .ui-icon-arrowthick-1-e { background-position: -32px -48px; }
179
- .ui-icon-arrowthick-1-se { background-position: -48px -48px; }
180
- .ui-icon-arrowthick-1-s { background-position: -64px -48px; }
181
- .ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
182
- .ui-icon-arrowthick-1-w { background-position: -96px -48px; }
183
- .ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
184
- .ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
185
- .ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
186
- .ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
187
- .ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
188
- .ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
189
- .ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
190
- .ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
191
- .ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
192
- .ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
193
- .ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
194
- .ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
195
- .ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
196
- .ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
197
- .ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
198
- .ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
199
- .ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
200
- .ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
201
- .ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
202
- .ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
203
- .ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
204
- .ui-icon-arrow-4 { background-position: 0 -80px; }
205
- .ui-icon-arrow-4-diag { background-position: -16px -80px; }
206
- .ui-icon-extlink { background-position: -32px -80px; }
207
- .ui-icon-newwin { background-position: -48px -80px; }
208
- .ui-icon-refresh { background-position: -64px -80px; }
209
- .ui-icon-shuffle { background-position: -80px -80px; }
210
- .ui-icon-transfer-e-w { background-position: -96px -80px; }
211
- .ui-icon-transferthick-e-w { background-position: -112px -80px; }
212
- .ui-icon-folder-collapsed { background-position: 0 -96px; }
213
- .ui-icon-folder-open { background-position: -16px -96px; }
214
- .ui-icon-document { background-position: -32px -96px; }
215
- .ui-icon-document-b { background-position: -48px -96px; }
216
- .ui-icon-note { background-position: -64px -96px; }
217
- .ui-icon-mail-closed { background-position: -80px -96px; }
218
- .ui-icon-mail-open { background-position: -96px -96px; }
219
- .ui-icon-suitcase { background-position: -112px -96px; }
220
- .ui-icon-comment { background-position: -128px -96px; }
221
- .ui-icon-person { background-position: -144px -96px; }
222
- .ui-icon-print { background-position: -160px -96px; }
223
- .ui-icon-trash { background-position: -176px -96px; }
224
- .ui-icon-locked { background-position: -192px -96px; }
225
- .ui-icon-unlocked { background-position: -208px -96px; }
226
- .ui-icon-bookmark { background-position: -224px -96px; }
227
- .ui-icon-tag { background-position: -240px -96px; }
228
- .ui-icon-home { background-position: 0 -112px; }
229
- .ui-icon-flag { background-position: -16px -112px; }
230
- .ui-icon-calendar { background-position: -32px -112px; }
231
- .ui-icon-cart { background-position: -48px -112px; }
232
- .ui-icon-pencil { background-position: -64px -112px; }
233
- .ui-icon-clock { background-position: -80px -112px; }
234
- .ui-icon-disk { background-position: -96px -112px; }
235
- .ui-icon-calculator { background-position: -112px -112px; }
236
- .ui-icon-zoomin { background-position: -128px -112px; }
237
- .ui-icon-zoomout { background-position: -144px -112px; }
238
- .ui-icon-search { background-position: -160px -112px; }
239
- .ui-icon-wrench { background-position: -176px -112px; }
240
- .ui-icon-gear { background-position: -192px -112px; }
241
- .ui-icon-heart { background-position: -208px -112px; }
242
- .ui-icon-star { background-position: -224px -112px; }
243
- .ui-icon-link { background-position: -240px -112px; }
244
- .ui-icon-cancel { background-position: 0 -128px; }
245
- .ui-icon-plus { background-position: -16px -128px; }
246
- .ui-icon-plusthick { background-position: -32px -128px; }
247
- .ui-icon-minus { background-position: -48px -128px; }
248
- .ui-icon-minusthick { background-position: -64px -128px; }
249
- .ui-icon-close { background-position: -80px -128px; }
250
- .ui-icon-closethick { background-position: -96px -128px; }
251
- .ui-icon-key { background-position: -112px -128px; }
252
- .ui-icon-lightbulb { background-position: -128px -128px; }
253
- .ui-icon-scissors { background-position: -144px -128px; }
254
- .ui-icon-clipboard { background-position: -160px -128px; }
255
- .ui-icon-copy { background-position: -176px -128px; }
256
- .ui-icon-contact { background-position: -192px -128px; }
257
- .ui-icon-image { background-position: -208px -128px; }
258
- .ui-icon-video { background-position: -224px -128px; }
259
- .ui-icon-script { background-position: -240px -128px; }
260
- .ui-icon-alert { background-position: 0 -144px; }
261
- .ui-icon-info { background: url(images/icon_sprite.png) 0 0 no-repeat !important; }
262
- .ui-icon-notice { background-position: -32px -144px; }
263
- .ui-icon-help { background-position: -48px -144px; }
264
- .ui-icon-check { background-position: -64px -144px; }
265
- .ui-icon-bullet { background-position: -80px -144px; }
266
- .ui-icon-radio-off { background-position: -96px -144px; }
267
- .ui-icon-radio-on { background-position: -112px -144px; }
268
- .ui-icon-pin-w { background-position: -128px -144px; }
269
- .ui-icon-pin-s { background-position: -144px -144px; }
270
- .ui-icon-play { background-position: 0 -160px; }
271
- .ui-icon-pause { background-position: -16px -160px; }
272
- .ui-icon-seek-next { background-position: -32px -160px; }
273
- .ui-icon-seek-prev { background-position: -48px -160px; }
274
- .ui-icon-seek-end { background-position: -64px -160px; }
275
- .ui-icon-seek-start { background-position: -80px -160px; }
276
- /* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
277
- .ui-icon-seek-first { background-position: -80px -160px; }
278
- .ui-icon-stop { background-position: -96px -160px; }
279
- .ui-icon-eject { background-position: -112px -160px; }
280
- .ui-icon-volume-off { background-position: -128px -160px; }
281
- .ui-icon-volume-on { background-position: -144px -160px; }
282
- .ui-icon-power { background-position: 0 -176px; }
283
- .ui-icon-signal-diag { background-position: -16px -176px; }
284
- .ui-icon-signal { background-position: -32px -176px; }
285
- .ui-icon-battery-0 { background-position: -48px -176px; }
286
- .ui-icon-battery-1 { background-position: -64px -176px; }
287
- .ui-icon-battery-2 { background-position: -80px -176px; }
288
- .ui-icon-battery-3 { background-position: -96px -176px; }
289
- .ui-icon-circle-plus { background-position: 0 -192px; }
290
- .ui-icon-circle-minus { background-position: -16px -192px; }
291
- .ui-icon-circle-close { background-position: -32px -192px; }
292
- .ui-icon-circle-triangle-e { background-position: -48px -192px; }
293
- .ui-icon-circle-triangle-s { background-position: -64px -192px; }
294
- .ui-icon-circle-triangle-w { background-position: -80px -192px; }
295
- .ui-icon-circle-triangle-n { background-position: -96px -192px; }
296
- .ui-icon-circle-arrow-e { background-position: -112px -192px; }
297
- .ui-icon-circle-arrow-s { background-position: -128px -192px; }
298
- .ui-icon-circle-arrow-w { background-position: -144px -192px; }
299
- .ui-icon-circle-arrow-n { background-position: -160px -192px; }
300
- .ui-icon-circle-zoomin { background-position: -176px -192px; }
301
- .ui-icon-circle-zoomout { background-position: -192px -192px; }
302
- .ui-icon-circle-check { background-position: -208px -192px; }
303
- .ui-icon-circlesmall-plus { background-position: 0 -208px; }
304
- .ui-icon-circlesmall-minus { background-position: -16px -208px; }
305
- .ui-icon-circlesmall-close { background-position: -32px -208px; }
306
- .ui-icon-squaresmall-plus { background-position: -48px -208px; }
307
- .ui-icon-squaresmall-minus { background-position: -64px -208px; }
308
- .ui-icon-squaresmall-close { background-position: -80px -208px; }
309
- .ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
310
- .ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
311
- .ui-icon-grip-solid-vertical { background-position: -32px -224px; }
312
- .ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
313
- .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
314
- .ui-icon-grip-diagonal-se { background-position: -80px -224px; }
315
-
316
-
317
- /* Misc visuals
318
- ----------------------------------*/
319
-
320
- /* Corner radius */
321
- .ui-corner-tl { -moz-border-radius-topleft: 3px; -webkit-border-top-left-radius: 3px; border-top-left-radius: 3px; }
322
- .ui-corner-tr { -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 3px; border-top-right-radius: 3px; }
323
- .ui-corner-bl { -moz-border-radius-bottomleft: 3px; -webkit-border-bottom-left-radius: 3px; border-bottom-left-radius: 3px; }
324
- .ui-corner-br { -moz-border-radius-bottomright: 3px; -webkit-border-bottom-right-radius: 3px; border-bottom-right-radius: 3px; }
325
- .ui-corner-top { -moz-border-radius-topleft: 3px; -webkit-border-top-left-radius: 3px; border-top-left-radius: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 3px; border-top-right-radius: 3px; }
326
- .ui-corner-bottom { -moz-border-radius-bottomleft: 3px; -webkit-border-bottom-left-radius: 3px; border-bottom-left-radius: 3px; -moz-border-radius-bottomright: 3px; -webkit-border-bottom-right-radius: 3px; border-bottom-right-radius: 3px; }
327
- .ui-corner-right { -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 3px; border-top-right-radius: 3px; -moz-border-radius-bottomright: 3px; -webkit-border-bottom-right-radius: 3px; border-bottom-right-radius: 3px; }
328
- .ui-corner-left { -moz-border-radius-topleft: 3px; -webkit-border-top-left-radius: 3px; border-top-left-radius: 3px; -moz-border-radius-bottomleft: 3px; -webkit-border-bottom-left-radius: 3px; border-bottom-left-radius: 3px; }
329
- .ui-corner-all { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
330
-
331
- /* Overlays */
332
- .ui-widget-overlay { background: #262b33; opacity: .70;filter:Alpha(Opacity=70); }
333
- .ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #000000; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/*
334
- * jQuery UI Resizable 1.8.7
335
- *
336
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
337
- * Dual licensed under the MIT or GPL Version 2 licenses.
338
- * http://jquery.org/license
339
- *
340
- * http://docs.jquery.com/UI/Resizable#theming
341
- */
342
- .ui-resizable { position: relative;}
343
- .ui-resizable-handle { position: absolute; font-size: 0.1px; z-index: 999; display: block;}
344
- .ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
345
- .ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
346
- .ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
347
- .ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
348
- .ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
349
- .ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
350
- .ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
351
- .ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
352
- .ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/*
353
- * jQuery UI Selectable 1.8.7
354
- *
355
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
356
- * Dual licensed under the MIT or GPL Version 2 licenses.
357
- * http://jquery.org/license
358
- *
359
- * http://docs.jquery.com/UI/Selectable#theming
360
- */
361
- .ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
362
- /*
363
- * jQuery UI Accordion 1.8.7
364
- *
365
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
366
- * Dual licensed under the MIT or GPL Version 2 licenses.
367
- * http://jquery.org/license
368
- *
369
- * http://docs.jquery.com/UI/Accordion#theming
370
- */
371
- /* IE/Win - Fix animation bug - #4615 */
372
- .ui-accordion { width: 100%; }
373
- .ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 0.2em; zoom: 1; height:30px; line-height:30px; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
374
- .ui-accordion .ui-accordion-header.ui-state-active { -moz-border-radius: 3px 3px 0 0; -webkit-border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0; }
375
- .ui-accordion .ui-accordion-content { -moz-border-radius: 0 0 3px 3px; -webkit-border-radius: 0 0 3px 3px; border-radius: 0 0 3px 3px; }
376
- .ui-accordion .ui-accordion-li-fix { display: inline; }
377
- .ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
378
- .ui-accordion .ui-accordion-header a { display: block; font-size: 12px; font-weight: normal; padding: 0 .5em 0 1em; }
379
- .ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
380
- .ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; display:none; }
381
- .ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; overflow: auto; display: none; zoom: 1; }
382
- .ui-accordion .ui-accordion-content-active { display: block; }/*
383
- * jQuery UI Autocomplete 1.8.7
384
- *
385
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
386
- * Dual licensed under the MIT or GPL Version 2 licenses.
387
- * http://jquery.org/license
388
- *
389
- * http://docs.jquery.com/UI/Autocomplete#theming
390
- */
391
- .ui-autocomplete {
392
- position: absolute; cursor: default; z-index: 3;
393
- -moz-border-radius: 0;
394
- -webkit-border-radius: 0;
395
- border-radius: 0;
396
- -moz-box-shadow: 0 1px 5px rgba(0,0,0,0.3);
397
- -webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.3);
398
- box-shadow: 0 1px 5px rgba(0,0,0,0.3);
399
- }
400
-
401
- /* workarounds */
402
- * html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
403
-
404
- /*
405
- * jQuery UI Menu 1.8.7
406
- *
407
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
408
- * Dual licensed under the MIT or GPL Version 2 licenses.
409
- * http://jquery.org/license
410
- *
411
- * http://docs.jquery.com/UI/Menu#theming
412
- */
413
- .ui-menu {
414
- list-style:none;
415
- padding: 2px;
416
- margin: 0;
417
- display:block;
418
- float: left;
419
- }
420
- .ui-menu .ui-menu {
421
- margin-top: -3px;
422
- }
423
- .ui-menu .ui-menu-item {
424
- margin:0;
425
- padding: 0;
426
- zoom: 1;
427
- float: left;
428
- clear: left;
429
- width: 100%;
430
- }
431
- .ui-menu .ui-menu-item a {
432
- text-decoration:none;
433
- display:block;
434
- padding:.2em .4em;
435
- line-height:1.5;
436
- zoom:1;
437
- }
438
- .ui-menu .ui-menu-item a.ui-state-hover,
439
- .ui-menu .ui-menu-item a.ui-state-active {
440
- font-weight: normal;
441
- margin: -1px;
442
- background: #5f83b9;
443
- color: #FFFFFF;
444
- text-shadow: 0px 1px 1px #234386;
445
- border-color: #466086;
446
- -moz-border-radius: 0;
447
- -webkit-border-radius: 0;
448
- border-radius: 0;
449
- }
450
- /*
451
- * jQuery UI Button 1.8.7
452
- *
453
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
454
- * Dual licensed under the MIT or GPL Version 2 licenses.
455
- * http://jquery.org/license
456
- *
457
- * http://docs.jquery.com/UI/Button#theming
458
- */
459
- .ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; -webkit-user-select: none; -moz-user-select: none; user-select: none; } /* the overflow property removes extra width in IE */
460
- .ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
461
- button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
462
- .ui-button-icons-only { width: 3.4em; }
463
- button.ui-button-icons-only { width: 3.7em; }
464
-
465
- /* button animation properties */
466
- .ui-button {
467
- -webkit-transition: -webkit-box-shadow 0.25s ease-in-out;
468
- -moz-transition: -moz-box-shadow 0.25s ease-in-out;
469
- -o-transition: -o-box-shadow 0.25s ease-in-out;
470
- }
471
-
472
- /*states*/
473
- .ui-button.ui-state-hover {
474
- -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
475
- -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
476
- box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
477
- }
478
-
479
- /*button text element */
480
- .ui-button .ui-button-text { display: block; line-height: 23px; font-size: 12px; font-weight: normal; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6); }
481
- .ui-button.ui-state-active .ui-button-text { display: block; font-size: 12px; font-weight: normal; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4); border: 1px solid #21759B #21759B #1E6A8D; }
482
- .ui-button-text-only .ui-button-text { padding: 0 1em; }
483
- .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }
484
- .ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: 0 1em 0 2.1em; }
485
- .ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: 0 2.1em .0 1em; }
486
- .ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
487
- /* no icon support for input elements, provide padding by default */
488
- input.ui-button { font-size: 12px; font-weight: normal; padding: 0 1em !important; height: 30px; line-height:30px; }
489
- /*remove submit button internal padding in Firefox*/
490
- input.ui-button::-moz-focus-inner {
491
- border: 0;
492
- padding: 0;
493
- }
494
- /* fix webkits handling of the box model */
495
- @media screen and (-webkit-min-device-pixel-ratio:0) {
496
- input.ui-button {
497
- height: 30px !important;
498
- vertical-align: bottom;
499
- }
500
- }
501
-
502
- /*button icon element(s) */
503
- .ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
504
- .ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
505
- .ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
506
- .ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
507
- .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
508
-
509
- /*button sets*/
510
- .ui-buttonset { margin-right: 7px; }
511
- .ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }
512
- .ui-buttonset .ui-button.ui-state-active { color: #ffffff; border-color: #21759B #21759B #1E6A8D; }
513
- .ui-buttonset .ui-button.ui-state-active {
514
- background: #f9f9f9 url(images/bg_fallback.png) 0 -50px repeat-x; /* Old browsers */
515
- background: -moz-linear-gradient(top, #2e9fd2 0%, #21759B 100%); /* FF3.6+ */
516
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2e9fd2), color-stop(100%,#21759B)); /* Chrome,Safari4+ */
517
- background: -webkit-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Chrome10+,Safari5.1+ */
518
- background: -o-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Opera11.10+ */
519
- background: -ms-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* IE10+ */
520
- background: linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* W3C */
521
- -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
522
- -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
523
- box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
524
- }
525
-
526
- /* workarounds */
527
- button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
528
- /*
529
- * jQuery UI Dialog 1.8.7
530
- *
531
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
532
- * Dual licensed under the MIT or GPL Version 2 licenses.
533
- * http://jquery.org/license
534
- *
535
- * http://docs.jquery.com/UI/Dialog#theming
536
- */
537
- .ui-dialog { position: absolute; padding: 0; width: 300px; overflow: hidden; }
538
- .ui-dialog {
539
- -webkit-box-shadow: 0 2px 12px rgba(0,0,0,0.6);
540
- -moz-box-shadow: 0 2px 12px rgba(0,0,0,0.6);
541
- box-shadow: 0 2px 12px rgba(0,0,0,0.6);
542
- outline:none;
543
- }
544
- .ui-dialog .ui-dialog-titlebar { padding: 0.7em 1em 0.6em 1em; position: relative; border: none; border-bottom: 1px solid #dfdfdf; -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0; }
545
- .ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .2em 0; font-size: 12px; text-shadow: 0 1px 0 rgba(255,255,255,0.5); }
546
- .ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .8em; top: 60%; width: 16px; margin: -10px 0 0 0; padding: 0; height: 16px; overflow:hidden; border:none; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
547
- .ui-dialog .ui-dialog-titlebar-close span { display: block; background: url(images/icon_sprite.png) 0 -16px no-repeat; top:0; left:0; margin:0; }
548
- .ui-dialog .ui-dialog-titlebar-close span.ui-button-text { display:none; }
549
- .ui-dialog .ui-dialog-titlebar-close:hover span { background-position: -16px -16px; }
550
- .ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; border:none; background:none; }
551
- .ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
552
- .ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
553
- .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
554
- .ui-dialog .ui-dialog-buttonpane button {
555
- margin: .5em .4em .5em 0;
556
- cursor: pointer;
557
- outline: none;
558
- color: #ffffff;
559
- border-color: #21759b #21759b #1e6a8d;
560
- background: #f9f9f9 url(images/bg_fallback.png) 0 -50px repeat-x; /* Old browsers */
561
- background: -moz-linear-gradient(top, #2e9fd2 0%, #21759B 100%); /* FF3.6+ */
562
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2e9fd2), color-stop(100%,#21759B)); /* Chrome,Safari4+ */
563
- background: -webkit-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Chrome10+,Safari5.1+ */
564
- background: -o-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Opera11.10+ */
565
- background: -ms-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* IE10+ */
566
- background: linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* W3C */
567
- -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
568
- -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
569
- box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
570
- }
571
- .ui-dialog .ui-dialog-buttonpane .ui-button-text {
572
- text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
573
- }
574
- .ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
575
- .ui-draggable .ui-dialog-titlebar { cursor: move; }
576
- /*
577
- * jQuery UI Slider 1.8.16
578
- *
579
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
580
- * Dual licensed under the MIT or GPL Version 2 licenses.
581
- * http://jquery.org/license
582
- *
583
- * http://docs.jquery.com/UI/Slider#theming
584
- */
585
- .ui-slider { position: relative; text-align: left; background: #f1f1f1; border: none; -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.3) inset; -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.3) inset; box-shadow: 0 1px 3px rgba(0,0,0,0.3) inset; display: inline-block; *display: inline !important; *zoom: 1; }
586
- .ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 17px; height: 21px; cursor: default; background: url(images/slider_handles.png) 0 0 no-repeat; outline: none; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; border: none; }
587
- .ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background: #2e9fd2; -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.4) inset; -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.4) inset; box-shadow: 0 1px 3px rgba(0,0,0,0.4) inset; }
588
- .ui-slider .ui-slider-handle.ui-state-active { background-position: -17px 0; }
589
-
590
- .ui-slider-horizontal { height: 7px; }
591
- .ui-slider-horizontal .ui-slider-handle { top: -5px; margin-left: -.6em; }
592
- .ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
593
- .ui-slider-horizontal .ui-slider-range-min { left: 0; }
594
- .ui-slider-horizontal .ui-slider-range-max { right: 0; }
595
-
596
- .ui-slider-vertical { width: 7px; height: 100px; }
597
- .ui-slider-vertical .ui-slider-handle { left: -.4em; margin-left: 0; margin-bottom: -.6em; }
598
- .ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
599
- .ui-slider-vertical .ui-slider-range-min { bottom: 0; }
600
- .ui-slider-vertical .ui-slider-range-max { top: 0; }/*
601
- * jQuery UI Tabs 1.8.7
602
- *
603
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
604
- * Dual licensed under the MIT or GPL Version 2 licenses.
605
- * http://jquery.org/license
606
- *
607
- * http://docs.jquery.com/UI/Tabs#theming
608
- */
609
- .ui-tabs { position: relative; zoom: 1; border: 0; background: transparent; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
610
- .ui-tabs .ui-tabs-nav { margin: 0; padding: 0; background: transparent; border-width: 0 0 1px 0; }
611
- .ui-tabs .ui-tabs-nav {
612
- -moz-border-radius: 0;
613
- -webkit-border-radius: 0;
614
- border-radius: 0;
615
- }
616
- .ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset; -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;}
617
- .ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; font-size: 12px; font-weight: normal; outline: none; }
618
- .ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; background: #fff; border-color: #dfdfdf; }
619
- .ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; outline: none; color:#333; }
620
- .ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
621
- .ui-tabs .ui-tabs-panel { display: block; border-width: 0 1px 1px 1px; padding: 1em 1.4em; background: none; }
622
- .ui-tabs .ui-tabs-panel { background: #FFF;
623
- -moz-border-radius: 0;
624
- -webkit-border-radius: 0;
625
- border-radius: 0;
626
- }
627
- .ui-tabs .ui-tabs-hide { display: none !important; }
628
- /*
629
- * jQuery UI Datepicker 1.8.7
630
- *
631
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
632
- * Dual licensed under the MIT or GPL Version 2 licenses.
633
- * http://jquery.org/license
634
- *
635
- * http://docs.jquery.com/UI/Datepicker#theming
636
- */
637
- .ui-datepicker { width: 17em; padding: 0; display: none; border-color: #DDDDDD; }
638
- .ui-datepicker {
639
- -moz-box-shadow: 0 4px 8px rgba(0,0,0,0.5);
640
- -webkit-box-shadow: 0 4px 8px rgba(0,0,0,0.5);
641
- box-shadow: 0 4px 8px rgba(0,0,0,0.5);
642
- }
643
- .ui-datepicker .ui-datepicker-header { position:relative; padding:.35em 0; border: none; border-bottom: 1px solid #dfdfdf; -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0; }
644
- .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 6px; width: 1.8em; height: 1.8em; }
645
- .ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { border: 1px none; }
646
- .ui-datepicker .ui-datepicker-prev { left:2px; }
647
- .ui-datepicker .ui-datepicker-next { right:2px; }
648
- .ui-datepicker .ui-datepicker-prev span { background-position: 0px -32px !important; }
649
- .ui-datepicker .ui-datepicker-next span { background-position: -16px -32px !important; }
650
- .ui-datepicker .ui-datepicker-prev-hover span { background-position: 0px -48px !important; }
651
- .ui-datepicker .ui-datepicker-next-hover span { background-position: -16px -48px !important; }
652
- .ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; background: url(images/icon_sprite.png) no-repeat; }
653
- .ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; font-size: 12px; text-shadow: 0 1px 0 rgba(255,255,255,0.6); }
654
- .ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
655
- .ui-datepicker select.ui-datepicker-month-year {width: 100%;}
656
- .ui-datepicker select.ui-datepicker-month,
657
- .ui-datepicker select.ui-datepicker-year { width: 49%;}
658
- .ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
659
- .ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: normal; border: 0; }
660
- .ui-datepicker td { border: 0; padding: 1px; }
661
- .ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: center; text-decoration: none; }
662
- .ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
663
- .ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; width:auto; overflow:visible; height:25px; line-height:22px; padding: 0 10px 1px; }
664
- .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
665
- .ui-datepicker table .ui-state-highlight { }
666
- .ui-datepicker table .ui-state-hover {
667
- border: 1px solid #dfdfdf;
668
- background: #f9f9f9 url(images/bg_fallback.png) 0 0 repeat-x; /* Old browsers */
669
- background: -moz-linear-gradient(top, #f9f9f9 0%, #ececec 100%); /* FF3.6+ */
670
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f9f9), color-stop(100%,#ececec)); /* Chrome,Safari4+ */
671
- background: -webkit-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* Chrome10+,Safari5.1+ */
672
- background: -o-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* Opera11.10+ */
673
- background: -ms-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* IE10+ */
674
- background: linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* W3C */
675
- -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
676
- -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
677
- box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
678
- }
679
- .ui-datepicker-calendar .ui-state-default { background:none; border-color:#fff; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
680
- .ui-datepicker-calendar .ui-state-active, .ui-datepicker-calendar .ui-state-active.ui-state-hover {
681
- outline: none;
682
- color: #ffffff;
683
- border-color: #21759b #21759b #1e6a8d;
684
- background: #f9f9f9 url(images/bg_fallback.png) 0 -50px repeat-x; /* Old browsers */
685
- background: -moz-linear-gradient(top, #2e9fd2 0%, #21759B 100%); /* FF3.6+ */
686
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2e9fd2), color-stop(100%,#21759B)); /* Chrome,Safari4+ */
687
- background: -webkit-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Chrome10+,Safari5.1+ */
688
- background: -o-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Opera11.10+ */
689
- background: -ms-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* IE10+ */
690
- background: linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* W3C */
691
- -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
692
- -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
693
- box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
694
- text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
695
- font-weight: normal;
696
- }
697
-
698
- /* with multiple calendars */
699
- .ui-datepicker.ui-datepicker-multi { width:auto; }
700
- .ui-datepicker-multi .ui-datepicker-group { float:left; }
701
- .ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
702
- .ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
703
- .ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
704
- .ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
705
- .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
706
- .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
707
- .ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
708
- .ui-datepicker-row-break { clear:both; width:100%; }
709
-
710
- /* RTL support */
711
- .ui-datepicker-rtl { direction: rtl; }
712
- .ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
713
- .ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
714
- .ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
715
- .ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
716
- .ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
717
- .ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
718
- .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
719
- .ui-datepicker-rtl .ui-datepicker-group { float:right; }
720
- .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
721
- .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
722
-
723
- /* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
724
- .ui-datepicker-cover {
725
- display: none; /*sorry for IE5*/
726
- display/**/: block; /*sorry for IE5*/
727
- position: absolute; /*must have*/
728
- z-index: -1; /*must have*/
729
- filter: mask(); /*must have*/
730
- top: -4px; /*must have*/
731
- left: -4px; /*must have*/
732
- width: 200px; /*must have*/
733
- height: 200px; /*must have*/
734
- }
735
- /*
736
- * jQuery UI Progressbar 1.8.16
737
- *
738
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
739
- * Dual licensed under the MIT or GPL Version 2 licenses.
740
- * http://jquery.org/license
741
- *
742
- * http://docs.jquery.com/UI/Progressbar#theming
743
- */
744
- .ui-progressbar { height: 10px; text-align: left; border: 0 none; background: #f1f1f1; border: none; -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.3) inset; -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.3) inset; box-shadow: 0 1px 3px rgba(0,0,0,0.3) inset;
745
- }
746
- .ui-progressbar .ui-progressbar-value { margin: -1px; height:100%; border: 0 none; }
747
- .ui-progressbar .ui-progressbar-value { background: #2e9fd2; -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.4) inset; -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.4) inset; box-shadow: 0 1px 3px rgba(0,0,0,0.4) inset;
748
- }
749
-
750
- /* Extra Input Field Styling */
751
- .ui-form textarea, .ui-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]) {
752
- color:#333;
753
- padding: 3px;
754
- -webkit-border-radius: 2px;
755
- -moz-border-radius: 2px;
756
- border-radius: 2px;
757
- border: 1px solid #dfdfdf;
758
- outline: none;
759
- -webkit-transition: all 0.25s ease-in-out;
760
- -moz-transition: all 0.25 ease-in-out;
761
- -o-transition: all 0.25s ease-in-out;
762
- -moz-box-sizing: border-box;
763
- font-family:Arial, Helvetica, sans-serif;
764
- font-size:12px;
765
- }
766
- .ui-form textarea:hover, .ui-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]):hover {
767
- border: 1px solid #dfdfdf;
768
- }
769
- .ui-form textarea:focus, .ui-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]):focus {
770
- border: 1px solid #aaa;
771
- -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
772
- -moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
773
- box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
774
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/class-core.php CHANGED
@@ -204,15 +204,15 @@ class Math_Captcha_Core
204
  if(Math_Captcha()->cookie_session->session_ids['default'] !== '' && get_transient('mc_'.Math_Captcha()->cookie_session->session_ids['default']) !== false)
205
  {
206
  if(strcmp(get_transient('mc_'.Math_Captcha()->cookie_session->session_ids['default']), sha1(AUTH_KEY.$_POST['mc-value'].Math_Captcha()->cookie_session->session_ids['default'], false)) !== 0)
207
- $results['errors']->add('math-captcha-error', $this->error_messages['wrong']);
208
  }
209
  else
210
- $results['errors']->add('math-captcha-error', $this->error_messages['time']);
211
  }
212
  else
213
- $results['errors']->add('math-captcha-error', $this->error_messages['fill']);
214
 
215
- return $results;
216
  }
217
 
218
 
204
  if(Math_Captcha()->cookie_session->session_ids['default'] !== '' && get_transient('mc_'.Math_Captcha()->cookie_session->session_ids['default']) !== false)
205
  {
206
  if(strcmp(get_transient('mc_'.Math_Captcha()->cookie_session->session_ids['default']), sha1(AUTH_KEY.$_POST['mc-value'].Math_Captcha()->cookie_session->session_ids['default'], false)) !== 0)
207
+ $result['errors']->add('math-captcha-error', $this->error_messages['wrong']);
208
  }
209
  else
210
+ $result['errors']->add('math-captcha-error', $this->error_messages['time']);
211
  }
212
  else
213
+ $result['errors']->add('math-captcha-error', $this->error_messages['fill']);
214
 
215
+ return $result;
216
  }
217
 
218
 
includes/class-settings.php CHANGED
@@ -173,6 +173,8 @@ class Math_Captcha_Settings
173
  <div id="mc_general_hide_for_logged_users">
174
  <fieldset>
175
  <input id="mc-general-hide-for-logged" type="checkbox" name="math_captcha_options[hide_for_logged_users]" '.checked(true, Math_Captcha()->options['general']['hide_for_logged_users'], false).'/><label for="mc-general-hide-for-logged">'.__('Enable to hide captcha for logged in users.', 'math-captcha').'</label>
 
 
176
  </fieldset>
177
  </div>';
178
  }
@@ -265,6 +267,8 @@ class Math_Captcha_Settings
265
  <div id="mc_general_block_direct_comments">
266
  <fieldset>
267
  <input id="mc-general-block-direct-comments" type="checkbox" name="math_captcha_options[block_direct_comments]" '.checked(true, Math_Captcha()->options['general']['block_direct_comments'], false).'/><label for="mc-general-block-direct-comments">'.__('Blocks direct access to wp-comments-post.php. Enable this to prevent spambots from posting to Wordpress via a URL.', 'math-captcha').'</label>
 
 
268
  </fieldset>
269
  </div>';
270
  }
@@ -279,6 +283,8 @@ class Math_Captcha_Settings
279
  <div id="mc_general_deactivation_delete">
280
  <fieldset>
281
  <input id="mc-general-deactivation-delete" type="checkbox" name="math_captcha_options[deactivation_delete]" '.checked(true, Math_Captcha()->options['general']['deactivation_delete'], false).'/><label for="mc-general-deactivation-delete">'.__('Delete settings on plugin deactivation.', 'math-captcha').'</label>
 
 
282
  </fieldset>
283
  </div>';
284
  }
173
  <div id="mc_general_hide_for_logged_users">
174
  <fieldset>
175
  <input id="mc-general-hide-for-logged" type="checkbox" name="math_captcha_options[hide_for_logged_users]" '.checked(true, Math_Captcha()->options['general']['hide_for_logged_users'], false).'/><label for="mc-general-hide-for-logged">'.__('Enable to hide captcha for logged in users.', 'math-captcha').'</label>
176
+ <br/>
177
+ <span class="description">'.__('Would you like to hide captcha for logged in users?', 'math-captcha').'</span>
178
  </fieldset>
179
  </div>';
180
  }
267
  <div id="mc_general_block_direct_comments">
268
  <fieldset>
269
  <input id="mc-general-block-direct-comments" type="checkbox" name="math_captcha_options[block_direct_comments]" '.checked(true, Math_Captcha()->options['general']['block_direct_comments'], false).'/><label for="mc-general-block-direct-comments">'.__('Blocks direct access to wp-comments-post.php. Enable this to prevent spambots from posting to Wordpress via a URL.', 'math-captcha').'</label>
270
+ <br/>
271
+ <span class="description">'.__('Blocks direct access to wp-comments-post.php. Enable this to prevent spambots from posting to Wordpress via a URL.', 'math-captcha').'</span>
272
  </fieldset>
273
  </div>';
274
  }
283
  <div id="mc_general_deactivation_delete">
284
  <fieldset>
285
  <input id="mc-general-deactivation-delete" type="checkbox" name="math_captcha_options[deactivation_delete]" '.checked(true, Math_Captcha()->options['general']['deactivation_delete'], false).'/><label for="mc-general-deactivation-delete">'.__('Delete settings on plugin deactivation.', 'math-captcha').'</label>
286
+ <br/>
287
+ <span class="description">'.__('Delete settings on plugin deactivation', 'math-captcha').'</span>
288
  </fieldset>
289
  </div>';
290
  }
includes/math-captcha-cf7.php DELETED
@@ -1,176 +0,0 @@
1
- <?php
2
- /**
3
- A module for [mathcaptcha]
4
- **/
5
-
6
- //shortcode handler
7
- add_action('init', 'wpcf7_add_shortcode_mathcaptcha', 5);
8
-
9
- function wpcf7_add_shortcode_mathcaptcha()
10
- {
11
- wpcf7_add_shortcode('mathcaptcha', 'wpcf7_mathcaptcha_shortcode_handler', TRUE);
12
- }
13
-
14
- function wpcf7_mathcaptcha_shortcode_handler($tag)
15
- {
16
- global $mc_class;
17
-
18
- $tag = new WPCF7_Shortcode($tag);
19
-
20
- if(empty($tag->name))
21
- return '';
22
-
23
- $validation_error = wpcf7_get_validation_error($tag->name);
24
- $class = wpcf7_form_controls_class($tag->type);
25
-
26
- if($validation_error)
27
- {
28
- $class .= ' wpcf7-not-valid';
29
- }
30
-
31
- $atts = array();
32
- $atts['size'] = 2;
33
- $atts['maxlength'] = 2;
34
- $atts['class'] = $tag->get_class_option($class);
35
- $atts['id'] = $tag->get_option('id', 'id', true);
36
- $atts['tabindex'] = $tag->get_option('tabindex', 'int', true);
37
- $atts['aria-required'] = 'true';
38
- $atts['type'] = 'text';
39
- $atts['name'] = $tag->name;
40
- $atts['value'] = '';
41
- $atts = wpcf7_format_atts($atts);
42
-
43
- $mc_form = $mc_class->generate_captcha_phrase('cf7');
44
- $mc_form[$mc_form['input']] = '<input %2$s />';
45
-
46
- return sprintf('<label>'.apply_filters('math_captcha_title', $mc_class->get_attribute('title')).'</label><br /><span class="wpcf7-form-control-wrap %1$s">'.$mc_form[1].$mc_form[2].$mc_form[3].'%3$s</span>', $tag->name, $atts, $validation_error);
47
- }
48
-
49
-
50
- //validation
51
- add_filter('wpcf7_validate_mathcaptcha', 'wpcf7_mathcaptcha_validation_filter', 10, 2);
52
-
53
- function wpcf7_mathcaptcha_validation_filter($result, $tag)
54
- {
55
- global $mc_class;
56
-
57
- $tag = new WPCF7_Shortcode($tag);
58
- $name = $tag->name;
59
-
60
- if(!is_admin() && isset($_POST[$name]))
61
- {
62
- if($_POST[$name] !== '')
63
- {
64
- if($mc_class->get_attribute('session_id') !== '' && get_transient('cf7_'.$mc_class->get_attribute('session_id')) !== FALSE)
65
- {
66
- if(strcmp(get_transient('cf7_'.$mc_class->get_attribute('session_id')), sha1($mc_class->get_attribute('crypt_key').$_POST[$name].$mc_class->get_attribute('session_id'), FALSE)) !== 0)
67
- {
68
- $result['valid'] = FALSE;
69
- $result['reason'][$name] = wpcf7_get_message('wrong_mathcaptcha');
70
- }
71
- }
72
- else
73
- {
74
- $result['valid'] = FALSE;
75
- $result['reason'][$name] = wpcf7_get_message('time_mathcaptcha');
76
- }
77
- }
78
- else
79
- {
80
- $result['valid'] = FALSE;
81
- $result['reason'][$name] = wpcf7_get_message('fill_mathcaptcha');
82
- }
83
- }
84
-
85
- return $result;
86
- }
87
-
88
-
89
- //messages
90
- add_filter('wpcf7_messages', 'wpcf7_mathcaptcha_messages');
91
-
92
- function wpcf7_mathcaptcha_messages($messages)
93
- {
94
- global $mc_class;
95
-
96
- return array_merge(
97
- $messages,
98
- array(
99
- 'wrong_mathcaptcha' => array(
100
- 'description' => __('Invalid captcha value.', 'math-captcha'),
101
- 'default' => $mc_class->err_msg['wrong']
102
- ),
103
- 'fill_mathcaptcha' => array(
104
- 'description' => __('Please enter captcha value.', 'math-captcha'),
105
- 'default' => $mc_class->err_msg['fill']
106
- ),
107
- 'time_mathcaptcha' => array(
108
- 'description' => __('Captcha time expired.', 'math-captcha'),
109
- 'default' => $mc_class->err_msg['time']
110
- )
111
- )
112
- );
113
- }
114
-
115
-
116
- //warning message
117
- add_action('wpcf7_admin_notices', 'wpcf7_mathcaptcha_display_warning_message');
118
-
119
- function wpcf7_mathcaptcha_display_warning_message()
120
- {
121
- if(empty($_GET['post']) || !($contact_form = wpcf7_contact_form( $_GET['post'])))
122
- return;
123
-
124
- $has_tags = (bool)$contact_form->form_scan_shortcode(array('type' => array('mathcaptcha')));
125
-
126
- if(!$has_tags)
127
- return;
128
- }
129
-
130
-
131
- //tag generator
132
- add_action('admin_init', 'wpcf7_add_tag_generator_mathcaptcha', 45);
133
-
134
- function wpcf7_add_tag_generator_mathcaptcha()
135
- {
136
- if(!function_exists('wpcf7_add_tag_generator'))
137
- return;
138
-
139
- wpcf7_add_tag_generator('mathcaptcha', __('Math Captcha', 'math-captcha'), 'wpcf7-mathcaptcha', 'wpcf7_tg_pane_mathcaptcha');
140
- }
141
-
142
-
143
- function wpcf7_tg_pane_mathcaptcha(&$contact_form)
144
- {
145
- echo '
146
- <div id="wpcf7-mathcaptcha" class="hidden">
147
- <form action="">
148
- <table>
149
- <tr>
150
- <td>
151
- '.esc_html(__('Name', 'math-captcha')).'<br />
152
- <input type="text" name="name" class="tg-name oneline" />
153
- </td>
154
- </tr>
155
- </table>
156
- <table class="scope mathcaptcha">
157
- <caption>'.esc_html(__('Input field settings', 'math-captcha')).'</caption>
158
- <tr>
159
- <td>
160
- <code>id</code> ('.esc_html(__('optional', 'math-captcha')).')<br />
161
- <input type="text" name="id" class="idvalue oneline option" />
162
- </td>
163
- <td>
164
- <code>class</code> ('.esc_html(__('optional', 'math-captcha')).')<br />
165
- <input type="text" name="class" class="classvalue oneline option" />
166
- </td>
167
- </tr>
168
- </table>
169
- <div class="tg-tag">
170
- '.esc_html(__('Copy this code and paste it into the form left.', 'math-captcha')).'<br />
171
- <input type="text" name="mathcaptcha" class="tag" readonly="readonly" onfocus="this.select()" />
172
- </div>
173
- </form>
174
- </div>';
175
- }
176
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/math-captcha-sk_SK.mo ADDED
Binary file
languages/math-captcha-sk_SK.po ADDED
@@ -0,0 +1,371 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Math Captcha SK\n"
4
+ "POT-Creation-Date: 2014-10-22 06:09+0100\n"
5
+ "PO-Revision-Date: 2014-10-22 07:18+0100\n"
6
+ "Last-Translator: Jan Fajcak <ja@fajo.name>\n"
7
+ "Language-Team: Jan Fajcak <ja@fajo.name>\n"
8
+ "Language: sk\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.6.10\n"
13
+ "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-SearchPath-0: ..\n"
17
+
18
+ #: ../includes/class-core.php:39 ../includes/class-core.php:40
19
+ #: ../includes/class-core.php:41
20
+ msgid "ERROR"
21
+ msgstr "CHYBA"
22
+
23
+ #: ../includes/class-core.php:39 ../includes/integration-cf7.php:104
24
+ #: ../includes/math-captcha-cf7.php:104
25
+ msgid "Please enter captcha value."
26
+ msgstr "Prosím, vložte správny výsledok."
27
+
28
+ #: ../includes/class-core.php:40 ../includes/integration-cf7.php:100
29
+ #: ../includes/math-captcha-cf7.php:100
30
+ msgid "Invalid captcha value."
31
+ msgstr "Nesprávny výsledok."
32
+
33
+ #: ../includes/class-core.php:41 ../includes/integration-cf7.php:108
34
+ #: ../includes/math-captcha-cf7.php:108
35
+ msgid "Captcha time expired."
36
+ msgstr "Čas na vloženie výsledku vypršal."
37
+
38
+ #: ../includes/class-core.php:428
39
+ msgid "one"
40
+ msgstr "jeden"
41
+
42
+ #: ../includes/class-core.php:429
43
+ msgid "two"
44
+ msgstr "dva"
45
+
46
+ #: ../includes/class-core.php:430
47
+ msgid "three"
48
+ msgstr "tri"
49
+
50
+ #: ../includes/class-core.php:431
51
+ msgid "four"
52
+ msgstr "štyri"
53
+
54
+ #: ../includes/class-core.php:432
55
+ msgid "five"
56
+ msgstr "päť"
57
+
58
+ #: ../includes/class-core.php:433
59
+ msgid "six"
60
+ msgstr "šesť"
61
+
62
+ #: ../includes/class-core.php:434
63
+ msgid "seven"
64
+ msgstr "sedem"
65
+
66
+ #: ../includes/class-core.php:435
67
+ msgid "eight"
68
+ msgstr "osem"
69
+
70
+ #: ../includes/class-core.php:436
71
+ msgid "nine"
72
+ msgstr "deväť"
73
+
74
+ #: ../includes/class-core.php:437
75
+ msgid "ten"
76
+ msgstr "desať"
77
+
78
+ #: ../includes/class-core.php:438
79
+ msgid "eleven"
80
+ msgstr "jedenásť"
81
+
82
+ #: ../includes/class-core.php:439
83
+ msgid "twelve"
84
+ msgstr "dvanásť"
85
+
86
+ #: ../includes/class-core.php:440
87
+ msgid "thirteen"
88
+ msgstr "trinásť"
89
+
90
+ #: ../includes/class-core.php:441
91
+ msgid "fourteen"
92
+ msgstr "štrnásť"
93
+
94
+ #: ../includes/class-core.php:442
95
+ msgid "fifteen"
96
+ msgstr "pätnásť"
97
+
98
+ #: ../includes/class-core.php:443
99
+ msgid "sixteen"
100
+ msgstr "šestnásť"
101
+
102
+ #: ../includes/class-core.php:444
103
+ msgid "seventeen"
104
+ msgstr "sedemnásť"
105
+
106
+ #: ../includes/class-core.php:445
107
+ msgid "eighteen"
108
+ msgstr "osemnásť"
109
+
110
+ #: ../includes/class-core.php:446
111
+ msgid "nineteen"
112
+ msgstr "devätnásť"
113
+
114
+ #: ../includes/class-core.php:447
115
+ msgid "twenty"
116
+ msgstr "dvadsať"
117
+
118
+ #: ../includes/class-core.php:448
119
+ msgid "thirty"
120
+ msgstr "tridsať"
121
+
122
+ #: ../includes/class-core.php:449
123
+ msgid "forty"
124
+ msgstr "štyridsať"
125
+
126
+ #: ../includes/class-core.php:450
127
+ msgid "fifty"
128
+ msgstr "päťdesiat"
129
+
130
+ #: ../includes/class-core.php:451
131
+ msgid "sixty"
132
+ msgstr "šesťdesiat"
133
+
134
+ #: ../includes/class-core.php:452
135
+ msgid "seventy"
136
+ msgstr "sedemdesiat"
137
+
138
+ #: ../includes/class-core.php:453
139
+ msgid "eighty"
140
+ msgstr "osemdesiat"
141
+
142
+ #: ../includes/class-core.php:454
143
+ msgid "ninety"
144
+ msgstr "deväťdesiat"
145
+
146
+ #: ../includes/class-settings.php:34
147
+ msgid "login form"
148
+ msgstr "prihlasovanie"
149
+
150
+ #: ../includes/class-settings.php:35
151
+ msgid "registration form"
152
+ msgstr "registrácia"
153
+
154
+ #: ../includes/class-settings.php:36
155
+ msgid "reset password form"
156
+ msgstr "obnovenie hesla"
157
+
158
+ #: ../includes/class-settings.php:37
159
+ msgid "comment form"
160
+ msgstr "komentáre"
161
+
162
+ #: ../includes/class-settings.php:38
163
+ msgid "bbpress"
164
+ msgstr "bbpress"
165
+
166
+ #: ../includes/class-settings.php:39
167
+ msgid "contact form 7"
168
+ msgstr "contact form 7"
169
+
170
+ #: ../includes/class-settings.php:43
171
+ msgid "addition (+)"
172
+ msgstr "sčítanie (+)"
173
+
174
+ #: ../includes/class-settings.php:44
175
+ msgid "subtraction (-)"
176
+ msgstr "odčítanie (-)"
177
+
178
+ #: ../includes/class-settings.php:45
179
+ msgid "multiplication (&#215;)"
180
+ msgstr "násobenie (&#215;)"
181
+
182
+ #: ../includes/class-settings.php:46
183
+ msgid "division (&#247;)"
184
+ msgstr "delenie (&#247;)"
185
+
186
+ #: ../includes/class-settings.php:50
187
+ msgid "numbers"
188
+ msgstr "čísla"
189
+
190
+ #: ../includes/class-settings.php:51
191
+ msgid "words"
192
+ msgstr "slová"
193
+
194
+ #: ../includes/class-settings.php:62 ../includes/class-settings.php:63
195
+ #: ../includes/class-settings.php:78 ../includes/class-settings.php:81
196
+ #: ../includes/integration-cf7.php:139 ../includes/math-captcha-cf7.php:139
197
+ msgid "Math Captcha"
198
+ msgstr "Math Captcha"
199
+
200
+ #: ../includes/class-settings.php:83
201
+ msgid "Need support?"
202
+ msgstr "Potrebujete pomoc?"
203
+
204
+ #: ../includes/class-settings.php:84
205
+ msgid ""
206
+ "If you are having problems with this plugin, please talk about them in the"
207
+ msgstr "Ak máte problém s týmto modulom, prosím povedzte o tom na"
208
+
209
+ #: ../includes/class-settings.php:84
210
+ msgid "Support forum"
211
+ msgstr "Fóre podpory"
212
+
213
+ #: ../includes/class-settings.php:86
214
+ msgid "Do you like this plugin?"
215
+ msgstr "Páči sa vám tento modul?"
216
+
217
+ #: ../includes/class-settings.php:87
218
+ msgid "Rate it 5"
219
+ msgstr "Ohodnoďte ho"
220
+
221
+ #: ../includes/class-settings.php:87
222
+ msgid "on WordPress.org"
223
+ msgstr "na WordPress.org "
224
+
225
+ #: ../includes/class-settings.php:88
226
+ msgid "Blog about it & link to the"
227
+ msgstr "Blog o module a odkaz na"
228
+
229
+ #: ../includes/class-settings.php:88
230
+ msgid "plugin page"
231
+ msgstr "stránka modulu"
232
+
233
+ #: ../includes/class-settings.php:89
234
+ msgid "Check out our other"
235
+ msgstr "Pozrite sa na ďalšie naše"
236
+
237
+ #: ../includes/class-settings.php:89
238
+ msgid "WordPress plugins"
239
+ msgstr "WordPress moduly"
240
+
241
+ #: ../includes/class-settings.php:114
242
+ msgid "Reset to defaults"
243
+ msgstr "Obnoviť predvolené nastavenia"
244
+
245
+ #: ../includes/class-settings.php:132
246
+ msgid "Math Captcha settings"
247
+ msgstr "Nastavenia Math Captcha"
248
+
249
+ #: ../includes/class-settings.php:133
250
+ msgid "Enable Math Captcha for"
251
+ msgstr "Zapnúť Math Captcha pre"
252
+
253
+ #: ../includes/class-settings.php:134
254
+ msgid "Hide for logged in users"
255
+ msgstr "Skryť pre prihlásených používateľov"
256
+
257
+ #: ../includes/class-settings.php:135
258
+ msgid "Mathematical operations"
259
+ msgstr "Matematické operácie"
260
+
261
+ #: ../includes/class-settings.php:136
262
+ msgid "Display captcha as"
263
+ msgstr "Zobraziť captchu ako"
264
+
265
+ #: ../includes/class-settings.php:137
266
+ msgid "Captcha field title"
267
+ msgstr "Titulok poľa Captcha"
268
+
269
+ #: ../includes/class-settings.php:138
270
+ msgid "Captcha time"
271
+ msgstr "Čas vypršania"
272
+
273
+ #: ../includes/class-settings.php:139
274
+ msgid "Block Direct Comments"
275
+ msgstr "Blokovať priame komentáre"
276
+
277
+ #: ../includes/class-settings.php:140
278
+ msgid "Deactivation"
279
+ msgstr "Deaktivácia"
280
+
281
+ #: ../includes/class-settings.php:161
282
+ msgid "Select where you'd like to use Math Captcha."
283
+ msgstr "Vyberte, kde chcete captchu použiť."
284
+
285
+ #: ../includes/class-settings.php:175
286
+ msgid "Enable to hide captcha for logged in users."
287
+ msgstr "Skryť captchu pre prihlásených používateľov."
288
+
289
+ #: ../includes/class-settings.php:198
290
+ msgid "Select which mathematical operations to use in your captcha."
291
+ msgstr "Vyberte matematickú operáciu, ktorú chcete použiť."
292
+
293
+ #: ../includes/class-settings.php:221
294
+ msgid "Select how you'd like to display you captcha."
295
+ msgstr "Vyberte, ako chcete zobraziť captchu."
296
+
297
+ #: ../includes/class-settings.php:237
298
+ msgid "How to entitle field with captcha?"
299
+ msgstr "Vložte titulok pre pole s captchou."
300
+
301
+ #: ../includes/class-settings.php:253
302
+ msgid "Enter the time (in seconds) a user has to enter captcha value."
303
+ msgstr "Vložte čas (v sekundách) na zadanie správnej hodnoty captche."
304
+
305
+ #: ../includes/class-settings.php:267
306
+ msgid ""
307
+ "Blocks direct access to wp-comments-post.php. Enable this to prevent "
308
+ "spambots from posting to Wordpress via a URL."
309
+ msgstr ""
310
+ "Blokovať priamy prístup do wp-comments-post.php. Zapnite a zabráňte "
311
+ "spambotom publikovať vo WordPress cez URL."
312
+
313
+ #: ../includes/class-settings.php:281
314
+ msgid "Delete settings on plugin deactivation."
315
+ msgstr "Vymazať nastavenia pri deaktivovaní modulu."
316
+
317
+ #: ../includes/class-settings.php:325
318
+ msgid ""
319
+ "You need to check at least one mathematical operation. Defaults settings of "
320
+ "this option restored."
321
+ msgstr "Je potrebné označiť aspoň jednu matematickú operáciu."
322
+
323
+ #: ../includes/class-settings.php:344
324
+ msgid ""
325
+ "You need to check at least one group. Defaults settings of this option "
326
+ "restored."
327
+ msgstr "Je potrebné označiť aspoň jednu skupinu."
328
+
329
+ #: ../includes/class-settings.php:381
330
+ msgid "Settings restored to defaults."
331
+ msgstr "Nastavenia obnovené na pôvodné hodnoty."
332
+
333
+ #: ../includes/integration-cf7.php:151 ../includes/math-captcha-cf7.php:151
334
+ msgid "Name"
335
+ msgstr "Meno"
336
+
337
+ #: ../includes/integration-cf7.php:157 ../includes/math-captcha-cf7.php:157
338
+ msgid "Input field settings"
339
+ msgstr "Nastavenia vstupného poľa"
340
+
341
+ #: ../includes/integration-cf7.php:160 ../includes/integration-cf7.php:164
342
+ #: ../includes/math-captcha-cf7.php:160 ../includes/math-captcha-cf7.php:164
343
+ msgid "optional"
344
+ msgstr "voliteľné"
345
+
346
+ #: ../includes/integration-cf7.php:170 ../includes/math-captcha-cf7.php:170
347
+ msgid "Copy this code and paste it into the form left."
348
+ msgstr "Skopírujte tento kód a vložte ho do formulára vľavo."
349
+
350
+ #: ../wp-math-captcha.php:167
351
+ msgid "Are you sure you want to reset these settings to defaults?"
352
+ msgstr "Naozaj chcete obnoviť pôvodné nastavenia modulu?"
353
+
354
+ #: ../wp-math-captcha.php:202
355
+ msgid "Support"
356
+ msgstr "Podpora "
357
+
358
+ #: ../wp-math-captcha.php:224
359
+ msgid "Settings"
360
+ msgstr "Nastavenia"
361
+
362
+ #~ msgid "yes"
363
+ #~ msgstr "ano"
364
+
365
+ #~ msgid "no"
366
+ #~ msgstr "ne"
367
+
368
+ #~ msgid ""
369
+ #~ "Select what kind of mathematical operations will be used to generate "
370
+ #~ "captcha."
371
+ #~ msgstr "Vyberte, jaký druh matematické operace má captcha generovat."
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.dfactory.eu/
4
  Tags: antispam, capcha, captcha, captha, catcha, comment, comments, spam, security, login, lost password, math captcha, registration, cf7, contact, contact forms, form, contact form 7, bbpress
5
  Requires at least: 3.3
6
  Tested up to: 4.0
7
- Stable tag: 1.2.0
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
@@ -39,7 +39,7 @@ For more information, check out the [plugin page](http://www.dfactory.eu/plugins
39
  * Polish - by Bartosz Arendt
40
  * Persian - by [Ali Mirzaei](http://alimir.ir/)
41
  * Russian - by Valery Ryaboshapko
42
-
43
 
44
  == Installation ==
45
 
@@ -49,7 +49,9 @@ For more information, check out the [plugin page](http://www.dfactory.eu/plugins
49
 
50
  == Frequently Asked Questions ==
51
 
52
- No questions yet.
 
 
53
 
54
  == Screenshots ==
55
 
@@ -57,6 +59,9 @@ No questions yet.
57
 
58
  == Changelog ==
59
 
 
 
 
60
  = 1.2.0 =
61
  * Tweak: Added option to reset settings to defaults
62
  * Tweak: Code rewritten to singleton design pattern
@@ -110,7 +115,5 @@ No questions yet.
110
 
111
  == Upgrade Notice ==
112
 
113
- = 1.2.0 =
114
- * Tweak: Added option to reset settings to defaults
115
- * Tweak: Code rewritten to singleton design pattern
116
- * Fix: Contact Form 7 compatibility issues
4
  Tags: antispam, capcha, captcha, captha, catcha, comment, comments, spam, security, login, lost password, math captcha, registration, cf7, contact, contact forms, form, contact form 7, bbpress
5
  Requires at least: 3.3
6
  Tested up to: 4.0
7
+ Stable tag: 1.2.1
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
39
  * Polish - by Bartosz Arendt
40
  * Persian - by [Ali Mirzaei](http://alimir.ir/)
41
  * Russian - by Valery Ryaboshapko
42
+ * Slovak - by [Ján Fajčák](http://fajo.name/)
43
 
44
  == Installation ==
45
 
49
 
50
  == Frequently Asked Questions ==
51
 
52
+ = Q. I have a question =
53
+
54
+ A. Chances are, someone else has asked it. Check out the support forum at: http://www.dfactory.eu/support/
55
 
56
  == Screenshots ==
57
 
59
 
60
  == Changelog ==
61
 
62
+ = 1.2.1 =
63
+ * New: Slovak translation, thanks to [Ján Fajčák](http://fajo.name/)
64
+
65
  = 1.2.0 =
66
  * Tweak: Added option to reset settings to defaults
67
  * Tweak: Code rewritten to singleton design pattern
115
 
116
  == Upgrade Notice ==
117
 
118
+ = 1.2.1 =
119
+ * New: Slovak translation, thanks to [Ján Fajčák](http://fajo.name/)
 
 
wp-math-captcha.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Math Captcha
4
  Description: Math Captcha is a <strong>100% effective CAPTCHA for WordPress</strong> that integrates into login, registration, comments, Contact Form 7 and bbPress.
5
- Version: 1.2.0
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/math-captcha/
@@ -67,7 +67,7 @@ class Math_Captcha
67
  'deactivation_delete' => false,
68
  'flush_rules' => false
69
  ),
70
- 'version' => '1.2.0'
71
  );
72
 
73
 
2
  /*
3
  Plugin Name: Math Captcha
4
  Description: Math Captcha is a <strong>100% effective CAPTCHA for WordPress</strong> that integrates into login, registration, comments, Contact Form 7 and bbPress.
5
+ Version: 1.2.1
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/math-captcha/
67
  'deactivation_delete' => false,
68
  'flush_rules' => false
69
  ),
70
+ 'version' => '1.2.1'
71
  );
72
 
73