54b8c0ce by Jeff Balicki

removed unused plugins

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent ada974d3
Showing 1000 changed files with 0 additions and 4879 deletions

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

1 <?php
2
3 //require_once __DIR__.'/init.php';
4
5 class Wpcf7cfMailParser {
6 private $mail_body;
7 private $visible_groups;
8 private $hidden_groups;
9 private $repeaters;
10 private $posted_data;
11
12 function __construct($mail_body, $visible_groups, $hidden_groups, $repeaters, $posted_data) {
13 $this->mail_body = $mail_body;
14 $this->visible_groups = $visible_groups;
15 $this->hidden_groups = $hidden_groups;
16 $this->repeaters = $repeaters;
17 $this->posted_data = $posted_data;
18 }
19
20 public function getParsedMail() {
21 return preg_replace_callback(WPCF7CF_REGEX_MAIL_GROUP, array($this, 'hide_hidden_mail_fields_regex_callback'), $this->mail_body );
22 }
23
24 function hide_hidden_mail_fields_regex_callback ( $matches ) {
25 $name = $matches[1];
26
27 $name_parts = explode('__', $name);
28
29 $name_root = array_shift($name_parts);
30 $name_suffix = implode('__',$name_parts);
31
32 $content = $matches[2];
33
34 if ( in_array( $name, $this->hidden_groups ) ) {
35
36 // The tag name represents a hidden group, so replace everything from [tagname] to [/tagname] with nothing
37 return '';
38
39 } elseif ( in_array( $name, $this->visible_groups ) ) {
40
41 // The tag name represents a visible group, so remove the tags themselves, but return everything else
42 // ( instead of just returning the $content, return the preg_replaced content )
43 return preg_replace_callback(WPCF7CF_REGEX_MAIL_GROUP, array($this, 'hide_hidden_mail_fields_regex_callback'), $content );
44
45 } elseif ( $this->repeaters !== null && in_array( $name, $this->repeaters ) ) {
46
47 $original_name = explode('__',$name)[0];
48
49 $inner_template = $content;
50
51 ob_start();
52
53 $num_subs = $this->posted_data[$name.'_count'];
54
55 for ($i=1; $i<=$num_subs; $i++) {
56 $str = preg_replace(["/\[{$original_name}\:index[^\]]*?\]/"],$i,$inner_template);
57 //echo str_replace(']','__'.$i.']',$str);
58 echo preg_replace("/\[([^\s^\]]*?)([\s\]]+)([^\]]*?)/", "[$1__{$i}$2",$str);
59 }
60
61 $underscored_content = ob_get_clean();
62
63 return preg_replace_callback(WPCF7CF_REGEX_MAIL_GROUP, array($this, 'hide_hidden_mail_fields_regex_callback'), $underscored_content );
64
65 }else {
66
67 // The tag name doesn't represent a group that was used in the form. Leave it alone (return the entire match).
68 return $matches[0];
69
70 }
71 }
72 }
...\ No newline at end of file ...\ No newline at end of file
1 #wpcf7cf-new-entry {
2 display: inline-block;
3 display: none; }
4
5 #wpcf7cf-delete-button {
6 display: none; }
7
8 #wpcf7cf-settings-text {
9 width: 100%;
10 height: 280px;
11 font-family: "Courier New", Courier, monospace; }
12
13 #wpcf7cf-conditional-panel {
14 overflow-x: auto; }
15 #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .label, #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .field, #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .description {
16 padding: 10px;
17 display: inline-block;
18 vertical-align: middle;
19 width: 10%; }
20 #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .field {
21 width: 20%; }
22 #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .description {
23 width: 40%;
24 vertical-align: top; }
25 #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .option-line {
26 border-bottom: 1px solid #dddddd;
27 background-color: #f9f9f9;
28 padding: 0 10px; }
29 #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .option-line:nth-child(2n) {
30 background-color: #e9e9e9; }
31 #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .option-line input, #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .option-line select {
32 width: 100%; }
33 #wpcf7cf-conditional-panel .ui-autocomplete-term {
34 font-weight: bold; }
35 #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .option-line > .label.editable {
36 position: relative; }
37 #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .option-line > .label.editable input {
38 background-color: transparent;
39 border-width: 0;
40 outline: none;
41 box-shadow: none;
42 padding: 0; }
43 #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .option-line > .label.editable input:after {
44 content: "edit";
45 display: block;
46 width: 10px;
47 right: 0;
48 position: absolute; }
49 #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .option-line > .label.editable input:focus {
50 background: #fff;
51 box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
52 border: 1px solid #ddd;
53 padding: 2px; }
54 #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .option-line > .label.editable input:focus:after {
55 content: ""; }
56 #wpcf7cf-conditional-panel .wpcf7cf-and {
57 display: inline-block; }
58 #wpcf7cf-conditional-panel .wpcf7cf-and-rules, #wpcf7cf-conditional-panel .wpcf7cf-if {
59 display: inline-block;
60 vertical-align: top; }
61 #wpcf7cf-conditional-panel #wpcf7cf-entries input, #wpcf7cf-conditional-panel #wpcf7cf-entries select, #wpcf7cf-conditional-panel .and-button, #wpcf7cf-conditional-panel .delete-button, #wpcf7cf-conditional-panel #wpcf7cf-entries .if-txt, #wpcf7cf-conditional-panel #wpcf7cf-entries .label, #wpcf7cf-conditional-panel #wpcf7cf-add-button {
62 position: relative;
63 display: inline-block;
64 vertical-align: bottom;
65 margin: 2px;
66 padding: 3px;
67 background: #fefefe;
68 border: 1px solid #bababa;
69 box-shadow: none;
70 height: 22px;
71 line-height: 22px;
72 min-height: 22px;
73 box-sizing: content-box; }
74 #wpcf7cf-conditional-panel #wpcf7cf-entries .label {
75 background-color: transparent;
76 border: none; }
77 #wpcf7cf-conditional-panel .and-button, #wpcf7cf-conditional-panel .delete-button, #wpcf7cf-conditional-panel #wpcf7cf-add-button {
78 border: 1px solid #4ed521;
79 color: #007b04;
80 cursor: pointer;
81 font-size: 11px;
82 font-weight: bold;
83 -webkit-touch-callout: none;
84 /* iOS Safari */
85 -webkit-user-select: none;
86 /* Safari */
87 -khtml-user-select: none;
88 /* Konqueror HTML */
89 -moz-user-select: none;
90 /* Firefox */
91 -ms-user-select: none;
92 /* Internet Explorer/Edge */
93 user-select: none;
94 /* Non-prefixed version, currently */
95 background-color: rgba(75, 169, 61, 0.11); }
96 #wpcf7cf-conditional-panel #wpcf7cf-add-button {
97 margin-top: 10px;
98 text-align: center;
99 padding-left: 20px;
100 padding-right: 20px; }
101 #wpcf7cf-conditional-panel .and-button:hover {
102 background-color: rgba(75, 169, 61, 0.2); }
103 #wpcf7cf-conditional-panel .delete-button {
104 border: 1px solid #bababa;
105 color: #858585;
106 background-color: transparent;
107 margin-left: 42px; }
108 #wpcf7cf-conditional-panel .delete-button:hover {
109 background-color: rgba(133, 133, 133, 0.11); }
110 #wpcf7cf-conditional-panel .and-button {
111 display: none;
112 width: 30px;
113 text-align: center; }
114 #wpcf7cf-conditional-panel .wpcf7cf-and-rule:first-child .and-button {
115 display: inline-block;
116 vertical-align: top;
117 height: 22px;
118 position: absolute;
119 line-height: 22px;
120 right: 53px;
121 top: 0; }
122 #wpcf7cf-conditional-panel .wpcf7cf-and-rule {
123 margin-bottom: 4px;
124 height: 30px; }
125 #wpcf7cf-conditional-panel .wpcf7cf-and-rule .if-txt, #wpcf7cf-conditional-panel .wpcf7cf-if > .label {
126 cursor: n-resize; }
127 #wpcf7cf-conditional-panel .wpcf7cf-and-rule .if-txt:before {
128 content: 'and';
129 position: absolute;
130 width: 30px;
131 text-align: right;
132 left: -34px; }
133 #wpcf7cf-conditional-panel .wpcf7cf-and-rule:first-child .if-txt:before {
134 display: none; }
135 #wpcf7cf-conditional-panel .wpcf7cf-inner-container {
136 min-width: 800px; }
137 #wpcf7cf-conditional-panel .entry {
138 box-sizing: border-box;
139 display: flex; }
140 #wpcf7cf-conditional-panel .entry .wpcf7cf-if {
141 width: 189px; }
142 #wpcf7cf-conditional-panel .then-field-select {
143 width: 130px; }
144 #wpcf7cf-conditional-panel .entry .wpcf7cf-and-rules {
145 flex: 1;
146 position: relative; }
147 #wpcf7cf-conditional-panel .wpcf7cf-and-rule {
148 display: flex; }
149 #wpcf7cf-conditional-panel .if-txt {
150 width: 14px;
151 text-align: center; }
152 #wpcf7cf-conditional-panel .operator {
153 /*width:140px;*/ }
154 #wpcf7cf-conditional-panel .if-value {
155 flex: 1;
156 margin-right: 3px !important; }
157
158 .wpcf7cf-list li {
159 list-style: disc;
160 margin-left: 20px; }
161
162 /* The switch - the box around the slider */
163 .wpcf7cf-switch {
164 position: absolute;
165 display: block;
166 top: 20px;
167 right: 20px; }
168 .wpcf7cf-switch .label {
169 margin-right: 4px;
170 display: inline-block;
171 vertical-align: top; }
172 .wpcf7cf-switch .switch {
173 position: relative;
174 display: inline-block;
175 width: 30px;
176 height: 17px;
177 /* Hide default HTML checkbox */
178 /* The slider */
179 /* Rounded sliders */ }
180 .wpcf7cf-switch .switch input {
181 opacity: 0;
182 width: 0;
183 height: 0; }
184 .wpcf7cf-switch .switch .slider {
185 position: absolute;
186 cursor: pointer;
187 top: 0;
188 left: 0;
189 right: 0;
190 bottom: 0;
191 background-color: #ccc;
192 -webkit-transition: .4s;
193 transition: .4s; }
194 .wpcf7cf-switch .switch .slider:before {
195 position: absolute;
196 content: "";
197 height: 13px;
198 width: 13px;
199 left: 2px;
200 bottom: 2px;
201 background-color: white;
202 -webkit-transition: .4s;
203 transition: .3s; }
204 .wpcf7cf-switch .switch input:checked + .slider {
205 background-color: #1e8cbe; }
206 .wpcf7cf-switch .switch input:focus + .slider {
207 box-shadow: 0 0 1px #1e8cbe; }
208 .wpcf7cf-switch .switch input:checked + .slider:before {
209 -webkit-transform: translateX(13px);
210 -ms-transform: translateX(13px);
211 transform: translateX(13px); }
212 .wpcf7cf-switch .switch .slider.round {
213 border-radius: 17px; }
214 .wpcf7cf-switch .switch .slider.round:before {
215 border-radius: 50%; }
216
217 #wpcf7cf-conditional-panel {
218 position: relative; }
219
220 .wpcf7cf-notice {
221 background: #fff;
222 border: 1px solid #ccd0d4;
223 border-left-width: 4px;
224 border-left-color: #ffb900;
225 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
226 margin: 5px 0 2px;
227 padding: 1px 12px; }
1 {
2 "version": 3,
3 "mappings": "AAAA,kBAAmB;EAAE,OAAO,EAAE,YAAY;EAAE,OAAO,EAAC,IAAI;;AACxD,sBAAuB;EAAE,OAAO,EAAE,IAAI;;AACtC,sBAAuB;EAAE,KAAK,EAAE,IAAI;EAAE,MAAM,EAAE,KAAK;EAAE,WAAW,EAAE,iCAAiC;;AAEnG,0BAA2B;EAoHvB,UAAU,EAAE,IAAI;EAlHhB,yKAAyF;IACrF,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,YAAY;IACrB,cAAc,EAAE,MAAM;IACtB,KAAK,EAAE,GAAG;EAEd,qDAA2B;IACvB,KAAK,EAAE,GAAG;EAEd,2DAAiC;IAC7B,KAAK,EAAE,GAAG;IACV,cAAc,EAAE,GAAG;EAIvB,2DAAiC;IAC7B,aAAa,EAAE,iBAAiB;IAChC,gBAAgB,EAAE,OAAO;IACzB,OAAO,EAAE,MAAM;EAGnB,yEAA+C;IAC3C,gBAAgB,EAAE,OAAO;EAG7B,qIAAgF;IAC5E,KAAK,EAAE,IAAI;EAGf,gDAAsB;IAClB,WAAW,EAAE,IAAI;EAGrB,6EAAmD;IAC/C,QAAQ,EAAE,QAAQ;EAGtB,mFAAyD;IACrD,gBAAgB,EAAE,WAAW;IAC7B,YAAY,EAAE,CAAC;IACf,OAAO,EAAE,IAAI;IACb,UAAU,EAAE,IAAI;IAChB,OAAO,EAAE,CAAC;EAGd,yFAA+D;IAC3D,OAAO,EAAE,MAAM;IACf,OAAO,EAAE,KAAK;IACd,KAAK,EAAE,IAAI;IACX,KAAK,EAAC,CAAC;IACP,QAAQ,EAAE,QAAQ;EAGtB,yFAA+D;IAC3D,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,mCAAgC;IAC5C,MAAM,EAAE,cAAc;IACtB,OAAO,EAAE,GAAG;EAGhB,+FAAqE;IACjE,OAAO,EAAE,EAAE;EAGf,uCAAa;IACT,OAAO,EAAE,YAAY;EAGzB,qFAAgC;IAC5B,OAAO,EAAE,YAAY;IACrB,cAAc,EAAE,GAAG;EAGvB,iVAAqJ;IACjJ,QAAQ,EAAC,QAAQ;IACjB,OAAO,EAAE,YAAY;IACrB,cAAc,EAAE,MAAM;IACtB,MAAM,EAAC,GAAG;IACV,OAAO,EAAE,GAAG;IACZ,UAAU,EAAE,OAAO;IACnB,MAAM,EAAE,iBAAiB;IACzB,UAAU,EAAE,IAAI;IAChB,MAAM,EAAE,IAAI;IACZ,WAAW,EAAE,IAAI;IACjB,UAAU,EAAE,WAAW;EAG3B,kDAAwB;IACpB,gBAAgB,EAAE,WAAW;IAC7B,MAAM,EAAE,IAAI;EAGhB,iIAAiD;IAC7C,MAAM,EAAE,iBAAiB;IACzB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,OAAO;IACf,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,IAAI;IACjB,qBAAqB,EAAE,IAAI;IAAE,gBAAgB;IAC7C,mBAAmB,EAAE,IAAI;IAAE,YAAY;IACvC,kBAAkB,EAAE,IAAI;IAAE,oBAAoB;IAC9C,gBAAgB,EAAE,IAAI;IAAE,aAAa;IACrC,eAAe,EAAE,IAAI;IAAE,4BAA4B;IACnD,WAAW,EAAE,IAAI;IAAE,qCAAqC;IACxD,gBAAgB,EAAE,uBAAuB;EAG7C,8CAAoB;IAChB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,MAAM;IAClB,YAAY,EAAE,IAAI;IAClB,aAAa,EAAC,IAAI;EAKtB,4CAAkB;IACd,gBAAgB,EAAE,sBAAsB;EAG5C,yCAAe;IACX,MAAM,EAAE,iBAAiB;IACzB,KAAK,EAAE,OAAO;IACd,gBAAgB,EAAE,WAAW;IAC7B,WAAW,EAAE,IAAI;EAGrB,+CAAqB;IACjB,gBAAgB,EAAE,yBAAyB;EAI/C,sCAAY;IACR,OAAO,EAAC,IAAI;IACZ,KAAK,EAAE,IAAI;IACX,UAAU,EAAE,MAAM;EAEtB,oEAA0C;IACtC,OAAO,EAAE,YAAY;IACrB,cAAc,EAAE,GAAG;IACnB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,QAAQ;IAClB,WAAW,EAAE,IAAI;IACjB,KAAK,EAAE,IAAI;IACX,GAAG,EAAE,CAAC;EAGV,4CAAkB;IACd,aAAa,EAAE,GAAG;IAClB,MAAM,EAAE,IAAI;EAGhB,qGAAgD;IAC5C,MAAM,EAAE,QAAQ;EAKpB,2DAAiC;IAC7B,OAAO,EAAE,KAAK;IACd,QAAQ,EAAE,QAAQ;IAClB,KAAK,EAAE,IAAI;IACX,UAAU,EAAE,KAAK;IACjB,IAAI,EAAE,KAAK;EAGf,uEAA6C;IACzC,OAAO,EAAC,IAAI;EAGhB,mDAAyB;IACrB,SAAS,EAAE,KAAK;EAGpB,iCAAO;IACH,UAAU,EAAE,UAAU;IACtB,OAAO,EAAC,IAAI;EAGhB,6CAAmB;IACf,KAAK,EAAE,KAAK;EAGhB,6CAAmB;IACf,KAAK,EAAE,KAAK;EAIhB,oDAA0B;IACtB,IAAI,EAAC,CAAC;IACN,QAAQ,EAAC,QAAQ;EAGrB,4CAAkB;IACd,OAAO,EAAC,IAAI;EAEhB,kCAAQ;IACJ,KAAK,EAAE,IAAI;IACX,UAAU,EAAE,MAAM;EAGtB,oCAAU;IACN,gBAAgB;EAGpB,oCAAU;IACN,IAAI,EAAC,CAAC;IACN,YAAY,EAAC,cAAc;;AAInC,gBAAiB;EACb,UAAU,EAAE,IAAI;EAChB,WAAW,EAAE,IAAI",
4 "sources": ["admin-style.scss"],
5 "names": [],
6 "file": "admin-style.css"
7 }
1 #wpcf7cf-new-entry { display: inline-block; display:none; }
2 #wpcf7cf-delete-button { display: none; }
3 #wpcf7cf-settings-text { width: 100%; height: 280px; font-family: "Courier New", Courier, monospace; }
4
5 #wpcf7cf-conditional-panel {
6
7 .wpcf7cf-admin-wrap .label, .wpcf7cf-admin-wrap .field, .wpcf7cf-admin-wrap .description {
8 padding: 10px;
9 display: inline-block;
10 vertical-align: middle;
11 width: 10%;
12 }
13 .wpcf7cf-admin-wrap .field {
14 width: 20%;
15 }
16 .wpcf7cf-admin-wrap .description {
17 width: 40%;
18 vertical-align: top;
19
20 }
21
22 .wpcf7cf-admin-wrap .option-line {
23 border-bottom: 1px solid #dddddd;
24 background-color: #f9f9f9;
25 padding: 0 10px;
26 }
27
28 .wpcf7cf-admin-wrap .option-line:nth-child(2n) {
29 background-color: #e9e9e9;
30 }
31
32 .wpcf7cf-admin-wrap .option-line input, .wpcf7cf-admin-wrap .option-line select {
33 width: 100%;
34 }
35
36 .ui-autocomplete-term {
37 font-weight: bold;
38 }
39
40 .wpcf7cf-admin-wrap .option-line > .label.editable {
41 position: relative;
42 }
43
44 .wpcf7cf-admin-wrap .option-line > .label.editable input {
45 background-color: transparent;
46 border-width: 0;
47 outline: none;
48 box-shadow: none;
49 padding: 0;
50 }
51
52 .wpcf7cf-admin-wrap .option-line > .label.editable input:after {
53 content: "edit";
54 display: block;
55 width: 10px;
56 right:0;
57 position: absolute;
58 }
59
60 .wpcf7cf-admin-wrap .option-line > .label.editable input:focus {
61 background: #fff;
62 box-shadow: inset 0 1px 2px rgba(0,0,0,.07) ;
63 border: 1px solid #ddd;
64 padding: 2px;
65 }
66
67 .wpcf7cf-admin-wrap .option-line > .label.editable input:focus:after {
68 content: "";
69 }
70
71 .wpcf7cf-and {
72 display: inline-block;
73 }
74
75 .wpcf7cf-and-rules, .wpcf7cf-if {
76 display: inline-block;
77 vertical-align: top;
78 }
79
80 #wpcf7cf-entries input, #wpcf7cf-entries select, .and-button, .delete-button, #wpcf7cf-entries .if-txt, #wpcf7cf-entries .label, #wpcf7cf-add-button {
81 position:relative;
82 display: inline-block;
83 vertical-align: bottom;
84 margin:2px;
85 padding: 3px;
86 background: #fefefe;
87 border: 1px solid #bababa;
88 box-shadow: none;
89 height: 22px;
90 line-height: 22px;
91 min-height: 22px;
92 box-sizing: content-box;
93 }
94
95 #wpcf7cf-entries .label {
96 background-color: transparent;
97 border: none;
98 }
99
100 .and-button, .delete-button, #wpcf7cf-add-button {
101 border: 1px solid #4ed521;
102 color: #007b04;
103 cursor: pointer;
104 font-size: 11px;
105 font-weight: bold;
106 -webkit-touch-callout: none; /* iOS Safari */
107 -webkit-user-select: none; /* Safari */
108 -khtml-user-select: none; /* Konqueror HTML */
109 -moz-user-select: none; /* Firefox */
110 -ms-user-select: none; /* Internet Explorer/Edge */
111 user-select: none; /* Non-prefixed version, currently */
112 background-color: rgba(75, 169, 61, 0.11);
113 }
114
115 #wpcf7cf-add-button {
116 margin-top: 10px;
117 text-align: center;
118 padding-left: 20px;
119 padding-right:20px;
120 }
121
122 overflow-x: auto;
123
124 .and-button:hover {
125 background-color: rgba(75, 169, 61, 0.2);
126 }
127
128 .delete-button {
129 border: 1px solid #bababa;
130 color: #858585;
131 background-color: transparent;
132 margin-left: 42px;
133 }
134
135 .delete-button:hover {
136 background-color: rgba(133, 133, 133, 0.11);
137
138 }
139
140 .and-button {
141 display:none;
142 width: 30px;
143 text-align: center;
144 }
145 .wpcf7cf-and-rule:first-child .and-button {
146 display: inline-block;
147 vertical-align: top;
148 height: 22px;
149 position: absolute;
150 line-height: 22px;
151 right: 53px;
152 top: 0;
153 }
154
155 .wpcf7cf-and-rule {
156 margin-bottom: 4px;
157 height: 30px;
158 }
159
160 .wpcf7cf-and-rule .if-txt, .wpcf7cf-if > .label {
161 cursor: n-resize;
162 }
163
164
165
166 .wpcf7cf-and-rule .if-txt:before {
167 content: 'and';
168 position: absolute;
169 width: 30px;
170 text-align: right;
171 left: -34px;
172 }
173
174 .wpcf7cf-and-rule:first-child .if-txt:before {
175 display:none;
176 }
177
178 .wpcf7cf-inner-container {
179 min-width: 800px;
180 }
181
182 .entry {
183 box-sizing: border-box;
184 display:flex;
185 }
186
187 .entry .wpcf7cf-if {
188 width: 189px;
189 }
190
191 .then-field-select {
192 width: 130px;
193 }
194
195
196 .entry .wpcf7cf-and-rules {
197 flex:1;
198 position:relative;
199
200 }
201 .wpcf7cf-and-rule {
202 display:flex;
203 }
204 .if-txt {
205 width: 14px;
206 text-align: center;
207 }
208
209 .operator {
210 /*width:140px;*/
211 }
212
213 .if-value {
214 flex:1;
215 margin-right:3px !important;
216 }
217 }
218
219 .wpcf7cf-list li {
220 list-style: disc;
221 margin-left: 20px;
222 }
223
224 /* The switch - the box around the slider */
225
226
227 .wpcf7cf-switch {
228 position: absolute;
229 display: block;
230 top: 20px;
231 right: 20px;
232
233 .label {
234 margin-right: 4px;
235 display: inline-block;
236 vertical-align: top;
237 }
238
239 .switch {
240 position: relative;
241 display: inline-block;
242 width: 30px;
243 height: 17px;
244
245 /* Hide default HTML checkbox */
246 input {
247 opacity: 0;
248 width: 0;
249 height: 0;
250 }
251
252 /* The slider */
253 .slider {
254 position: absolute;
255 cursor: pointer;
256 top: 0;
257 left: 0;
258 right: 0;
259 bottom: 0;
260 background-color: #ccc;
261 -webkit-transition: .4s;
262 transition: .4s;
263 }
264
265 .slider:before {
266 position: absolute;
267 content: "";
268 height: 13px;
269 width: 13px;
270 left: 2px;
271 bottom: 2px;
272 background-color: white;
273 -webkit-transition: .4s;
274 transition: .3s;
275 }
276
277 input:checked + .slider {
278 background-color: #1e8cbe;
279 }
280
281 input:focus + .slider {
282 box-shadow: 0 0 1px #1e8cbe;
283 }
284
285 input:checked + .slider:before {
286 -webkit-transform: translateX(13px);
287 -ms-transform: translateX(13px);
288 transform: translateX(13px);
289 }
290
291 /* Rounded sliders */
292 .slider.round {
293 border-radius: 17px;
294 }
295
296 .slider.round:before {
297 border-radius: 50%;
298 }
299
300 }
301 }
302
303 #wpcf7cf-conditional-panel {
304 position: relative;
305 //display: block !important;
306 }
307
308 .wpcf7cf-notice {
309 background: #fff;
310 border: 1px solid #ccd0d4;
311 border-left-width: 4px;
312 border-left-color: #ffb900;
313 box-shadow: 0 1px 1px rgba(0,0,0,.04);
314 margin: 5px 0 2px;
315 padding: 1px 12px;
316 }
...\ No newline at end of file ...\ No newline at end of file
1 <?php
2
3 add_action( 'admin_enqueue_scripts', 'wpcf7cf_admin_enqueue_scripts', 11 ); // set priority so scripts and styles get loaded later.
4
5 function wpcf7cf_admin_enqueue_scripts( $hook_suffix ) {
6
7 wp_enqueue_script('cf7cf-scripts-admin-all-pages', wpcf7cf_plugin_url( 'js/scripts_admin_all_pages.js' ),array( 'jquery' ), WPCF7CF_VERSION,true);
8
9
10 if ( isset($_GET['page']) && ( $_GET['page'] == 'wpcf7' && isset($_GET['post']) || $_GET['page'] == 'wpcf7-new' ) ) {
11 //only load styles and scripts if this is a CF7 detail page.
12 wpcf7cf_admin_enqueue_form_edit_scripts($hook_suffix);
13 }
14
15 }
16
17 /* fix for std post editor used in Smart Grid */
18 add_action('cf7sg_enqueue_admin_editor_scripts', 'wpcf7cf_admin_enqueue_form_edit_scripts');
19
20 function wpcf7cf_admin_enqueue_form_edit_scripts($hook_suffix){
21 wp_enqueue_script('cf7cf-scripts-admin', wpcf7cf_plugin_url( 'js/scripts_admin.js' ),array('jquery-ui-autocomplete', 'jquery-ui-sortable'), WPCF7CF_VERSION,true);
22 wp_localize_script('cf7cf-scripts-admin', 'wpcf7cf_options_0', wpcf7cf_get_settings());
23 //wp_localize_script('cf7cf-scripts-admin', 'wpcf7cf_newEntryHTML', );
24 }
25
26 add_filter('wpcf7_editor_panels', 'add_conditional_panel');
27
28 function add_conditional_panel($panels) {
29 if ( current_user_can( 'wpcf7_edit_contact_forms' ) ) {
30 $panels['wpcf7cf-conditional-panel'] = array(
31 'title' => __( 'Conditional fields', 'cf7-conditional-fields' ),
32 'callback' => 'wpcf7cf_editor_panel_conditional'
33 );
34 }
35 return $panels;
36 }
37
38 function wpcf7cf_all_field_options($post, $selected = '-1') {
39 $all_fields = $post->scan_form_tags();
40 ?>
41 <option value="-1" <?php echo $selected == '-1'?'selected':'' ?>><?php _e( '-- Select field --', 'cf7-conditional-fields' ); ?></option>
42 <?php
43 foreach ($all_fields as $tag) {
44 if ($tag['type'] == 'group' || $tag['name'] == '') continue;
45 ?>
46 <option value="<?php echo $tag['name']; ?>" <?php echo $selected == $tag['name']?'selected':'' ?>><?php echo $tag['name']; ?></option>
47 <?php
48 }
49 }
50
51 function wpcf7cf_all_group_options($post, $selected = '-1') {
52 $all_groups = $post->scan_form_tags(array('type'=>'group'));
53
54 ?>
55 <option value="-1" <?php echo $selected == '-1'?'selected':'' ?>><?php _e( '-- Select group --', 'cf7-conditional-fields' ); ?></option>
56 <?php
57 foreach ($all_groups as $tag) {
58 ?>
59 <option value="<?php echo $tag['name']; ?>" <?php echo $selected == $tag['name']?'selected':'' ?>><?php echo $tag['name']; ?></option>
60 <?php
61 }
62 }
63
64 if (!function_exists('all_operator_options')) {
65 function all_operator_options($selected = 'equals') {
66 $all_options = array('equals', 'not equals');
67 $all_options = apply_filters('wpcf7cf_get_operators', $all_options);
68 foreach($all_options as $option) {
69 // backwards compat
70 $selected = $selected == '≤' ? 'less than or equals' : $selected;
71 $selected = $selected == '≥' ? 'greater than or equals' : $selected;
72 $selected = $selected == '>' ? 'greater than' : $selected;
73 $selected = $selected == '<' ? 'less than' : $selected;
74
75 ?>
76 <option value="<?php echo htmlentities($option) ?>" <?php echo $selected == $option?'selected':'' ?>><?php echo htmlentities($option) ?></option>
77 <?php
78 }
79 }
80 }
81
82 function wpcf7cf_editor_panel_conditional($form) {
83
84 $settings = wpcf7cf_get_settings();
85 $is_text_only = $settings['conditions_ui'] === 'text_only';
86
87 // print_r($settings);
88
89 $form_id = isset($_GET['post']) ? $_GET['post'] : false;
90
91 if ($form_id !== false) {
92 $wpcf7cf_entries = CF7CF::getConditions($form_id);
93 $wpcf7cf_entries = array_values($wpcf7cf_entries);
94 } else {
95 $wpcf7cf_entries = [];
96 }
97
98 ?>
99 <div class="wpcf7cf-inner-container">
100
101 <label class="wpcf7cf-switch" id="wpcf7cf-text-only-switch">
102 <span class="label"><?php _e( 'Text mode', 'cf7-conditional-fields' ); ?></span>
103 <span class="switch">
104 <input type="checkbox" id="wpcf7cf-text-only-checkbox" name="wpcf7cf-text-only-checkbox" value="text_only" <?php echo $is_text_only ? 'checked':''; ?>>
105 <span class="slider round"></span>
106 </span>
107 </label>
108
109 <h2><?php _e( 'Conditional fields', 'cf7-conditional-fields' ); ?></h2>
110
111 <div id="wpcf7cf-entries-ui" style="display:none">
112 <div id="wpcf7cf-entries">
113 </div>
114
115 <span id="wpcf7cf-add-button" title="<?php _e( 'add new rule', 'cf7-conditional-fields' ); ?>"><?php _e( '+ add new conditional rule', 'cf7-conditional-fields'); ?></span>
116
117 <div id="wpcf7cf-a-lot-of-conditions" class="wpcf7cf-notice notice-warning" style="display:none;">
118 <p>
119 <strong><?php _e( 'Wow, That\'s a lot of conditions!', 'cf7-conditional-fields' ); ?></strong><br>
120 <?php
121 // translators: 1. max recommended conditions
122 echo sprintf( __( 'You can only add up to %d conditions using this interface.', 'cf7-conditional-fields' ), WPCF7CF_MAX_RECOMMENDED_CONDITIONS ) . ' ';
123 // translators: 1,2: strong tags, 3. max recommended conditions
124 printf( __( 'Please switch to %1$sText mode%2$s if you want to add more than %3$d conditions.', 'cf7-conditional-fields' ), '<a href="#" class="wpcf7cf-switch-to-txt-link">', '</a>', WPCF7CF_MAX_RECOMMENDED_CONDITIONS ); ?>
125 </p>
126 </div>
127
128 </div>
129
130 <div id="wpcf7cf-text-entries">
131 <div id="wpcf7cf-settings-text-wrap">
132 <textarea id="wpcf7cf-settings-text" name="wpcf7cf-settings-text"><?php echo CF7CF::serializeConditions($wpcf7cf_entries) ?></textarea>
133 <br>
134 </div>
135 </div>
136 </div>
137 <?php
138 }
139
140 // Save conditions and summary field
141 add_action( 'wpcf7_after_save', function($contact_form) {
142
143 if ( ! isset( $_POST ) || empty( $_POST ) || ! isset( $_POST['wpcf7cf-settings-text'] ) ) {
144 return;
145 }
146 $post_id = $contact_form->id();
147 if ( ! $post_id ) {
148 return;
149 }
150
151 // we intentionally don't use sanitize_textarea_field here,
152 // because basically any character is a valid character.
153 // To arm agains SQL injections and other funky junky, the CF7CF::parse_conditions function is used.
154 $conditions_string = stripslashes($_POST['wpcf7cf-settings-text']);
155 $conditions = CF7CF::parse_conditions($conditions_string);
156
157 CF7CF::setConditions($post_id, $conditions);
158
159 if (isset($_POST['wpcf7cf-summary-template'])) {
160 WPCF7CF_Summary::saveSummaryTemplate($_POST['wpcf7cf-summary-template'],$post_id);
161 }
162
163 }, 8, 1 );
164
165 // duplicate conditions on duplicate form part 1.
166 add_filter('wpcf7_copy','wpcf7cf_copy', 10, 2);
167 function wpcf7cf_copy($new_form,$current_form) {
168
169 $id = $current_form->id();
170 $props = $new_form->get_properties();
171 $props['messages']['wpcf7cf_copied'] = $id;
172 $new_form->set_properties($props);
173
174 return $new_form;
175 }
176
177 // duplicate conditions on duplicate form part 2.
178 add_action('wpcf7_after_save','wpcf7cf_after_save',10,1);
179 function wpcf7cf_after_save($contact_form) {
180 $props = $contact_form->get_properties();
181 $original_id = isset($props['messages']['wpcf7cf_copied']) ? $props['messages']['wpcf7cf_copied'] : 0;
182 if ($original_id !== 0) {
183 $post_id = $contact_form->id();
184 unset($props['messages']['wpcf7cf_copied']);
185 $contact_form->set_properties($props);
186 CF7CF::setConditions($post_id, CF7CF::getConditions($original_id));
187 return;
188 }
189 }
190
191 function wpcf7cf_sanitize_options($options) {
192 //$options = array_values($options);
193 $sanitized_options = [];
194 foreach ($options as $option_entry) {
195 $sanitized_option = [];
196 $sanitized_option['then_field'] = sanitize_text_field($option_entry['then_field']);
197 foreach ($option_entry['and_rules'] as $and_rule) {
198 $sanitized_option['and_rules'][] = [
199 'if_field' => sanitize_text_field($and_rule['if_field']),
200 'operator' => $and_rule['operator'],
201 'if_value' => sanitize_text_field($and_rule['if_value']),
202 ];
203 }
204
205 $sanitized_options[] = $sanitized_option;
206 }
207 return $sanitized_options;
208 }
209
210 add_action('admin_notices', function () {
211
212 $settings = wpcf7cf_get_settings();
213
214 $nid = 'install-cf7';
215 if (!defined('WPCF7_VERSION') && empty($settings['notice_dismissed_'.$nid])) {
216 ?>
217 <div class="wpcf7cf-admin-notice notice notice-warning is-dismissible" data-notice-id="<?php echo $nid ?>">
218 <p>
219 <strong>Conditional Fields for Contact Form 7</strong> depends on Contact Form 7. Please install <a target="_blank" href="https://downloads.wordpress.org/plugin/contact-form-7.<?php echo WPCF7CF_CF7_MAX_VERSION ?>.zip">Contact Form 7</a>.
220 </p>
221 </div>
222 <?php
223 return;
224 }
225
226 $nid = 'rollback-cf7-'.WPCF7CF_CF7_MAX_VERSION;
227 if ( version_compare( WPCF7CF_CF7_MAX_VERSION, WPCF7_VERSION, '<' ) && empty($settings['notice_dismissed_'.$nid]) && current_user_can('update_plugins') ) {
228 ?>
229 <div class="wpcf7cf-admin-notice notice notice-warning is-dismissible" data-notice-id="<?php echo $nid ?>">
230 <p>
231 <strong>Conditional Fields for Contact Form 7</strong> is not yet tested with your current version of Contact Form 7.
232 <br>If you notice any problems with your forms, please roll back to Contact Form 7 <strong>version <?php echo WPCF7CF_CF7_MAX_VERSION ?></strong>.
233 <br>For a quick and safe rollback, we recommend <a href="https://wordpress.org/plugins/wp-rollback/" target="_blank">WP Rollback</a>.
234 </p>
235 </div>
236 <?php
237 }
238
239 $nid = 'update-cf7-'.WPCF7CF_CF7_MAX_VERSION;
240 if ( version_compare( WPCF7CF_CF7_MAX_VERSION, WPCF7_VERSION, '>' ) && empty($settings['notice_dismissed_'.$nid]) && current_user_can('update_plugins') ) {
241 ?>
242 <div class="wpcf7cf-admin-notice notice notice-warning is-dismissible" data-notice-id="<?php echo $nid ?>">
243 <p>
244 <strong>Conditional Fields for Contact Form 7</strong> is fully compatible and tested with Contact Form 7 version <?php echo WPCF7CF_CF7_MAX_VERSION ?>.
245 <br>Compatibility with other versions of CF7 is not guaranteed, so please install <a target="_blank" href="https://downloads.wordpress.org/plugin/contact-form-7.<?php echo WPCF7CF_CF7_MAX_VERSION ?>.zip">CF7 version <?php echo WPCF7CF_CF7_MAX_VERSION ?></a>
246 </p>
247 </div>
248 <?php
249 }
250
251 });
1 <?php
2 /**
3 * Plugin Name: Conditional Fields for Contact Form 7
4 * Plugin URI: http://bdwm.be/
5 * Description: Adds support for conditional fields to Contact Form 7. This plugin depends on Contact Form 7.
6 * Author: Jules Colle
7 * Version: 2.3.5
8 * Author URI: http://bdwm.be/
9 * Text Domain: cf7-conditional-fields
10 * License: GPL v2 or later
11 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
12 */
13
14 /**
15 * This program is free software; you can redistribute it and/or modify
16 * it under the terms of the GNU General Public License as published by
17 * the Free Software Foundation; either version 2 of the License, or
18 * (at your option) any later version.
19 *
20 * This program is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 * GNU General Public License for more details.
24 *
25 * You should have received a copy of the GNU General Public License
26 * along with this program; if not, write to the Free Software
27 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
28 */
29
30
31 if ( function_exists( 'wpcf7cf_pro_deactivate_free_version_notice' ) ) {
32 add_action( 'admin_notices', 'wpcf7cf_pro_deactivate_free_version_notice' );
33 } else {
34
35 function wpcf7cf_pro_deactivate_free_version_notice() {
36 ?>
37 <div class="notice notice-error is-dismissible">
38 <p><?php
39 // translators: 1. <a>, 2. </a>
40 printf( __( '<strong>Conditional Fields for Contact Form 7</strong> needs to %1$sdeactivate the free plugin%1$s', 'cf7-conditional-fields' ), '<a href="' . wp_nonce_url( 'plugins.php?action=deactivate&amp;plugin=cf7-conditional-fields%2Fcontact-form-7-conditional-fields.php&amp;plugin_status=all&amp;paged=1&amp;s=', 'deactivate-plugin_cf7-conditional-fields/contact-form-7-conditional-fields.php' ) . '">', '</a>' );
41 ?></p>
42 </div>
43 <?php
44 }
45
46 require_once __DIR__.'/init.php';
47
48 }
...\ No newline at end of file ...\ No newline at end of file
1 <?php
2
3 if (!defined('WPCF7CF_VERSION')) define( 'WPCF7CF_VERSION', '5' );
4 if (!defined('WPCF7CF_CF7_MIN_VERSION')) define( 'WPCF7CF_CF7_MIN_VERSION', '5.6' );
5 if (!defined('WPCF7CF_CF7_MAX_VERSION')) define( 'WPCF7CF_CF7_MAX_VERSION', '5.7.5.1' );
6 if (!defined('WPCF7CF_REQUIRED_WP_VERSION')) define( 'WPCF7CF_REQUIRED_WP_VERSION', '4.1' );
7 if (!defined('WPCF7CF_PLUGIN')) define( 'WPCF7CF_PLUGIN', __FILE__ );
8 if (!defined('WPCF7CF_PLUGIN_BASENAME')) define( 'WPCF7CF_PLUGIN_BASENAME', plugin_basename( WPCF7CF_PLUGIN ) );
9 if (!defined('WPCF7CF_PLUGIN_NAME')) define( 'WPCF7CF_PLUGIN_NAME', trim( dirname( WPCF7CF_PLUGIN_BASENAME ), '/' ) );
10 if (!defined('WPCF7CF_PLUGIN_DIR')) define( 'WPCF7CF_PLUGIN_DIR', untrailingslashit( dirname( WPCF7CF_PLUGIN ) ) );
11
12 if (!defined('WPCF7CF_LOAD_JS')) define('WPCF7CF_LOAD_JS', true);
13 if (!defined('WPCF7CF_LOAD_CSS')) define('WPCF7CF_LOAD_CSS', true);
14
15 if (!defined('WPCF7CF_REGEX_MAIL_GROUP')) define( 'WPCF7CF_REGEX_MAIL_GROUP', '@\[[\s]*([a-zA-Z_][0-9a-zA-Z:._-]*)[\s]*\](.*?)\[[\s]*/[\s]*\1[\s]*\]@s');
16 if (!defined('WPCF7CF_REGEX_MAIL_GROUP_INVERTED')) define( 'WPCF7CF_REGEX_MAIL_GROUP_INVERTED', '@\[![\s]*([a-zA-Z_][0-9a-zA-Z:._-]*)[\s]*\](.*?)\[![\s]*/[\s]*\1[\s]*\]@s');
17 if (!defined('WPCF7CF_REGEX_MAIL_UNWANTED_WHITESPACE')) define('WPCF7CF_REGEX_MAIL_UNWANTED_WHITESPACE', '@(\[/[^\]]*\])\s+?(\[)@s');
18 if (!defined('WPCF7CF_REGEX_CONDITIONS')) define( 'WPCF7CF_REGEX_CONDITIONS', '/(?:show \[([^\]]*?)\]|and) if \[([^\]]*?)\] (?:(equals \(regex\)|not equals \(regex\)|equals|not equals|greater than or equals|greater than|less than or equals|less than|is empty|not empty|function)(?: \"(.*)\")?)/m');
19
20 if (!defined('WPCF7CF_MAX_RECOMMENDED_CONDITIONS')) define( 'WPCF7CF_MAX_RECOMMENDED_CONDITIONS', 50 );
21
22 if(file_exists(WPCF7CF_PLUGIN_DIR.'/pro/pro-functions.php')) {
23 if (!defined('WPCF7CF_IS_PRO')) define( 'WPCF7CF_IS_PRO', true );
24 } else {
25 if (!defined('WPCF7CF_IS_PRO')) define( 'WPCF7CF_IS_PRO', false );
26 }
27
28 if(file_exists(WPCF7CF_PLUGIN_DIR.'/tests/init.php')) {
29 require_once WPCF7CF_PLUGIN_DIR.'/tests/init.php';
30 if (!defined('WPCF7CF_TESTMODE')) define( 'WPCF7CF_TESTMODE', true );
31 }
32
33 function wpcf7cf_plugin_path( $path = '' ) {
34 return path_join( WPCF7CF_PLUGIN_DIR, trim( $path, '/' ) );
35 }
36
37 function wpcf7cf_plugin_url( $path = '' ) {
38 $url = plugins_url( $path, WPCF7CF_PLUGIN );
39 if ( is_ssl() && 'http:' == substr( $url, 0, 5 ) ) {
40 $url = 'https:' . substr( $url, 5 );
41 }
42 return $url;
43 }
44
45 require_once WPCF7CF_PLUGIN_DIR.'/Wpcf7cfMailParser.php';
46
47 if (WPCF7CF_IS_PRO) {
48 require_once WPCF7CF_PLUGIN_DIR.'/pro/pro-functions.php';
49 }
50
51 require_once WPCF7CF_PLUGIN_DIR.'/cf7cf.php';
52 require_once WPCF7CF_PLUGIN_DIR.'/wpcf7cf-options.php';
53
54 if (WPCF7CF_IS_PRO) {
55 require_once WPCF7CF_PLUGIN_DIR.'/pro/update.php';
56 }
...\ No newline at end of file ...\ No newline at end of file
1 // endsWith polyfill
2 if (!String.prototype.endsWith) {
3 String.prototype.endsWith = function(search, thisLength) {
4 if (thisLength === undefined || thisLength > this.length) {
5 thisLength = this.length;
6 }
7 return this.substring(thisLength - search.length, thisLength) === search;
8 };
9 }
10
11 // Object.values polyfill
12 if (!Object.values) Object.values = o=>Object.keys(o).map(k=>o[k]);
13
14 // Array.from polyfill
15 if (!Array.from) {
16 Array.from = (function () {
17 var toStr = Object.prototype.toString;
18 var isCallable = function (fn) {
19 return typeof fn === 'function' || toStr.call(fn) === '[object Function]';
20 };
21 var toInteger = function (value) {
22 var number = Number(value);
23 if (isNaN(number)) { return 0; }
24 if (number === 0 || !isFinite(number)) { return number; }
25 return (number > 0 ? 1 : -1) * Math.floor(Math.abs(number));
26 };
27 var maxSafeInteger = Math.pow(2, 53) - 1;
28 var toLength = function (value) {
29 var len = toInteger(value);
30 return Math.min(Math.max(len, 0), maxSafeInteger);
31 };
32
33 // The length property of the from method is 1.
34 return function from(arrayLike/*, mapFn, thisArg */) {
35 // 1. Let C be the this value.
36 var C = this;
37
38 // 2. Let items be ToObject(arrayLike).
39 var items = Object(arrayLike);
40
41 // 3. ReturnIfAbrupt(items).
42 if (arrayLike == null) {
43 throw new TypeError("Array.from requires an array-like object - not null or undefined");
44 }
45
46 // 4. If mapfn is undefined, then let mapping be false.
47 var mapFn = arguments.length > 1 ? arguments[1] : void undefined;
48 var T;
49 if (typeof mapFn !== 'undefined') {
50 // 5. else
51 // 5. a If IsCallable(mapfn) is false, throw a TypeError exception.
52 if (!isCallable(mapFn)) {
53 throw new TypeError('Array.from: when provided, the second argument must be a function');
54 }
55
56 // 5. b. If thisArg was supplied, let T be thisArg; else let T be undefined.
57 if (arguments.length > 2) {
58 T = arguments[2];
59 }
60 }
61
62 // 10. Let lenValue be Get(items, "length").
63 // 11. Let len be ToLength(lenValue).
64 var len = toLength(items.length);
65
66 // 13. If IsConstructor(C) is true, then
67 // 13. a. Let A be the result of calling the [[Construct]] internal method of C with an argument list containing the single item len.
68 // 14. a. Else, Let A be ArrayCreate(len).
69 var A = isCallable(C) ? Object(new C(len)) : new Array(len);
70
71 // 16. Let k be 0.
72 var k = 0;
73 // 17. Repeat, while k < len… (also steps a - h)
74 var kValue;
75 while (k < len) {
76 kValue = items[k];
77 if (mapFn) {
78 A[k] = typeof T === 'undefined' ? mapFn(kValue, k) : mapFn.call(T, kValue, k);
79 } else {
80 A[k] = kValue;
81 }
82 k += 1;
83 }
84 // 18. Let putStatus be Put(A, "length", len, true).
85 A.length = len;
86 // 20. Return A.
87 return A;
88 };
89 }());
90 }
...\ No newline at end of file ...\ No newline at end of file
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
1 // ------------------------------------
2 // DISMISS NOTICES
3 // ------------------------------------
4
5 jQuery(document).ready(function($) {
6
7 $('.notice-dismiss,.notice-dismiss-alt', '.wpcf7cf-admin-notice').click(function () {
8 wpcf7cf_dismiss_notice(
9 $(this).closest('.wpcf7cf-admin-notice').data('noticeId')
10 );
11 });
12
13 function wpcf7cf_dismiss_notice(noticeId) {
14
15 if (noticeId === '') {
16 $('input[name="wpcf7cf_options[notice_dismissed]"]').val('true');
17 }
18
19 $.post(ajaxurl, { action:'wpcf7cf_dismiss_notice', noticeId:noticeId }, function(response) {
20 // nothing to do. dismiss_notice option should be set to TRUE server side by now.
21 });
22
23 }
24
25 });
...\ No newline at end of file ...\ No newline at end of file
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <title>JSDoc: Global</title>
6
7 <script src="scripts/prettify/prettify.js"> </script>
8 <script src="scripts/prettify/lang-css.js"> </script>
9 <!--[if lt IE 9]>
10 <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
11 <![endif]-->
12 <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
13 <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
14 </head>
15
16 <body>
17
18 <div id="main">
19
20 <h1 class="page-title">Global</h1>
21
22
23
24
25
26
27 <section>
28
29 <header>
30
31 <h2></h2>
32
33
34 </header>
35
36 <article>
37 <div class="container-overview">
38
39
40
41
42
43
44 <dl class="details">
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77 </dl>
78
79
80
81
82 </div>
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99 <h3 class="subsection-title">Methods</h3>
100
101
102
103
104
105
106
107 <h4 class="name" id="repeaterAddSub"><span class="type-signature"></span>repeaterAddSub<span class="signature">($form, repeaterDataId)</span><span class="type-signature"></span></h4>
108
109
110
111
112
113
114 <div class="description">
115 <p>Append a new sub-entry to the repeater with the name <code>repeaterDataId</code> inside the form <code>$form</code></p>
116 </div>
117
118
119
120
121
122
123
124
125
126 <h5>Parameters:</h5>
127
128
129 <table class="params">
130 <thead>
131 <tr>
132
133 <th>Name</th>
134
135
136 <th>Type</th>
137
138
139
140
141
142 <th class="last">Description</th>
143 </tr>
144 </thead>
145
146 <tbody>
147
148
149 <tr>
150
151 <td class="name"><code>$form</code></td>
152
153
154 <td class="type">
155
156
157 <span class="param-type">String</span>
158 |
159
160 <span class="param-type">JQuery</span>
161
162
163
164 </td>
165
166
167
168
169
170 <td class="description last"><p>JQuery object or css-selector representing the form</p></td>
171 </tr>
172
173
174
175 <tr>
176
177 <td class="name"><code>repeaterDataId</code></td>
178
179
180 <td class="type">
181
182
183 <span class="param-type">String</span>
184
185
186
187 </td>
188
189
190
191
192
193 <td class="description last"><p><em>data-id</em> attribute of the repeater. Normally this is simply the name of the repeater. However, in case of a nested repeater you need to append the name with the correct suffix. For example <code>my-nested-repeater__1__3</code>. Hint (check the <code>data-id</code> attribute in the HTML code to find the correct suffix)</p></td>
194 </tr>
195
196
197 </tbody>
198 </table>
199
200
201
202
203
204
205 <dl class="details">
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232 <dt class="tag-source">Source:</dt>
233 <dd class="tag-source"><ul class="dummy"><li>
234 <a href="scripts_es6.js.html">scripts_es6.js</a>, <a href="scripts_es6.js.html#line1355">line 1355</a>
235 </li></ul></dd>
236
237
238
239
240
241
242
243 </dl>
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270 </article>
271
272 </section>
273
274
275
276
277 </div>
278
279 <nav>
280 <h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="wpcf7cf.html">wpcf7cf</a></li></ul><h3>Global</h3><ul><li><a href="global.html#repeaterAddSub">repeaterAddSub</a></li></ul>
281 </nav>
282
283 <br class="clear">
284
285 <footer>
286 Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.5</a> on Mon Sep 07 2020 11:18:31 GMT+0200 (Central European Summer Time)
287 </footer>
288
289 <script> prettyPrint(); </script>
290 <script src="scripts/linenumber.js"> </script>
291 </body>
292 </html>
...\ No newline at end of file ...\ No newline at end of file
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <title>JSDoc: Home</title>
6
7 <script src="scripts/prettify/prettify.js"> </script>
8 <script src="scripts/prettify/lang-css.js"> </script>
9 <!--[if lt IE 9]>
10 <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
11 <![endif]-->
12 <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
13 <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
14 </head>
15
16 <body>
17
18 <div id="main">
19
20 <h1 class="page-title">Home</h1>
21
22
23
24
25
26
27
28
29 <h3> </h3>
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50 </div>
51
52 <nav>
53 <h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="wpcf7cf.html">wpcf7cf</a></li></ul>
54 </nav>
55
56 <br class="clear">
57
58 <footer>
59 Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.5</a> on Wed Feb 23 2022 11:10:35 GMT+0100 (Midden-Europese standaardtijd)
60 </footer>
61
62 <script> prettyPrint(); </script>
63 <script src="scripts/linenumber.js"> </script>
64 </body>
65 </html>
...\ No newline at end of file ...\ No newline at end of file
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <title>JSDoc: Module: wpcf7cf</title>
6
7 <script src="scripts/prettify/prettify.js"> </script>
8 <script src="scripts/prettify/lang-css.js"> </script>
9 <!--[if lt IE 9]>
10 <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
11 <![endif]-->
12 <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
13 <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
14 </head>
15
16 <body>
17
18 <div id="main">
19
20 <h1 class="page-title">Module: wpcf7cf</h1>
21
22
23
24
25
26
27 <section>
28
29 <header>
30
31
32
33 </header>
34
35 <article>
36 <div class="container-overview">
37
38
39
40
41
42 </div>
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63 </article>
64
65 </section>
66
67
68
69
70 </div>
71
72 <nav>
73 <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-wpcf7cf.html">wpcf7cf</a></li></ul>
74 </nav>
75
76 <br class="clear">
77
78 <footer>
79 Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.5</a> on Mon Sep 07 2020 11:06:55 GMT+0200 (Central European Summer Time)
80 </footer>
81
82 <script> prettyPrint(); </script>
83 <script src="scripts/linenumber.js"> </script>
84 </body>
85 </html>
...\ No newline at end of file ...\ No newline at end of file
1 /*global document */
2 (() => {
3 const source = document.getElementsByClassName('prettyprint source linenums');
4 let i = 0;
5 let lineNumber = 0;
6 let lineId;
7 let lines;
8 let totalLines;
9 let anchorHash;
10
11 if (source && source[0]) {
12 anchorHash = document.location.hash.substring(1);
13 lines = source[0].getElementsByTagName('li');
14 totalLines = lines.length;
15
16 for (; i < totalLines; i++) {
17 lineNumber++;
18 lineId = `line${lineNumber}`;
19 lines[i].id = lineId;
20 if (lineId === anchorHash) {
21 lines[i].className += ' selected';
22 }
23 }
24 }
25 })();
1 PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\f\r ]+/,null," \t\r\n "]],[["str",/^"(?:[^\n\f\r"\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*"/,null],["str",/^'(?:[^\n\f\r'\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*'/,null],["lang-css-str",/^url\(([^"')]*)\)/i],["kwd",/^(?:url|rgb|!important|@import|@page|@media|@charset|inherit)(?=[^\w-]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//],["com",
2 /^(?:<\!--|--\>)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#[\da-f]{3,6}/i],["pln",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i],["pun",/^[^\s\w"']+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^"')]+/]]),["css-str"]);
1 @font-face {
2 font-family: 'Open Sans';
3 font-weight: normal;
4 font-style: normal;
5 src: url('../fonts/OpenSans-Regular-webfont.eot');
6 src:
7 local('Open Sans'),
8 local('OpenSans'),
9 url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
10 url('../fonts/OpenSans-Regular-webfont.woff') format('woff'),
11 url('../fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
12 }
13
14 @font-face {
15 font-family: 'Open Sans Light';
16 font-weight: normal;
17 font-style: normal;
18 src: url('../fonts/OpenSans-Light-webfont.eot');
19 src:
20 local('Open Sans Light'),
21 local('OpenSans Light'),
22 url('../fonts/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
23 url('../fonts/OpenSans-Light-webfont.woff') format('woff'),
24 url('../fonts/OpenSans-Light-webfont.svg#open_sanslight') format('svg');
25 }
26
27 html
28 {
29 overflow: auto;
30 background-color: #fff;
31 font-size: 14px;
32 }
33
34 body
35 {
36 font-family: 'Open Sans', sans-serif;
37 line-height: 1.5;
38 color: #4d4e53;
39 background-color: white;
40 }
41
42 a, a:visited, a:active {
43 color: #0095dd;
44 text-decoration: none;
45 }
46
47 a:hover {
48 text-decoration: underline;
49 }
50
51 header
52 {
53 display: block;
54 padding: 0px 4px;
55 }
56
57 tt, code, kbd, samp {
58 font-family: Consolas, Monaco, 'Andale Mono', monospace;
59 }
60
61 .class-description {
62 font-size: 130%;
63 line-height: 140%;
64 margin-bottom: 1em;
65 margin-top: 1em;
66 }
67
68 .class-description:empty {
69 margin: 0;
70 }
71
72 #main {
73 float: left;
74 width: 70%;
75 }
76
77 article dl {
78 margin-bottom: 40px;
79 }
80
81 article img {
82 max-width: 100%;
83 }
84
85 section
86 {
87 display: block;
88 background-color: #fff;
89 padding: 12px 24px;
90 border-bottom: 1px solid #ccc;
91 margin-right: 30px;
92 }
93
94 .variation {
95 display: none;
96 }
97
98 .signature-attributes {
99 font-size: 60%;
100 color: #aaa;
101 font-style: italic;
102 font-weight: lighter;
103 }
104
105 nav
106 {
107 display: block;
108 float: right;
109 margin-top: 28px;
110 width: 30%;
111 box-sizing: border-box;
112 border-left: 1px solid #ccc;
113 padding-left: 16px;
114 }
115
116 nav ul {
117 font-family: 'Lucida Grande', 'Lucida Sans Unicode', arial, sans-serif;
118 font-size: 100%;
119 line-height: 17px;
120 padding: 0;
121 margin: 0;
122 list-style-type: none;
123 }
124
125 nav ul a, nav ul a:visited, nav ul a:active {
126 font-family: Consolas, Monaco, 'Andale Mono', monospace;
127 line-height: 18px;
128 color: #4D4E53;
129 }
130
131 nav h3 {
132 margin-top: 12px;
133 }
134
135 nav li {
136 margin-top: 6px;
137 }
138
139 footer {
140 display: block;
141 padding: 6px;
142 margin-top: 12px;
143 font-style: italic;
144 font-size: 90%;
145 }
146
147 h1, h2, h3, h4 {
148 font-weight: 200;
149 margin: 0;
150 }
151
152 h1
153 {
154 font-family: 'Open Sans Light', sans-serif;
155 font-size: 48px;
156 letter-spacing: -2px;
157 margin: 12px 24px 20px;
158 }
159
160 h2, h3.subsection-title
161 {
162 font-size: 30px;
163 font-weight: 700;
164 letter-spacing: -1px;
165 margin-bottom: 12px;
166 }
167
168 h3
169 {
170 font-size: 24px;
171 letter-spacing: -0.5px;
172 margin-bottom: 12px;
173 }
174
175 h4
176 {
177 font-size: 18px;
178 letter-spacing: -0.33px;
179 margin-bottom: 12px;
180 color: #4d4e53;
181 }
182
183 h5, .container-overview .subsection-title
184 {
185 font-size: 120%;
186 font-weight: bold;
187 letter-spacing: -0.01em;
188 margin: 8px 0 3px 0;
189 }
190
191 h6
192 {
193 font-size: 100%;
194 letter-spacing: -0.01em;
195 margin: 6px 0 3px 0;
196 font-style: italic;
197 }
198
199 table
200 {
201 border-spacing: 0;
202 border: 0;
203 border-collapse: collapse;
204 }
205
206 td, th
207 {
208 border: 1px solid #ddd;
209 margin: 0px;
210 text-align: left;
211 vertical-align: top;
212 padding: 4px 6px;
213 display: table-cell;
214 }
215
216 thead tr
217 {
218 background-color: #ddd;
219 font-weight: bold;
220 }
221
222 th { border-right: 1px solid #aaa; }
223 tr > th:last-child { border-right: 1px solid #ddd; }
224
225 .ancestors, .attribs { color: #999; }
226 .ancestors a, .attribs a
227 {
228 color: #999 !important;
229 text-decoration: none;
230 }
231
232 .clear
233 {
234 clear: both;
235 }
236
237 .important
238 {
239 font-weight: bold;
240 color: #950B02;
241 }
242
243 .yes-def {
244 text-indent: -1000px;
245 }
246
247 .type-signature {
248 color: #aaa;
249 }
250
251 .name, .signature {
252 font-family: Consolas, Monaco, 'Andale Mono', monospace;
253 }
254
255 .details { margin-top: 14px; border-left: 2px solid #DDD; }
256 .details dt { width: 120px; float: left; padding-left: 10px; padding-top: 6px; }
257 .details dd { margin-left: 70px; }
258 .details ul { margin: 0; }
259 .details ul { list-style-type: none; }
260 .details li { margin-left: 30px; padding-top: 6px; }
261 .details pre.prettyprint { margin: 0 }
262 .details .object-value { padding-top: 0; }
263
264 .description {
265 margin-bottom: 1em;
266 margin-top: 1em;
267 }
268
269 .code-caption
270 {
271 font-style: italic;
272 font-size: 107%;
273 margin: 0;
274 }
275
276 .source
277 {
278 border: 1px solid #ddd;
279 width: 80%;
280 overflow: auto;
281 }
282
283 .prettyprint.source {
284 width: inherit;
285 }
286
287 .source code
288 {
289 font-size: 100%;
290 line-height: 18px;
291 display: block;
292 padding: 4px 12px;
293 margin: 0;
294 background-color: #fff;
295 color: #4D4E53;
296 }
297
298 .prettyprint code span.line
299 {
300 display: inline-block;
301 }
302
303 .prettyprint.linenums
304 {
305 padding-left: 70px;
306 -webkit-user-select: none;
307 -moz-user-select: none;
308 -ms-user-select: none;
309 user-select: none;
310 }
311
312 .prettyprint.linenums ol
313 {
314 padding-left: 0;
315 }
316
317 .prettyprint.linenums li
318 {
319 border-left: 3px #ddd solid;
320 }
321
322 .prettyprint.linenums li.selected,
323 .prettyprint.linenums li.selected *
324 {
325 background-color: lightyellow;
326 }
327
328 .prettyprint.linenums li *
329 {
330 -webkit-user-select: text;
331 -moz-user-select: text;
332 -ms-user-select: text;
333 user-select: text;
334 }
335
336 .params .name, .props .name, .name code {
337 color: #4D4E53;
338 font-family: Consolas, Monaco, 'Andale Mono', monospace;
339 font-size: 100%;
340 }
341
342 .params td.description > p:first-child,
343 .props td.description > p:first-child
344 {
345 margin-top: 0;
346 padding-top: 0;
347 }
348
349 .params td.description > p:last-child,
350 .props td.description > p:last-child
351 {
352 margin-bottom: 0;
353 padding-bottom: 0;
354 }
355
356 .disabled {
357 color: #454545;
358 }
1 /* JSDoc prettify.js theme */
2
3 /* plain text */
4 .pln {
5 color: #000000;
6 font-weight: normal;
7 font-style: normal;
8 }
9
10 /* string content */
11 .str {
12 color: #006400;
13 font-weight: normal;
14 font-style: normal;
15 }
16
17 /* a keyword */
18 .kwd {
19 color: #000000;
20 font-weight: bold;
21 font-style: normal;
22 }
23
24 /* a comment */
25 .com {
26 font-weight: normal;
27 font-style: italic;
28 }
29
30 /* a type name */
31 .typ {
32 color: #000000;
33 font-weight: normal;
34 font-style: normal;
35 }
36
37 /* a literal value */
38 .lit {
39 color: #006400;
40 font-weight: normal;
41 font-style: normal;
42 }
43
44 /* punctuation */
45 .pun {
46 color: #000000;
47 font-weight: bold;
48 font-style: normal;
49 }
50
51 /* lisp open bracket */
52 .opn {
53 color: #000000;
54 font-weight: bold;
55 font-style: normal;
56 }
57
58 /* lisp close bracket */
59 .clo {
60 color: #000000;
61 font-weight: bold;
62 font-style: normal;
63 }
64
65 /* a markup tag name */
66 .tag {
67 color: #006400;
68 font-weight: normal;
69 font-style: normal;
70 }
71
72 /* a markup attribute name */
73 .atn {
74 color: #006400;
75 font-weight: normal;
76 font-style: normal;
77 }
78
79 /* a markup attribute value */
80 .atv {
81 color: #006400;
82 font-weight: normal;
83 font-style: normal;
84 }
85
86 /* a declaration */
87 .dec {
88 color: #000000;
89 font-weight: bold;
90 font-style: normal;
91 }
92
93 /* a variable name */
94 .var {
95 color: #000000;
96 font-weight: normal;
97 font-style: normal;
98 }
99
100 /* a function name */
101 .fun {
102 color: #000000;
103 font-weight: bold;
104 font-style: normal;
105 }
106
107 /* Specify class=linenums on a pre to get line numbering */
108 ol.linenums {
109 margin-top: 0;
110 margin-bottom: 0;
111 }
1 /* Tomorrow Theme */
2 /* Original theme - https://github.com/chriskempson/tomorrow-theme */
3 /* Pretty printing styles. Used with prettify.js. */
4 /* SPAN elements with the classes below are added by prettyprint. */
5 /* plain text */
6 .pln {
7 color: #4d4d4c; }
8
9 @media screen {
10 /* string content */
11 .str {
12 color: #718c00; }
13
14 /* a keyword */
15 .kwd {
16 color: #8959a8; }
17
18 /* a comment */
19 .com {
20 color: #8e908c; }
21
22 /* a type name */
23 .typ {
24 color: #4271ae; }
25
26 /* a literal value */
27 .lit {
28 color: #f5871f; }
29
30 /* punctuation */
31 .pun {
32 color: #4d4d4c; }
33
34 /* lisp open bracket */
35 .opn {
36 color: #4d4d4c; }
37
38 /* lisp close bracket */
39 .clo {
40 color: #4d4d4c; }
41
42 /* a markup tag name */
43 .tag {
44 color: #c82829; }
45
46 /* a markup attribute name */
47 .atn {
48 color: #f5871f; }
49
50 /* a markup attribute value */
51 .atv {
52 color: #3e999f; }
53
54 /* a declaration */
55 .dec {
56 color: #f5871f; }
57
58 /* a variable name */
59 .var {
60 color: #c82829; }
61
62 /* a function name */
63 .fun {
64 color: #4271ae; } }
65 /* Use higher contrast and text-weight for printable form. */
66 @media print, projection {
67 .str {
68 color: #060; }
69
70 .kwd {
71 color: #006;
72 font-weight: bold; }
73
74 .com {
75 color: #600;
76 font-style: italic; }
77
78 .typ {
79 color: #404;
80 font-weight: bold; }
81
82 .lit {
83 color: #044; }
84
85 .pun, .opn, .clo {
86 color: #440; }
87
88 .tag {
89 color: #006;
90 font-weight: bold; }
91
92 .atn {
93 color: #404; }
94
95 .atv {
96 color: #060; } }
97 /* Style */
98 /*
99 pre.prettyprint {
100 background: white;
101 font-family: Consolas, Monaco, 'Andale Mono', monospace;
102 font-size: 12px;
103 line-height: 1.5;
104 border: 1px solid #ccc;
105 padding: 10px; }
106 */
107
108 /* Specify class=linenums on a pre to get line numbering */
109 ol.linenums {
110 margin-top: 0;
111 margin-bottom: 0; }
112
113 /* IE indents via margin-left */
114 li.L0,
115 li.L1,
116 li.L2,
117 li.L3,
118 li.L4,
119 li.L5,
120 li.L6,
121 li.L7,
122 li.L8,
123 li.L9 {
124 /* */ }
125
126 /* Alternate shading for lines */
127 li.L1,
128 li.L3,
129 li.L5,
130 li.L7,
131 li.L9 {
132 /* */ }
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <title>JSDoc: Class: wpcf7cfApi</title>
6
7 <script src="scripts/prettify/prettify.js"> </script>
8 <script src="scripts/prettify/lang-css.js"> </script>
9 <!--[if lt IE 9]>
10 <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
11 <![endif]-->
12 <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
13 <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
14 </head>
15
16 <body>
17
18 <div id="main">
19
20 <h1 class="page-title">Class: wpcf7cfApi</h1>
21
22
23
24
25
26
27 <section>
28
29 <header>
30
31 <h2><span class="attribs"><span class="type-signature"></span></span>wpcf7cfApi<span class="signature">()</span><span class="type-signature"></span></h2>
32
33 <div class="class-description">public API</div>
34
35
36 </header>
37
38 <article>
39 <div class="container-overview">
40
41
42
43
44 <h2>Constructor</h2>
45
46
47
48 <h4 class="name" id="wpcf7cfApi"><span class="type-signature"></span>new wpcf7cfApi<span class="signature">()</span><span class="type-signature"></span></h4>
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67 <dl class="details">
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94 <dt class="tag-source">Source:</dt>
95 <dd class="tag-source"><ul class="dummy"><li>
96 <a href="scripts_es6.js.html">scripts_es6.js</a>, <a href="scripts_es6.js.html#line1351">line 1351</a>
97 </li></ul></dd>
98
99
100
101
102
103
104
105 </dl>
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127 </div>
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144 <h3 class="subsection-title">Methods</h3>
145
146
147
148
149
150
151
152 <h4 class="name" id=".repeaterAddSub"><span class="type-signature">(static) </span>repeaterAddSub<span class="signature">($form, repeaterDataId)</span><span class="type-signature"></span></h4>
153
154
155
156
157
158
159 <div class="description">
160 Append a new sub-entry to the repeater with the name `repeaterDataId` inside the form `$form`
161 </div>
162
163
164
165
166
167
168
169
170
171 <h5>Parameters:</h5>
172
173
174 <table class="params">
175 <thead>
176 <tr>
177
178 <th>Name</th>
179
180
181 <th>Type</th>
182
183
184
185
186
187 <th class="last">Description</th>
188 </tr>
189 </thead>
190
191 <tbody>
192
193
194 <tr>
195
196 <td class="name"><code>$form</code></td>
197
198
199 <td class="type">
200
201
202 <span class="param-type">String</span>
203 |
204
205 <span class="param-type">JQuery</span>
206
207
208
209 </td>
210
211
212
213
214
215 <td class="description last">JQuery object or css-selector representing the form</td>
216 </tr>
217
218
219
220 <tr>
221
222 <td class="name"><code>repeaterDataId</code></td>
223
224
225 <td class="type">
226
227
228 <span class="param-type">String</span>
229
230
231
232 </td>
233
234
235
236
237
238 <td class="description last">*data-id* attribute of the repeater. Normally this is simply the name of the repeater. However, in case of a nested repeater you need to append the name with the correct suffix. For example `my-nested-repeater__1__3`. Hint (check the `data-id` attribute in the HTML code to find the correct suffix)</td>
239 </tr>
240
241
242 </tbody>
243 </table>
244
245
246
247
248
249
250 <dl class="details">
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277 <dt class="tag-source">Source:</dt>
278 <dd class="tag-source"><ul class="dummy"><li>
279 <a href="scripts_es6.js.html">scripts_es6.js</a>, <a href="scripts_es6.js.html#line1358">line 1358</a>
280 </li></ul></dd>
281
282
283
284
285
286
287
288 </dl>
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315 </article>
316
317 </section>
318
319
320
321
322 </div>
323
324 <nav>
325 <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="wpcf7cfApi.html">wpcf7cfApi</a></li></ul>
326 </nav>
327
328 <br class="clear">
329
330 <footer>
331 Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.5</a> on Mon Sep 07 2020 10:41:43 GMT+0200 (Central European Summer Time)
332 </footer>
333
334 <script> prettyPrint(); </script>
335 <script src="scripts/linenumber.js"> </script>
336 </body>
337 </html>
...\ No newline at end of file ...\ No newline at end of file
1 /* initially hide all groups (even before JS is loaded), so the page will never render them while loading */
2 [data-class="wpcf7cf_group"], .wpcf7cf_remove, .wpcf7cf_add {
3 display:none;
4 }
5
6 .wpcf7cf_repeater_sub {
7 margin-bottom: 20px;
8 }
9
10 .wpcf7cf_repeater_controls, .wpcf7cf_step_controls {
11 display: flex;
12 justify-content: space-between;
13 flex-wrap: wrap;
14 margin-top: 20px;
15 }
16
17 .wpcf7cf_multistep .wpcf7cf_step {
18 /* display:none; */
19 width: 100%;
20 }
21
22 .wpcf7cf_multistep .wpcf7cf_step .step-title {
23 display: none;
24 }
25
26 .wpcf7cf_multistep .wpcf7cf_steps-dots {
27 display: flex;
28 width: 100%;
29 margin-bottom: 20px;
30 flex-wrap: wrap;
31 }
32
33 .wpcf7cf_multistep .wpcf7cf_steps-dots .dot .step-index {
34 display: inline-block;
35 border-radius: 50%;
36 background: #dfdfdf;
37 color: #000000;
38 width: 40px;
39 height: 40px;
40 line-height: 40px;
41 text-align: center;
42 }
43
44 .wpcf7cf_multistep .wpcf7cf_steps-dots .dot {
45 border-bottom: 5px solid #dfdfdf;
46 text-align: center;
47 flex: 1;
48 padding: 15px;
49 min-width: 120px;
50 }
51 .wpcf7cf_multistep .wpcf7cf_steps-dots .dot.completed {
52 border-bottom: 5px solid #333;
53 }
54 .wpcf7cf_multistep .wpcf7cf_steps-dots .dot.active {
55 border-bottom: 5px solid #333;
56 font-weight: bold;
57 }
58
59 .wpcf7cf_multistep .wpcf7cf_steps-dots .dot.completed .step-index {
60 background-color: #333;
61 color: #ffffff;
62 }
63
64 .wpcf7cf_multistep .wpcf7cf_steps-dots .dot.active .step-index {
65 background-color: #333;
66 color: #ffffff;
67 }
68
69 .wpcf7cf_step_controls .disabled {
70 pointer-events: none;
71 cursor: default;
72 opacity: .5;
73 }
...\ No newline at end of file ...\ No newline at end of file
1 <div class="control-box">
2 <fieldset>
3 <legend><?php echo sprintf( esc_html( $description ) ); ?></legend>
4
5 <table class="form-table">
6 <tbody>
7
8 <tr>
9 <th scope="row"><label for="<?php echo esc_attr( $args['content'] . '-name' ); ?>"><?php _e( 'Name', 'cf7-conditional-fields' ); ?></label></th>
10 <td><input type="text" name="name" class="tg-name oneline" id="<?php echo esc_attr( $args['content'] . '-name' ); ?>" /></td>
11 </tr>
12
13 <tr>
14 <th scope="row"><label for="clear_on_hide"><?php _e( 'Clear on hide', 'cf7-conditional-fields' ); ?></label></th>
15 <td><input type="checkbox" name="clear_on_hide" class="option" id="clear_on_hide" /></td>
16 </tr>
17
18 <?php if (WPCF7CF_IS_PRO) { ?>
19 <tr>
20 <th scope="row"><label for="disable_on_hide"><?php echo esc_html( __( 'Disable on hide', 'cf7-conditional-fields' ) ); ?></label></th>
21 <td><input type="checkbox" name="disable_on_hide" class="option" id="disable_on_hide" /></td>
22 </tr>
23 <?php } ?>
24
25 <tr>
26 <th scope="row"><label for="inline"><?php echo esc_html( __( 'Inline', 'cf7-conditional-fields' ) ); ?></label></th>
27 <td><input type="checkbox" name="inline" class="option" id="inline" /></td>
28 </tr>
29
30 </tbody>
31 </table>
32 </fieldset>
33 </div>
34
35 <div class="insert-box">
36 <input type="text" name="<?php echo $type; ?>" class="tag code" readonly="readonly" onfocus="this.select()" />
37
38 <div class="submitbox">
39 <input type="button" class="button button-primary insert-tag" value="<?php _e( 'Insert Tag', 'cf7-conditional-fields' ); ?>" />
40 </div>
41
42 <br class="clear" />
43 </div>
...\ No newline at end of file ...\ No newline at end of file
1 #dashboard_cf7ms .cf7mls-postbox-title-wrap {
2 margin: 15px 0;
3 }
4
5 #dashboard_cf7ms .cf7mls-postbox-title-wrap>h3 {
6 font-size: 14px;
7 font-weight: 600;
8 padding: 0;
9 margin: 0;
10 border: 0
11 }
12
13 #dashboard_cf7ms .cf7mls-postbox-img-wrap {
14 margin: 20px 0
15 }
16
17 #dashboard_cf7ms .cf7mls-postbox-list-wrap {
18 margin-bottom: 25px
19 }
20
21 #dashboard_cf7ms .cf7mls-list-checked li {
22 position: relative;
23 padding: 0 0 0 26px;
24 font-size: 13px;
25 display: block;
26 line-height: 1.5;
27 margin-bottom: 8px
28 }
29
30 #dashboard_cf7ms .cf7mls-list-checked li:after,
31 #dashboard_cf7ms .cf7mls-list-checked li:before {
32 position: absolute;
33 width: 14px;
34 height: 14px;
35 top: 2px;
36 left: 5px
37 }
38
39 #dashboard_cf7ms .cf7mls-list-checked li:before {
40 content: "";
41 background-color: #18ae62;
42 border-radius: 14px;
43 z-index: 1
44 }
45
46 #dashboard_cf7ms .cf7mls-list-checked li:after {
47 content: "";
48 background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23fff' d='M435.848 83.466L172.804 346.51l-96.652-96.652c-4.686-4.686-12.284-4.686-16.971 0l-28.284 28.284c-4.686 4.686-4.686 12.284 0 16.971l133.421 133.421c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-28.284-28.284c-4.686-4.686-12.284-4.686-16.97 0z'/%3E%3C/svg%3E");
49 background-position: 50%;
50 background-repeat: no-repeat;
51 background-size: 8px;
52 z-index: 2
53 }
54
55 #dashboard_cf7ms .cf7mls-postbox-btn-wrap {
56 margin-bottom: 30px;
57 text-align: center;
58 }
59
60 #dashboard_cf7ms .cf7mls-postbox-btn-wrap .button {
61 height: 40px;
62 line-height: 38px;
63 padding: 0 30px;
64 }
...\ No newline at end of file ...\ No newline at end of file
1 <svg width="14px" height="14px" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve">
2 <metadata> Svg Vector Icons : http://www.onlinewebfonts.com/icon </metadata>
3 <g><path d="M500,10C229.4,10,10,229.4,10,500s219.4,490,490,490s490-219.4,490-490S770.6,10,500,10z M500,920C268,920,80,732,80,500S268,80,500,80s420,188,420,420S732,920,500,920z M500,220c-81.7,0-150.5,56.2-169.6,132c-5.5,21.8,10.8,43,33.2,43h1.3c15.9,0,29.4-10.8,33.4-26.3C410,323.5,451.1,290,500,290c57.9,0,105,47.1,105,105c0,37.4-20.1,72.2-52.5,91l0,0l0,0c-26,15.1-48,37.4-63.5,64.4c-8.3,14.4-14.4,29.9-18.5,45.9c-5.6,22.2,11,43.6,33.9,43.6l0,0c16,0,30.1-10.8,33.9-26.5c7-28,24.8-52.8,49.2-66.9l0,0l0,0C641.4,515.4,675,457.3,675,395C675,298.5,596.5,220,500,220z M500,710L500,710c19.4,0,35,15.6,35,35l0,0c0,19.4-15.6,35-35,35l0,0c-19.4,0-35-15.6-35-35l0,0C465,725.6,480.6,710,500,710z"/></g>
4 </svg>
...\ No newline at end of file ...\ No newline at end of file
1 (function($) {
2 jQuery(document).ready(function($) {
3 jQuery(".cf7mls-color-field").wpColorPicker();
4
5 jQuery('#cf7mls-progress-bar .cf7mls_progress_bar_filter').wpColorPicker(
6 {
7 change: function(event, ui){
8 // Change background color progress bar
9 let color = ui.color.toString();
10 // cf7mls_change_color_bar(color);
11 }
12 }
13 );
14
15 jQuery('#cf7mls-progress-bar .cf7mls_progress_bar_percent_filter').wpColorPicker(
16 {
17 change: function(event, ui){
18 // Change background color progress bar
19 let color = ui.color.toString();
20 // $('.cf7mls_progress_bar_percent_wrap .cf7mls_progress_barinner').css('background', color);
21 // $('.cf7mls_progress_bar_per_mobie_wrap .cf7mls_progress_barinner').css('background', color);
22 }
23 }
24 );
25
26 var btnColorPickers = jQuery('button.wp-color-result')
27 for (var i = 0; i < btnColorPickers.length; i++) {
28 btnColorPickers[i].defaultValue = btnColorPickers[i].value
29 }
30
31 var title_steps = [];
32 if(cf7mls.steps.length >= 2 && Array.isArray(cf7mls.steps)) {
33 title_steps = cf7mls.steps;
34 }
35 $('#postbox-container-1').append($('#cf7mls_PostBoxUpgradePro'));
36 $('#tag-generator-list a.thickbox').click(function(){
37 $( 'textarea#wpcf7-form' ).attr('id', 'wpcf7-form-bak');
38 });
39 var tb_unload_count = 1;
40 $(window).bind('tb_unload', function () {
41 if (tb_unload_count > 1) {
42 tb_unload_count = 1;
43 } else {
44 $( 'textarea#wpcf7-form-bak' ).attr('id', 'wpcf7-form');
45 tb_unload_count = tb_unload_count + 1;
46 }
47 });
48
49 //cf7mls_load_step_name(jQuery('#wpcf7-form').val());
50 // $("[data-config-field]").change(function() {
51 // var val = $(this).val();
52 // cf7mls_load_step_name(val);
53 //đây là đoạn code tớ xử lý, khi cái textarea kia change, thì load mấy cái input nhập name, mà có lúc dc lúc ko, có gì cậu coi giùm tớ nhé :d
54 // });
55
56 // jQuery("#contact-form-editor").on("tabsactivate", function(event, ui) {
57 // if ((ui.newTab.context.hash === "#cf7mls-progress-bar") && Array.isArray(title_steps)) {
58 // cf7mls_load_step_name(title_steps);
59 // }
60 // });
61
62 // Transition effects
63 if($('#cf7mls_multi_step_wrap input.cf7mls_toggle_transition_effects').is(":checked") === false){
64 $('#cf7mls_multi_step_wrap .cf7mls-stype-transition-wrap').css('display', 'none');
65 }
66
67 $('#cf7mls_multi_step_wrap .cf7mls_switch').click(function(){
68 if($('#cf7mls_multi_step_wrap input.cf7mls_toggle_transition_effects').is(":checked")){
69 $('#cf7mls_multi_step_wrap input.cf7mls_toggle_transition_effects').attr('checked', true);
70 $('#cf7mls_multi_step_wrap .cf7mls-stype-transition-wrap').css('display', '');
71 }else {
72 $('#cf7mls_multi_step_wrap input.cf7mls_toggle_transition_effects').attr('checked', false);
73 $('#cf7mls_multi_step_wrap .cf7mls-stype-transition-wrap').css('display', 'none');
74 }
75 });
76
77 if($('.cf7mls_progress_bars_witch input.cf7mls_enable_progress_bar').is(":checked") === false){
78 $('#cf7mls_progress_bar').addClass('hide');
79 $('.cf7mls_number_step_wrap').addClass('hide');
80 $('.cf7mls_form_demo_one').css('margin-top', '28px');
81 $('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .cf7mls_bg_color_wrap.cf7mls_bg_color_progress').addClass('hide');
82 $('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .cf7mls_progress_style_wrap').addClass('hide');
83 $('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .title_options_wrap').addClass('hide');
84 }else {
85 $('#cf7mls_progress_bar').removeClass('hide');
86 $('.cf7mls_number_step_wrap').removeClass('hide');
87 $('.cf7mls_form_demo_one').css('margin-top', '');
88 $('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .cf7mls_bg_color_wrap.cf7mls_bg_color_progress').removeClass('hide');
89 $('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .cf7mls_progress_style_wrap').removeClass('hide');
90 $('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .title_options_wrap').removeClass('hide');
91 }
92
93 $('.cf7mls-pogress-bar .cf7mls_progress_bars_witch').click(function(event) {
94 event.stopPropagation();
95 // if($('.cf7mls_progress_bars_witch input.cf7mls_enable_progress_bar').is(":checked")){
96 // $('.cf7mls_progress_bars_witch input.cf7mls_enable_progress_bar').attr('checked', true);
97 // $('#cf7mls_progress_bar').removeClass('hide');
98 // $('.cf7mls_number_step_wrap').removeClass('hide');
99 // $('.cf7mls_form_demo_one').css('margin-top', '');
100 // $('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .cf7mls_bg_color_wrap.cf7mls_bg_color_progress').removeClass('hide');
101 // $('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .cf7mls_progress_style_wrap').removeClass('hide');
102 // $('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .title_options_wrap').removeClass('hide');
103 // }else {
104 // $('.cf7mls_progress_bars_witch input.cf7mls_enable_progress_bar').attr('checked', false);
105 // $('#cf7mls_progress_bar').addClass('hide');
106 // $('.cf7mls_number_step_wrap').addClass('hide');
107 // $('.cf7mls_form_demo_one').css('margin-top', '28px');
108 // $('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .cf7mls_bg_color_wrap.cf7mls_bg_color_progress').addClass('hide');
109 // $('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .cf7mls_progress_style_wrap').addClass('hide');
110 // $('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .title_options_wrap').addClass('hide');
111 // }
112 });
113
114 // Background Color Progress Bar
115 var progress_bar_bg_color = $('.cf7mls_progress_bar_filter').val();
116 $('head').append('<style id="cf7mls_style_progress_bar" type="text/css"></style>');
117 if(progress_bar_bg_color) {
118 cf7mls_change_color_bar(progress_bar_bg_color);
119 }
120
121 // Progress bar percent
122 if($('.cf7mls_progress_bars_witch input.cf7mls_enable_progress_bar_percent').is(":checked") === false){
123 // $('.cf7mls_progress_bar_percent_wrap').addClass('hide');
124 $('.cf7mls_progress_bar_per_mobie_wrap').addClass('hide');
125 $('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .cf7mls_bg_color_wrap.cf7mls_bg_color_progress_percent').addClass('hide');
126 }else {
127 $('.cf7mls_progress_bar_per_mobie_wrap').removeClass('hide');
128 $('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .cf7mls_bg_color_wrap.cf7mls_bg_color_progress_percent').removeClass('hide');
129 }
130
131 $('.cf7mls-pogress-bar-percent .cf7mls_progress_bars_witch').click(function() {
132 if($('.cf7mls_progress_bars_witch input.cf7mls_enable_progress_bar_percent').is(":checked")){
133 $('.cf7mls_progress_bars_witch input.cf7mls_enable_progress_bar_percent').attr('checked', true);
134 // $('.cf7mls_progress_bar_percent_wrap').removeClass('hide');
135 $('.cf7mls_progress_bar_per_mobie_wrap').removeClass('hide');
136 $('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .cf7mls_bg_color_wrap.cf7mls_bg_color_progress_percent').removeClass('hide');
137 }else {
138 $('.cf7mls_progress_bars_witch input.cf7mls_enable_progress_bar_percent').attr('checked', false);
139 // $('.cf7mls_progress_bar_percent_wrap').addClass('hide');
140 $('.cf7mls_progress_bar_per_mobie_wrap').addClass('hide');
141 $('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .cf7mls_bg_color_wrap.cf7mls_bg_color_progress_percent').addClass('hide');
142 }
143 });
144
145 // Background Color Progress Bar Percent
146 var progress_bar_per_color = $('.cf7mls_progress_bar_percent_filter').val();
147 if(progress_bar_per_color) {
148 // $('.cf7mls_progress_bar_percent_wrap .cf7mls_progress_barinner').css('background', progress_bar_per_color);
149 $('.cf7mls_progress_bar_per_mobie_wrap .cf7mls_progress_barinner').css('background', progress_bar_per_color);
150 }
151
152
153
154 function cf7mls_change_color_bar(color) {
155 let style_bar = 'cf7mls_bar_style_' + $('#cf7mls_progress_bar_style').val();
156 let style_bar_icon = ($('#cf7mls_progress_bar_style').val() == 'box_vertical' || $('#cf7mls_progress_bar_style').val() == 'box_larerSign') ? 'squaren' : $('#cf7mls_progress_bar_icon_style').val();
157 style_bar += '_' + style_bar_icon;
158 let style_text = 'cf7mls_bar_style_text_' + $('.cf7mls-select-style-text .active').attr('data-style-text');
159
160 let css_item_icon = '.' + style_bar + '.' + style_text + ' li .cf7_mls_steps_item_icon { background: '+ color + ';}';
161 let css_item_icon_befor = '.' + style_bar + '.' + style_text + ' li:before { background: '+ color + ';}';
162
163 let css_bg_li = '.' + style_bar + '.' + style_text + ' li{ background: '+ color + ';}';
164 let css_step = '.' + style_bar + '.' + style_text + ' li .cf7_mls_count_step{ color: '+ color + ';}'
165 let css_check = '.' + style_bar + '.' + style_text + ' li .cf7_mls_check{ color: '+ color + ';}';
166 let css_li_after = '.' + style_bar + '.' + style_text + ' li:after{ background: '+ color + ';}';
167
168 //
169 let css_li = '.' + style_bar + '.' + style_text + ' li:nth-child';
170 let css_title_after = '.cf7mls_progress_bar_title:after{ background: '+ color + ';}';
171 let css_title_border = '.cf7mls_progress_bar_title:after{ border-color: '+ color + ';}'
172
173 let css_progress_bar = '';
174 // progress bar on ipad, mobile
175 css_progress_bar += '.cf7mls_number_step_wrap .cf7mls_progress_barinner { background:' + color + ';}';
176
177 // progress bar on computer
178
179 }
180
181 });
182 })(jQuery);
183
This diff could not be displayed because it is too large.
1 .wpcf7-form{
2 position: relative;
3 /* border : 1px solid #eaeaea; */
4 overflow: hidden;
5 display: block !important;
6 }
7 .wpcf7-form .fieldset-cf7mls{
8 border: none;
9 background: none;
10 }
11 .wpcf7 form.sent .wpcf7-response-output {
12 display: block;
13 }
14 .cf7mls-btns .cf7mls_next.action-button, .cf7mls-btns .cf7mls_back.action-button {
15 margin: 25px 0px 26px;
16 padding: 13px 15px;
17 }
18 .cf7mls_next.action-button {
19 background-color: #0073aa;
20 border: 0 none;
21 border-radius: 3px;
22 color: #ffffff;
23 cursor: pointer;
24 font-weight: bold;
25 margin: 25px 0px 26px;
26 padding: 13px 5px;
27 min-width: 100px;
28 position: relative;
29 }
30 .cf7mls_back.action-button {
31 background-color: #e3e3e3;
32 border: 0 none;
33 border-radius: 3px;
34 color: #23282d;
35 cursor: pointer;
36 font-weight: bold;
37 margin: 16px 0px 26px;
38 padding: 13px 5px;
39 min-width: 100px;
40 position: relative;
41 }
42 .fieldset-cf7mls .wpcf7-form-control.wpcf7-cf7mls_preview_step {
43 background-color: #27ae60;
44 border: 0 none;
45 border-radius: 3px;
46 color: white;
47 cursor: pointer;
48 font-weight: bold;
49 margin: 26px 0px 32px;
50 padding: 13px 5px;
51 min-width: 100px;
52 position: relative;
53 }
54 .cf7mls_back.action-button {
55 margin-right: 10px;
56 float: left;
57 }
58
59 .cf7mls_next.action-button:hover,
60 .cf7mls_back.action-button:hover,
61 .fieldset-cf7mls .wpcf7-form-control.wpcf7-cf7mls_preview_step:hover {
62 opacity: 0.8;
63 }
64 .fieldset-cf7mls .cf7mls_back{
65 float: left;
66 }
67 .fieldset-cf7mls .cf7mls_next {
68 float: right;
69 }
70
71 form.cf7mls input.wpcf7-form-control.wpcf7-submit {
72 border-radius: 3px;
73 padding: 13px 29px;
74 font-weight: bold;
75 margin: 16px 0px 26px;
76 float: right;
77 /* background-color: #0073aa; */
78 /* color: #ffffff; */
79 }
80
81 form.cf7mls input.wpcf7-form-control.wpcf7-submit:hover {
82 opacity: 0.8;
83 }
84
85
86 .cf7mls_reviewing_overlay {
87 position: fixed;
88 left: 0;
89 top: 0;
90 right: 0;
91 bottom: 0;
92 background-color: rgba(0, 0, 0, 0.8);
93 z-index: 100;
94 display: none;
95 }
96
97 form.wpcf7-form.cf7mls_reviewing {
98 position: relative;
99 z-index: 999999;
100 background-color: #fff;
101 }
102 form.wpcf7-form.cf7mls_reviewing:before{
103 content: '';
104 position: absolute;
105 background: rgba(0,0,0,0.8);
106 width: 100000px;
107 height: 100000px;
108 left: -30000px;
109 top: -30000px;
110 z-index: 1;
111 }
112 form.wpcf7-form.cf7mls_reviewing > *{
113 position: relative;
114 z-index: 3;
115 }
116 form.wpcf7-form.cf7mls_reviewing .cf7mls_close_preview {
117 cursor: pointer;
118 position: absolute;
119 top: 10px;
120 right: 0;
121 }
122 form.wpcf7-form.cf7mls_reviewing:after{
123 content: '';
124 position: absolute;
125 top: -5px;
126 left: -20px;
127 right: -20px;
128 bottom: -10px;
129 background: #ffffff;
130 z-index: 2;
131 }
132 /*
133 * Animation
134 */
135 /*
136 button.cf7mls_btn:not(.disabled):before {
137 content: '';
138 position: absolute;
139 right: 10px;
140 top: 50%;
141 margin-top: -11px;
142 width: 20px;
143 height: 20px;
144 border: 4px solid;
145 border-left-color: transparent;
146 border-radius: 50%;
147 filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
148 opacity: 0;
149 -moz-transition-duration: 0.5s;
150 -o-transition-duration: 0.5s;
151 -webkit-transition-duration: 0.5s;
152 transition-duration: 0.5s;
153 -moz-transition-property: opacity;
154 -o-transition-property: opacity;
155 -webkit-transition-property: opacity;
156 transition-property: opacity;
157 -moz-animation-duration: 1s;
158 -webkit-animation-duration: 1s;
159 animation-duration: 1s;
160 -moz-animation-iteration-count: infinite;
161 -webkit-animation-iteration-count: infinite;
162 animation-iteration-count: infinite;
163 -moz-animation-name: rotate;
164 -webkit-animation-name: rotate;
165 animation-name: rotate;
166 -moz-animation-timing-function: linear;
167 -webkit-animation-timing-function: linear;
168 animation-timing-function: linear;
169 }
170 button.cf7mls_btn:not(.disabled):after {
171 content: '';
172 display: inline-block;
173 height: 100%;
174 width: 0px;
175 -moz-transition-delay: 0.5s;
176 -o-transition-delay: 0.5s;
177 -webkit-transition-delay: 0.5s;
178 transition-delay: 0.5s;
179 -moz-transition-duration: 0.75s;
180 -o-transition-duration: 0.75s;
181 -webkit-transition-duration: 0.75s;
182 transition-duration: 0.75s;
183 -moz-transition-property: width;
184 -o-transition-property: width;
185 -webkit-transition-property: width;
186 transition-property: width;
187 }
188 button.cf7mls_btn:not(.disabled).sending {
189 pointer-events: none;
190 cursor: not-allowed;
191 }
192 button.cf7mls_btn:not(.disabled).sending:not(.expand) {
193 text-align: left;
194 }
195 button.cf7mls_btn:not(.disabled).sending:before {
196 -moz-transition-delay: 0.5s;
197 -o-transition-delay: 0.5s;
198 -webkit-transition-delay: 0.5s;
199 transition-delay: 0.5s;
200 -moz-transition-duration: 1s;
201 -o-transition-duration: 1s;
202 -webkit-transition-duration: 1s;
203 transition-duration: 1s;
204 filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false);
205 opacity: 1;
206 }
207 button.cf7mls_btn:not(.disabled).sending:after {
208 -moz-transition-delay: 0s;
209 -o-transition-delay: 0s;
210 -webkit-transition-delay: 0s;
211 transition-delay: 0s;
212 width: 20px;
213 }
214
215 @keyframes rotate {
216 0% {
217 -moz-transform: rotate(0deg);
218 -ms-transform: rotate(0deg);
219 -webkit-transform: rotate(0deg);
220 transform: rotate(0deg);
221 }
222 100% {
223 -moz-transform: rotate(360deg);
224 -ms-transform: rotate(360deg);
225 -webkit-transform: rotate(360deg);
226 transform: rotate(360deg);
227 }
228 }
229 */
230 .wpcf7-form .fieldset-cf7mls .cf7mls-btns {
231 min-height: 80px;
232 }
233 .cf7mls_next.action-button img {
234 width: 20px;
235 position: relative;
236 margin-left: 5px;
237 vertical-align: middle;
238 }
239 .cf7mls_next.action-button.sending img {
240 display: inline-block !important;
241 }
242 .cf7mls_next.action-button:focus,
243 .cf7mls_back.action-button:focus {
244 outline: none;
245 }
246 .fieldset-cf7mls-wrapper{
247 position: relative;
248 overflow: hidden;
249 }
250 .fieldset-cf7mls-wrapper .fieldset-cf7mls{
251 width: 100%;
252 opacity: 0;
253 visibility: hidden;
254 -webkit-transition: all 800ms cubic-bezier(0.680, 0, 0.265, 1); /* older webkit */
255 -webkit-transition: all 800ms cubic-bezier(0.680, -0.550, 0.265, 1.550);
256 -moz-transition: all 800ms cubic-bezier(0.680, -0.550, 0.265, 1.550);
257 -o-transition: all 800ms cubic-bezier(0.680, -0.550, 0.265, 1.550);
258 transition: all 800ms cubic-bezier(0.680, -0.550, 0.265, 1.550); /* easeInOutBack */
259
260 -webkit-transition-timing-function: cubic-bezier(0.680, 0, 0.265, 1); /* older webkit */
261 -webkit-transition-timing-function: cubic-bezier(0.680, -0.550, 0.265, 1.550);
262 -moz-transition-timing-function: cubic-bezier(0.680, -0.550, 0.265, 1.550);
263 -o-transition-timing-function: cubic-bezier(0.680, -0.550, 0.265, 1.550);
264 transition-timing-function: cubic-bezier(0.680, -0.550, 0.265, 1.550); /* easeInOutBack */
265 }
266 .cf7mls-no-moving-animation .fieldset-cf7mls-wrapper .fieldset-cf7mls {
267 transition: none;
268 }
269 .fieldset-cf7mls-wrapper .cf7mls_back_fs{
270 position: absolute;
271 left: 0;
272 top: 15px;
273 transform: translate(-110%,0);
274 -webkit-transform: translate(-110%,0);
275 -moz-transform: translate(-110%,0);
276 }
277 .fieldset-cf7mls-wrapper .cf7mls_current_fs ~ .fieldset-cf7mls{
278 position: absolute;
279 left: 0;
280 top: 15px;
281 transform: translate(110%,0);
282 -webkit-transform: translate(110%,0);
283 -moz-transform: translate(110%,0);
284 }
285 .wpcf7-form .cf7mls_progress_bar ~ .fieldset-cf7mls-wrapper fieldset {
286 padding-top: 0px;
287 margin-top: 0px;
288 padding-bottom: 2px;
289 margin-bottom: 20px;
290 }
291 .fieldset-cf7mls-wrapper .cf7mls_current_fs{
292 opacity: 1;
293 visibility: visible
294 }
295 .fieldset-cf7mls.cf7mls_preview_fs {
296 height: auto;
297 overflow: visible;
298 opacity: 1;
299 visibility: visible;
300 transform: translate(0,0);
301 -webkit-transform: translate(0,0);
302 -moz-transform: translate(0,0);
303 position: relative;
304 }
305 .fieldset-cf7mls-wrapper .wpcf7-not-valid-tip {
306 font-size: 13px;
307 }
308 .fieldset-cf7mls-wrapper div.wpcf7-validation-errors {
309 border: none;
310 display: block;
311 color: #f00;
312 font-size: 13px;
313 padding-left: 0px;
314 margin-left: 0px;
315 }
316 .fieldset-cf7mls-wrapper div.wpcf7-validation-errors .wpcf7-icon-wraning {
317 display: block;
318 float: left;
319 margin-right: 8px;
320 margin-top: 2px;
321 fill: #f00;
322 }
323 .fieldset-cf7mls-wrapper .fieldset-cf7mls span.ajax-loader {
324 position: absolute;
325 right: 39px;
326 margin-top: 33px;
327 }
328 @media only screen and (max-width: 767px) {
329 .fieldset-cf7mls input[type="radio"],
330 .fieldset-cf7mls input[type="checkbox"]{
331 width: auto;
332 }
333 .fieldset-cf7mls input, .wpcf7-form .fieldset-cf7mls textarea{
334 width: 100%;
335 }
336 }
1 <svg version="1.1" id="loader-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
2 width="40px" height="40px" viewBox="0 0 50 50" style="enable-background:new 0 0 50 50;" xml:space="preserve">
3 <path fill="#fff" d="M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z">
4 <animateTransform attributeType="xml"
5 attributeName="transform"
6 type="rotate"
7 from="0 25 25"
8 to="360 25 25"
9 dur="0.9s"
10 repeatCount="indefinite"/>
11 </path>
12 </svg>
1 <?php
2
3 /*
4 Plugin Name: Multi Step for Contact Form 7 (Lite)
5 Plugin URI: https://ninjateam.org/contact-form-7-multi-step/
6 Description: Break your long form into user-friendly steps.
7 Version: 2.7.4
8 Author: NinjaTeam
9 Author URI: http://ninjateam.org
10 */
11 if ( ! defined( 'ABSPATH' ) ) {
12 exit;
13 }
14
15 if ( function_exists( 'cf7mls_plugin_init' ) ) {
16 require_once plugin_dir_path( __FILE__ ) . 'inc/Fallback.php';
17 add_action(
18 'admin_init',
19 function() {
20 deactivate_plugins( plugin_basename( __FILE__ ) );
21 }
22 );
23 return;
24 }
25
26 if ( ! defined( 'CF7MLS_PLUGIN_DIR' ) ) {
27 define( 'CF7MLS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
28 }
29 if ( ! defined( 'CF7MLS_PLUGIN_URL' ) ) {
30 define( 'CF7MLS_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
31 }
32 if ( ! defined( 'CF7MLS_PLUGIN_BASENAME' ) ) {
33 define( 'CF7MLS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
34 }
35 if ( ! defined( 'CF7MLS_NTA_VERSION' ) ) {
36 define( 'CF7MLS_NTA_VERSION', '2.7.4' );
37 }
38
39 if ( ! function_exists( 'cf7mls_plugin_init' ) ) {
40 function cf7mls_plugin_init() {
41 // language load text domain
42 require_once CF7MLS_PLUGIN_DIR . '/inc/I18n.php';
43 // CF7DB
44 require_once CF7MLS_PLUGIN_DIR . '/inc/cf7db.php';
45 // admin
46 require_once CF7MLS_PLUGIN_DIR . '/inc/admin/init.php';
47 require_once CF7MLS_PLUGIN_DIR . '/inc/admin/settings.php';
48 require_once CF7MLS_PLUGIN_DIR . '/inc/admin/review.php';
49 require_once CF7MLS_PLUGIN_DIR . '/inc/admin/dashboard-widget.php';
50 // frontend
51 require_once CF7MLS_PLUGIN_DIR . '/inc/frontend/init.php';
52 require_once CF7MLS_PLUGIN_DIR . '/inc/frontend/validation.php';
53 }
54 }
55
56 add_action( 'plugins_loaded', 'cf7mls_plugin_init' );
57
1 <?php
2
3 defined( 'ABSPATH' ) || exit;
4 add_action(
5 'admin_notices',
6 function() {
7 if ( current_user_can( 'activate_plugins' ) ) {
8 ?>
9 <div class="notice notice-error is-dismissible">
10 <p>
11 <strong><?php esc_html_e( 'It looks like you have another Contact Form 7 Multi-Step version installed, please delete it before activating this new version. All of the settings and data are still preserved.', 'cf7mls' ); ?></strong>
12 </p>
13 </div>
14 <?php
15 if ( isset( $_GET['activate'] ) ) {
16 unset( $_GET['activate'] );
17 }
18 }
19 }
20 );
...\ No newline at end of file ...\ No newline at end of file
1 <?php
2 if ( ! class_exists( 'NjtCF7MLSI18n' ) ) {
3 class NjtCF7MLSI18n {
4
5 public function __construct() {
6 $this->doHooks();
7 }
8
9 private function doHooks() {
10 add_action( 'plugins_loaded', array( $this, 'cf7mlsLoadTextdomain' ) );
11 }
12 public function cf7mlsLoadTextdomain() {
13 load_plugin_textdomain( 'cf7mls', false, plugin_basename( CF7MLS_PLUGIN_DIR ) . '/languages/' );
14 }
15 }
16 new NjtCF7MLSI18n();
17 }
1 <?php
2
3 if ( ! defined( 'ABSPATH' ) ) {
4 exit;
5 }
6 if ( ! function_exists( 'cf7cmlsIsMoanaActivated' ) ) {
7 function cf7cmlsIsMoanaActivated() {
8 return defined( 'CF7_VC_DIR' );
9 }
10 }
11 // Add Go Pro Action Link
12 add_filter( 'plugin_action_links_' . CF7MLS_PLUGIN_BASENAME, 'cf7mls_plugin_action_links' );
13 function cf7mls_plugin_action_links( $links ) {
14 $links[] = '<a target="_blank" href="https://1.envato.market/Multi-Step-Form" style="color: #43B854; font-weight: bold">' . __( 'Go Pro', 'cf7mls' ) . '</a>';
15 return $links;
16 }
17 // Add Document link
18 add_filter( 'plugin_row_meta', 'cf7mls_plugin_row_meta', 10, 2 );
19 function cf7mls_plugin_row_meta( $links, $file ) {
20 if ( strpos( $file, 'contact-form-7-multi-step.php' ) !== false ) {
21 $new_links = array(
22 'doc' => '<a href="https://ninjateam.org/contact-form-7-multi-step-pro-doc/" target="_blank">' . __( 'Documentation', 'cf7mls' ) . '</a>',
23 );
24
25 $links = array_merge( $links, $new_links );
26 }
27 return $links;
28 }
29
30 add_filter( 'wpcf7_editor_panels', 'cf7mls_wpcf7_editor_panels' );
31 function cf7mls_wpcf7_editor_panels( $panels ) {
32 $panels['form-panel'] = array(
33 'title' => __( 'Form', 'contact-form-7' ),
34 'callback' => 'cf7mls_wpcf7_editor_panel_form',
35 );
36 return $panels;
37 }
38 function cf7mls_wpcf7_editor_panel_form( $post ) {
39 $desc_link = wpcf7_link(
40 __( 'https://contactform7.com/editing-form-template/', 'contact-form-7' ),
41 __( 'Editing Form Template', 'contact-form-7' )
42 );
43 $description = __( 'You can edit the form template here. For details, see %s.', 'contact-form-7' );
44 $description = sprintf( esc_html( $description ), $desc_link );
45 ?>
46
47 <h2 class="cf7mls-title-form"><?php echo esc_html( __( 'Form', 'contact-form-7' ) ); ?></h2>
48 <fieldset class="cf7mls-wrap-form">
49 <legend class="cf7mls-description-form"><?php echo $description; ?></legend>
50 <?php
51 $tag_generator = WPCF7_TagGenerator::get_instance();
52 $tag_generator->print_buttons();
53 ?>
54 <textarea id="wpcf7-form" name="wpcf7-form" cols="100" rows="24" class="large-text code" data-config-field="form.body"><?php echo esc_textarea( $post->prop( 'form' ) ); ?></textarea>
55 <div id="cf7mls-app"></div>
56 <div id="cf7mls_PostBoxUpgradePro" style="display:none;"></div>
57 </fieldset>
58
59 <?php
60 }
61
62 // add js, css
63 add_action( 'admin_enqueue_scripts', 'cf7mls_admin_scripts_callback' );
64 function cf7mls_admin_scripts_callback( $hook_suffix ) {
65 $load_js_css = false;
66 if ( ( substr( $hook_suffix, -15 ) == '_page_wpcf7-new' ) || ( $hook_suffix == 'toplevel_page_wpcf7' ) ) {
67 $load_js_css = true;
68 }
69 if ( $load_js_css === true ) {
70 wp_enqueue_style( 'wp-color-picker' );
71 wp_enqueue_script( 'wp-color-picker' );
72
73 wp_enqueue_style( 'vue-css', CF7MLS_PLUGIN_URL . 'assets/dist/css/main.css' );
74 wp_register_script( 'vue-js', CF7MLS_PLUGIN_URL . 'assets/dist/js/main.js' );
75 wp_enqueue_script( 'vue-js' );
76 wp_localize_script(
77 'vue-js',
78 'cf7_mls_vue_js',
79 array(
80 'textInputStep' => __( 'Step Name', 'contact-form-7' ),
81 'textInputBack' => __( 'Back Button', 'contact-form-7' ),
82 'textInputNext' => __( 'Next Button', 'contact-form-7' ),
83 'textEditMoana' => __( 'Edit With Moana', 'cf7mls' ),
84 'cf7cmlsIsMoanaActivated' => cf7cmlsIsMoanaActivated(),
85 'pluginUrl' => CF7MLS_PLUGIN_URL,
86 )
87 );
88
89 wp_register_script( 'cf7mls', CF7MLS_PLUGIN_URL . 'assets/admin/js/cf7mls.js', array( 'jquery' ) );
90 wp_enqueue_script( 'cf7mls' );
91
92 $form_content = '';
93 $manager = WPCF7_FormTagsManager::get_instance();
94 if ( isset( $_GET['post'] ) && (int) $_GET['post'] > 0 ) {
95 $form = WPCF7_ContactForm::get_instance( sanitize_text_field( $_GET['post'] ) );
96 if ( $form ) {
97 $form_content = $form->prop( 'form' );
98 } else {
99 $form_content = WPCF7_ContactFormTemplate::get_default( 'form' );
100 }
101 } else {
102 $form_content = WPCF7_ContactFormTemplate::get_default( 'form' );
103 }
104 $scan = $manager->scan( $form_content );
105
106 $steps = array();
107
108 $numberStep = 0;
109 foreach ( $scan as $k => $v ) {
110 if ( $v->type == 'cf7mls_step' ) {
111 if ( count( $v->values ) == 2 ) {
112 $numberStep = (int) ( explode( '-', $v->name )[1] );
113
114 if ( $numberStep === 1 ) {
115 $steps[] = array(
116 'back' => '',
117 'next' => $v->values[0],
118 'title' => $v->values[1],
119 );
120 } else {
121 $steps[] = array(
122 'back' => $v->values[0],
123 'next' => '',
124 'title' => $v->values[1],
125 );
126 }
127 } elseif ( count( $v->values ) == 3 ) {
128 $steps[] = array(
129 'back' => $v->values[0],
130 'next' => $v->values[1],
131 'title' => $v->values[2],
132 );
133 }
134 }
135 }
136 wp_localize_script(
137 'cf7mls',
138 'cf7mls',
139 array(
140 'steps' => $steps,
141 'cf7mls_app' => null,
142 )
143 );
144
145 wp_register_style( 'cf7mls', CF7MLS_PLUGIN_URL . 'assets/admin/css/cf7mls.css' );
146 wp_enqueue_style( 'cf7mls' );
147
148 wp_register_style( 'cf7mls_progress_bar', CF7MLS_PLUGIN_URL . 'assets/frontend/css/progress_bar.css' );
149 wp_enqueue_style( 'cf7mls_progress_bar' );
150 }
151 }
152
153 /**
154 * Add step buttin to the wpcf7 tag generator.
155 */
156 function cf7mls_add_tag_generator_multistep() {
157 if ( class_exists( 'WPCF7_TagGenerator' ) ) {
158 $tag = WPCF7_TagGenerator::get_instance();
159 $tag->add(
160 'cf7mls_step',
161 __( 'Step', 'cf7mls' ),
162 'cf7mls_multistep_tag_generator_callback'
163 );
164 }
165 }
166 add_action( 'admin_init', 'cf7mls_add_tag_generator_multistep', 30 );
167 /**
168 * [cf7mls_multistep_tag_generator_callback description]
169 */
170 function cf7mls_multistep_tag_generator_callback( $contact_form, $args = '' ) {
171 $args = wp_parse_args( $args, array() );
172 ?>
173 <div class="control-box">
174 <fieldset>
175 <legend><?php _e( 'Generate buttons for form\'s steps.', 'cf7mls' ); ?></legend>
176 <table class="form-table cf7mls-table">
177 <tbody>
178 <tr>
179 <th scope="row"><label for="tag-generator-panel-cf7mls_step-name"><?php _e( 'Name', 'cf7mls' ); ?></label></th>
180 <td><input type="text" id="tag-generator-panel-cf7mls_step-name" class="tg-name oneline" name="name"></td>
181 </tr>
182 <tr>
183 <th scope="row">
184 <label for="tag-generator-panel-cf7mls_step-btns-title"><?php _e( 'Back, Next Buttons Title', 'cf7mls' ); ?></label>
185 </th>
186 <td>
187 <textarea name="values" id="tag-generator-panel-cf7mls_step-btns-title" class="cf7mls-values"><?php echo "Back\nNext"; ?></textarea>
188 <br />
189 <label for="tag-generator-panel-cf7mls_step-back">
190 <span class="description"><?php _e( 'One title per line. Back Button\'s title on the first line and Next Button\'s title on the second line.<br />If this is a first step, type only one line for Next Button', 'cf7mls' ); ?></span>
191 </label>
192 </td>
193 </tr>
194 </tbody>
195 </table>
196 </fieldset>
197 </div>
198 <div class="insert-box">
199
200 <input type="text" name="cf7mls_step" class="tag code" readonly="readonly" onfocus="this.select()" />
201
202 <div class="submitbox">
203 <input type="button" class="button button-primary insert-tag" value="<?php echo esc_attr( __( 'Insert Tag', 'cf7mls' ) ); ?>" />
204 </div>
205
206 <br class="clear" />
207
208 <p class="description mail-tag"><label><?php echo esc_html( __( 'This field should not be used on the Mail tab.', 'cf7mls' ) ); ?></label>
209 </p>
210 </div>
211 <?php
212 }
1 <?php
2 if ( ! class_exists( 'NjtCF7MLSReview' ) ) {
3 class NjtCF7MLSReview {
4
5 public function __construct() {
6 $this->doHooks();
7 }
8
9 private function doHooks() {
10 add_action( 'wp_ajax_cf7mls_save_review', array( $this, 'cf7mls_save_review' ) );
11
12 $option = get_option( 'cf7mls_review' );
13 if ( time() >= (int) $option && $option !== '0' ) {
14 add_action( 'admin_notices', array( $this, 'give_review' ) );
15 }
16 }
17
18 public function checkNonce( $nonce ) {
19 if ( ! wp_verify_nonce( $nonce, 'cf7mls_review_nonce' ) ) {
20 wp_send_json_error( array( 'status' => 'Wrong nonce validate!' ) );
21 exit();
22 }
23 }
24
25 public function hasField( $field, $request ) {
26 return isset( $request[ $field ] ) ? sanitize_text_field( $request[ $field ] ) : null;
27 }
28
29 public function cf7mls_save_review() {
30 if ( count( $_REQUEST ) ) {
31 $nonce = $this->hasField( 'nonce', $_REQUEST );
32 $field = $this->hasField( 'field', $_REQUEST );
33
34 $this->checkNonce( $nonce );
35
36 if ( $field == 'later' ) {
37 update_option( 'cf7mls_review', time() + 3 * 60 * 60 * 24 ); // After 3 days show
38 } elseif ( $field == 'alreadyDid' ) {
39 update_option( 'cf7mls_review', 0 );
40 }
41 wp_send_json_success();
42 }
43 wp_send_json_error( array( 'message' => 'Update fail!' ) );
44 }
45
46 public function give_review() {
47 if ( function_exists( 'get_current_screen' ) ) {
48 if ( get_current_screen()->id == 'dashboard' || get_current_screen()->id == 'toplevel_page_wpcf7' || strpos( get_current_screen()->id, 'contact_page_wpcf7' ) !== false || get_current_screen()->id == 'upload' || get_current_screen()->id == 'plugins' ) {
49 ?>
50 <div class="notice notice-success is-dismissible" id="njt-cf7mls-review">
51 <h3 style="margin: 1em 0;"><?php _e( 'Give Multi Step for Contact Form 7 a review', 'cf7mls' ); ?></h3>
52 <p>
53 <?php _e( 'Thank you for choosing Multi Step for Contact Form 7. We hope you love it. Could you take a couple of seconds posting a nice review to share your happy experience?', 'cf7mls' ); ?>
54 </p>
55 <p>
56 <?php _e( 'We will be forever grateful. Thank you in advance ;)', 'cf7mls' ); ?>
57 </p>
58 <p>
59 <a href="javascript:;" data="rateNow" class="button button-primary" style="margin-right: 5px"><?php _e( 'Rate now', 'cf7mls' ); ?></a>
60 <a href="javascript:;" data="later" class="button" style="margin-right: 5px"><?php _e( 'Later', 'cf7mls' ); ?></a>
61 <a href="javascript:;" data="alreadyDid" class="button"><?php _e( 'Already did', 'cf7mls' ); ?></a>
62 </p>
63 </div>
64 <script>
65 jQuery(document).ready(function () {
66 jQuery("#njt-cf7mls-review a").on("click", function () {
67 var thisElement = this;
68 var fieldValue = jQuery(thisElement).attr("data");
69 var proLink = "https://codecanyon.net/item/contact-form-7-multistep/reviews/15232990";
70 var freeLink = "https://wordpress.org/support/plugin/cf7-multi-step/reviews/?filter=5#new-post";
71 var hidePopup = false;
72 if (fieldValue == "rateNow") {
73 window.open(freeLink, "_blank");
74 } else {
75 hidePopup = true;
76 }
77
78 jQuery
79 .ajax({
80 dataType: 'json',
81 url: '<?php echo admin_url( 'admin-ajax.php' ); ?>',
82 type: "post",
83 data: {
84 action: "cf7mls_save_review",
85 field: fieldValue,
86 nonce: '<?php echo wp_create_nonce( 'cf7mls_review_nonce' ); ?>',
87 },
88 })
89 .done(function (result) {
90 if (result.success) {
91 if (hidePopup == true) {
92 jQuery("#njt-cf7mls-review").hide("slow");
93 }
94 } else {
95 console.log("Error", result.message);
96 if (hidePopup == true) {
97 jQuery("#njt-cf7mls-review").hide("slow");
98 }
99 }
100 })
101 .fail(function (res) {
102 console.log(res.responseText);
103
104 if (hidePopup == true) {
105 jQuery("#njt-cf7mls-review").hide("slow");
106 }
107 });
108 });
109 });
110 </script>
111 <?php
112 }
113 }
114 }
115 }
116 new NjtCF7MLSReview();
117 }
1 <?php
2
3 if ( ! defined( 'ABSPATH' ) ) {
4 exit;
5 }
6 function cf7mls_is_active_cf7db() {
7 return defined( 'CF7D_FILE' );
8 }
9 if ( cf7mls_is_active_cf7db() ) {
10 add_filter( 'cf7d_no_save_fields', 'cf7mls_cf7d_no_save_fields' );
11 function cf7mls_cf7d_no_save_fields( $fields ) {
12 // $fields[] = '_cf7mls_db_form_data_id';
13 $fields[] = '_wpnonce';
14 $fields[] = 'cf7mls_back';
15 $fields[] = 'cf7mls_next';
16
17 return $fields;
18 }
19
20 /*
21 * Remove user's informations every steps
22 */
23 add_action( 'cf7d_after_insert_db', 'cf7mls_cf7d_after_insert_db', 10, 3 );
24 function cf7mls_cf7d_after_insert_db( $contact_form, $form_id, $data_id ) {
25 global $wpdb;
26 $data_id_be_delete = $wpdb->get_results( 'SELECT `value` FROM ' . $wpdb->prefix . "cf7_data_entry WHERE `cf7_id` = '" . $form_id . "' AND `name` = '_cf7mls_db_form_data_id'" );
27 if ( isset( $data_id_be_delete[0] ) ) {
28 $data_id_be_delete = $data_id_be_delete[0]->value;
29 // delele data_id
30 $wpdb->delete( $wpdb->prefix . 'cf7_data', array( 'id' => $data_id_be_delete ) );
31 // delete entry
32 $wpdb->delete(
33 $wpdb->prefix . 'cf7_data_entry',
34 array(
35 'cf7_id' => $form_id,
36 'data_id' => $data_id_be_delete,
37 )
38 );
39 $wpdb->delete(
40 $wpdb->prefix . 'cf7_data_entry',
41 array(
42 'cf7_id' => $form_id,
43 'name' => '_cf7mls_db_form_data_id',
44 )
45 );
46 }
47 }
48
49 // No save fields cf7mls_step-1, cf7mls_step-2,... before when install to database
50 add_filter( 'cf7d_posted_data', 'cf7mls_cf7d_posted_data', 10, 1 );
51 function cf7mls_cf7d_posted_data( $contact_form ) {
52 $pattern = '/cf7mls_step-/i';
53 foreach ( $contact_form as $k => $v ) {
54 if ( preg_match( $pattern, $k ) ) {
55 unset( $contact_form[ $k ] );
56 }
57 }
58 return $contact_form;
59 }
60 }
61
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 exit;
4 }
5
6 // add js, css
7 add_action( 'wp_enqueue_scripts', 'cf7mls_frontend_scripts_callback' );
8 function cf7mls_frontend_scripts_callback() {
9 $cf7d_messages_error = '';
10
11 wp_register_script( 'cf7mls', CF7MLS_PLUGIN_URL . 'assets/frontend/js/cf7mls.js', array(), CF7MLS_NTA_VERSION, true );
12 wp_enqueue_script( 'cf7mls' );
13
14 if ( apply_filters( 'is_using_cf7mls_css', true ) ) {
15 wp_register_style( 'cf7mls', CF7MLS_PLUGIN_URL . 'assets/frontend/css/cf7mls.css', array(), CF7MLS_NTA_VERSION );
16 wp_enqueue_style( 'cf7mls' );
17
18 wp_register_style( 'cf7mls_animate', CF7MLS_PLUGIN_URL . 'assets/frontend/animate/animate.min.css', array(), CF7MLS_NTA_VERSION );
19 wp_enqueue_style( 'cf7mls_animate' );
20 }
21 wp_localize_script(
22 'cf7mls',
23 'cf7mls_object',
24 array(
25 'ajax_url' => site_url() . '/wp-json',
26 'is_rtl' => apply_filters( 'cf7mls_is_rtl', is_rtl() ),
27 'disable_submit' => apply_filters( 'cf7mls_disable_submit', 'true' ),
28 'cf7mls_error_message' => $cf7d_messages_error,
29 'scroll_step' => apply_filters( 'cf7mls-scroll-step', 'true' ),
30 'disable_enter_key' => apply_filters( 'cf7mls-disable-enter-key', 'false' ),
31 'check_step_before_submit' => apply_filters( 'cf7mls_check_step_before_submit', 'true' ),
32 )
33 );
34 }
35
36 /**
37 * Wpcf7 shortcode.
38 */
39 function cf7mls_add_shortcode_step() {
40 wpcf7_add_form_tag( array( 'cf7mls_step', 'cf7mls_step*' ), 'cf7mls_multistep_shortcode_callback', true );
41 }
42 add_action( 'wpcf7_init', 'cf7mls_add_shortcode_step' );
43 function cf7mls_multistep_shortcode_callback( $tag ) {
44 $tag = new WPCF7_FormTag( $tag );
45 $name = $tag->name;
46 $numberStep = (int) explode( '-', $name )[1];
47 $back = $next = false;
48
49 // Check button back last in step.
50 $checkBackLast = false;
51 if ( count( $tag->values ) == 2 ) {
52 if ( $numberStep === 1 ) {
53 $next = $tag->values[0];
54 } else {
55 $checkBackLast = true;
56 $back = $tag->values[0];
57 }
58 } elseif ( count( $tag->values ) > 2 ) {
59 $back = $tag->values[0];
60 $next = $tag->values[1];
61 }
62
63 $html = '<div class="cf7mls-btns">';
64 // TODO add form id to btn to prevent duplicate
65 if ( $checkBackLast === true && $back ) {
66 $html = '';
67 $html .= apply_filters( 'cf7_step_before_back_btn', '', $name );
68 $html .= '<button type="button" class="cf7mls_back action-button" name="cf7mls_back" id="cf7mls-back-btn-' . $name . '">' . $back . '</button>';
69 $html .= apply_filters( 'cf7_step_after_back_btn', '', $name );
70 } elseif ( $back ) {
71 $html .= apply_filters( 'cf7_step_before_back_btn', '', $name );
72 $html .= '<button type="button" class="cf7mls_back action-button" name="cf7mls_back" id="cf7mls-back-btn-' . $name . '">' . $back . '</button>';
73 $html .= apply_filters( 'cf7_step_after_back_btn', '', $name );
74 }
75
76 // TODO add form id to btn to prevent duplicate
77 if ( $next ) {
78 $loader = apply_filters( 'cf7mls_loader_img', CF7MLS_PLUGIN_URL . 'assets/frontend/img/loader.svg' );
79 $html .= apply_filters( 'cf7_step_before_next_btn', '', $name );
80
81 $html .= '<button type="button" class="cf7mls_next cf7mls_btn action-button" name="cf7mls_next" id="cf7mls-next-btn-' . $name . '">' . $next . '<img src="' . $loader . '" alt="" data-lazy-src="' . $loader . '" style="display: none;" /></button>';
82 $html .= apply_filters( 'cf7_step_after_next_btn', '', $name );
83 } else {
84 $loader = apply_filters( 'cf7mls_loader_img', CF7MLS_PLUGIN_URL . 'assets/frontend/img/loader.svg' );
85 $html .= apply_filters( 'cf7_step_before_next_btn', '', $name );
86
87 $html .= '<button type="button" style="display: none;" class="cf7mls_next cf7mls_btn action-button" name="cf7mls_next" id="cf7mls-next-btn-' . $name . '">' . $next . '<img src="' . $loader . '" alt="" data-lazy-src="' . $loader . '" style="display: none;" /></button>';
88 $html .= apply_filters( 'cf7_step_after_next_btn', '', $name );
89 }
90 $contact_form = wpcf7_get_current_contact_form();
91 if ( $checkBackLast === false ) {
92 $html .= '</div><p></p></fieldset><fieldset class="fieldset-cf7mls">';
93 } else {
94 if ( '' === $back ) {
95 $html .= '</div>';
96 }
97 }
98 return $html;
99 }
100
101 /**
102 * Wrap form
103 */
104 add_filter( 'wpcf7_form_elements', 'cf7mls_wrap_form_elements_func', 10 );
105 function cf7mls_wrap_form_elements_func( $code ) {
106 if ( $contact_form = wpcf7_get_current_contact_form() ) {
107 /* If the form has multistep's shortcode */
108 if ( strpos( $code, '<fieldset class="fieldset-cf7mls' ) ) {
109 if ( defined( 'WPCF7_AUTOP' ) && ( WPCF7_AUTOP == true ) ) {
110 $code = preg_replace( '#<p>(.*?)<\/fieldset><fieldset class=\"fieldset-cf7mls\"><\/p>#', '$1</fieldset><fieldset class="fieldset-cf7mls">', $code );
111 }
112 // progress bar
113 $code = '<div class="fieldset-cf7mls-wrapper" data-transition-effects><fieldset class="fieldset-cf7mls">' . $code;
114
115 $code .= '</fieldset></div>';
116 // $code .= '</fieldset>';
117 }
118 }
119 $ex = explode( '<fieldset class="fieldset-cf7mls">', $code );
120 if ( count( $ex ) > 1 ) {
121 $code = '';
122 foreach ( $ex as $k => $v ) {
123 $code .= $v;
124 if ( $k == 0 ) {
125 $code .= '<fieldset class="fieldset-cf7mls cf7mls_current_fs">';
126 } elseif ( $k < ( count( $ex ) - 1 ) ) {
127 $code .= '<fieldset class="fieldset-cf7mls">';
128 }
129 }
130 }
131 return $code;
132 }
133
134 // add css to wp_head
135 add_action( 'wp_head', 'cf7mls_css_to_wp_head' );
136 function cf7mls_css_to_wp_head() {
137 $query = new \WP_Query(
138 array(
139 'post_type' => 'wpcf7_contact_form',
140 'posts_per_page' => -1,
141 'post_status' => 'publish',
142 )
143 );
144 $posts = $query->get_posts();
145 if ( count( $posts ) > 0 ) {
146 echo '<style type="text/css">';
147 foreach ( $posts as $key => $post ) {
148 $id = $post->ID;
149 $next_bg_color = get_post_meta( $id, '_cf7mls_next_bg_color', true );
150 $next_text_color = get_post_meta( $id, '_cf7mls_next_text_color', true );
151 $back_bg_color = get_post_meta( $id, '_cf7mls_back_bg_color', true );
152 $back_text_color = get_post_meta( $id, '_cf7mls_back_text_color', true );
153 echo 'div[id^="wpcf7-f' . $id . '"] button.cf7mls_next { ' . ( ( ! empty( $next_bg_color ) ) ? 'background-color: ' . $next_bg_color . ';' : '' ) . ' ' . ( ( ! empty( $next_text_color ) ) ? 'color: ' . $next_text_color : '' ) . ' }';
154 echo 'div[id^="wpcf7-f' . $id . '"] button.cf7mls_back { ' . ( ( ! empty( $back_bg_color ) ) ? 'background-color: ' . $back_bg_color . ';' : '' ) . ' ' . ( ( ! empty( $back_text_color ) ) ? 'color: ' . $back_text_color : '' ) . ' }';
155 }
156 echo '</style>';
157 }
158 }
159 add_filter( 'wpcf7_form_class_attr', 'cf7mls_add_auto_scroll_class' );
160 function cf7mls_add_auto_scroll_class( $class ) {
161 if ( $contact_form = wpcf7_get_current_contact_form() ) {
162 if ( empty( trim( ( get_post_meta( $contact_form->id(), '_cf7_mls_auto_scroll_animation', true ) ) ) ) ) {
163 $class .= ' cf7mls-no-scroll';
164 }
165 $class .= ' cf7mls-no-moving-animation';
166 }
167 return $class;
168 }
1 msgid ""
2 msgstr ""
3 "Project-Id-Version: Multi Step for Contact Form 7 (Lite)\n"
4 "POT-Creation-Date: 2022-07-18 10:12+0700\n"
5 "PO-Revision-Date: 2022-07-18 10:35+0700\n"
6 "Last-Translator: \n"
7 "Language-Team: \n"
8 "Language: ar\n"
9 "MIME-Version: 1.0\n"
10 "Content-Type: text/plain; charset=UTF-8\n"
11 "Content-Transfer-Encoding: 8bit\n"
12 "Plural-Forms: nplurals=6; plural=(n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
13 "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5);\n"
14 "X-Generator: Poedit 3.1.1\n"
15 "X-Poedit-Basepath: ..\n"
16 "X-Poedit-Flags-xgettext: --add-comments=translators:\n"
17 "X-Poedit-WPHeader: contact-form-7-multi-step.php\n"
18 "X-Poedit-SourceCharset: UTF-8\n"
19 "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
20 "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
21 "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
22 "X-Poedit-SearchPath-0: .\n"
23 "X-Poedit-SearchPathExcluded-0: *.min.js\n"
24
25 #: inc/admin/dashboard-widget.php:18
26 #, fuzzy
27 msgid "Contact Form 7 Multi-Step Pro"
28 msgstr "نموذج الاتصال 7 متعدد الخطوات برو"
29
30 #: inc/admin/init.php:14
31 msgid "Go Pro"
32 msgstr "احصل علي نسخه مدفوعه"
33
34 #: inc/admin/init.php:22
35 msgid "Documentation"
36 msgstr "الوثائق"
37
38 #: inc/admin/init.php:33 inc/admin/init.php:47
39 msgid "Form"
40 msgstr "نموذج"
41
42 #: inc/admin/init.php:40
43 msgid "https://contactform7.com/editing-form-template/"
44 msgstr "https://contactform7.com/editing-form-template/"
45
46 #: inc/admin/init.php:41
47 msgid "Editing Form Template"
48 msgstr "تعديل قالب النموذج"
49
50 #: inc/admin/init.php:43
51 #, php-format
52 msgid "You can edit the form template here. For details, see %s."
53 msgstr "يمكنك تعديل قالب النموذج من هنا, للتفاصيل, %s."
54
55 #: inc/admin/init.php:80
56 msgid "Step Name"
57 msgstr "اسم الخطوة"
58
59 #: inc/admin/init.php:81 inc/admin/settings.php:25
60 msgid "Back Button"
61 msgstr "زر العودة"
62
63 #: inc/admin/init.php:82 inc/admin/settings.php:39
64 msgid "Next Button"
65 msgstr "الزر التالي"
66
67 #: inc/admin/init.php:83
68 msgid "Edit With Moana"
69 msgstr "تحرير مع موانا"
70
71 #: inc/admin/init.php:161
72 msgid "Step"
73 msgstr "خطوة"
74
75 #: inc/admin/init.php:175
76 msgid "Generate buttons for form's steps."
77 msgstr "إنشاء أزرار لخطوات النموذج."
78
79 #: inc/admin/init.php:179
80 msgid "Name"
81 msgstr "الاسم"
82
83 #: inc/admin/init.php:184
84 msgid "Back, Next Buttons Title"
85 msgstr "رجوع، عنوان الأزرار التالية"
86
87 #: inc/admin/init.php:190
88 msgid ""
89 "One title per line. Back Button's title on the first line and Next Button's "
90 "title on the second line.<br />If this is a first step, type only one line "
91 "for Next Button"
92 msgstr ""
93 "عنوان واحد لكل سطر. عنوان زر الرجوع في السطر الأول وعنوان الزر التالي في "
94 "السطر الثاني.<br />إذا كانت هذه هي الخطوة الأولى، فاكتب سطرا واحدا فقط للزر "
95 "التالي"
96
97 #: inc/admin/init.php:203
98 msgid "Insert Tag"
99 msgstr "ادخل وسم"
100
101 #: inc/admin/init.php:208
102 msgid "This field should not be used on the Mail tab."
103 msgstr "يجب عدم استخدام هذا الحقل في علامة التبويب البريد."
104
105 #: inc/admin/review.php:51
106 #, fuzzy
107 msgid "Give Multi Step for Contact Form 7 a review"
108 msgstr "امنح نموذج الاتصال Multi Step for Contact 7 تعليقا"
109
110 #: inc/admin/review.php:53
111 #, fuzzy
112 msgid ""
113 "Thank you for choosing Multi Step for Contact Form 7. We hope you love it. "
114 "Could you take a couple of seconds posting a nice review to share your happy "
115 "experience?"
116 msgstr ""
117 "شكرا لاختيارك Multi Step for Contact Form 7. نأمل أن تحبها. هل يمكن أن "
118 "تستغرق بضع ثوان في نشر مراجعة لطيفة لمشاركة تجربتك السعيدة؟"
119
120 #: inc/admin/review.php:56
121 msgid "We will be forever grateful. Thank you in advance ;)"
122 msgstr "سنكون ممتنين إلى الأبد. شكرا لكم مقدما ;)"
123
124 #: inc/admin/review.php:59
125 msgid "Rate now"
126 msgstr "قيم الآن"
127
128 #: inc/admin/review.php:60
129 msgid "Later"
130 msgstr "لاحقاً"
131
132 #: inc/admin/review.php:61
133 msgid "Already did"
134 msgstr "فعلته مسبقًا! "
135
136 #: inc/admin/settings.php:8
137 msgid "Multi-Step Settings"
138 msgstr "إعدادات متعددة الخطوات"
139
140 #: inc/admin/settings.php:12
141 #, fuzzy
142 msgid "Progress Bar (PRO)"
143 msgstr "شريط التقدم (PRO)"
144
145 #: inc/admin/settings.php:19
146 msgid "Color"
147 msgstr "اللون"
148
149 #: inc/admin/settings.php:22
150 msgid ""
151 "You can change the background-color or text-color of Back, Next buttons here."
152 msgstr "يمكنك تغيير لون الخلفية أو لون النص لأزرار \"الرجوع، التالي\" هنا."
153
154 #: inc/admin/settings.php:28 inc/admin/settings.php:42
155 msgid "BG color"
156 msgstr "لون BG"
157
158 #: inc/admin/settings.php:33 inc/admin/settings.php:47
159 msgid "Text color"
160 msgstr "لون النص"
161
162 #: inc/admin/settings.php:55
163 msgid "Auto Scroll to Top"
164 msgstr "التمرير التلقائي إلى الأعلى"
165
166 #: inc/admin/settings.php:69
167 #, fuzzy
168 msgid "Transition Effects (PRO)"
169 msgstr "تأثيرات الانتقال (PRO)"
170
171 #: inc/admin/settings.php:79
172 msgid "Animation"
173 msgstr "مربع التمرير سرعة الحركة (مللي ثانية)"
174
175 #: inc/admin/settings.php:101
176 msgid "Save to database"
177 msgstr "حفظ في قاعدة البيانات"
178
179 #: inc/admin/settings.php:105
180 msgid "Save form's every step?"
181 msgstr "حفظ النموذج في كل خطوة؟"
182
183 #: inc/admin/settings.php:124
184 msgid "Progress Bar"
185 msgstr "شريط التقدم"
186
187 #: inc/admin/settings.php:134 inc/admin/settings.php:182
188 msgid "Background Color"
189 msgstr "لون الخلفية"
190
191 #: inc/admin/settings.php:139
192 msgid "Progress Bar Style"
193 msgstr "نمط شريط التقدم"
194
195 #: inc/admin/settings.php:145
196 msgid "Border Style"
197 msgstr "نمط الحدود"
198
199 #: inc/admin/settings.php:155
200 msgid "Title Options"
201 msgstr "خيارات العنوان"
202
203 #: inc/admin/settings.php:160
204 msgid "Horizontal text"
205 msgstr "نص أفقي"
206
207 #: inc/admin/settings.php:164
208 msgid "Vertical text"
209 msgstr "نص عمودي"
210
211 #: inc/admin/settings.php:168
212 msgid "No text"
213 msgstr "بدون نص"
214
215 #: inc/admin/settings.php:174
216 msgid "Progress Bar Percent"
217 msgstr "النسبة المئوية لشريط التقدم"
218
219 #: inc/admin/settings.php:289
220 msgid "Back"
221 msgstr "رجوع"
222
223 #: inc/admin/settings.php:290
224 msgid "Next"
225 msgstr "التالى"
226
227 #: inc/admin/settings.php:306
228 msgid "Preview only shows 3 steps."
229 msgstr "تظهر المعاينة 3 خطوات فقط."
230
231 #. Plugin Name of the plugin/theme
232 #, fuzzy
233 msgid "Multi Step for Contact Form 7 (Lite)"
234 msgstr "نموذج متعدد الخطوات للاتصال 7 (Lite)"
235
236 #. Plugin URI of the plugin/theme
237 #, fuzzy
238 msgid "https://ninjateam.org/contact-form-7-multi-step/"
239 msgstr "https://ninjateam.org/contact-form-7-multi-step/"
240
241 #. Description of the plugin/theme
242 msgid "Break your long form into user-friendly steps."
243 msgstr "قسم النموذج الطويل الخاص بك إلى خطوات سهلة الاستخدام."
244
245 #. Author of the plugin/theme
246 msgid "NinjaTeam"
247 msgstr "فريق النينجاتيم"
248
249 #. Author URI of the plugin/theme
250 msgid "http://ninjateam.org"
251 msgstr "http://ninjateam.org"
1 #, fuzzy
2 msgid ""
3 msgstr ""
4 "Project-Id-Version: Multi Step for Contact Form 7 (Lite)\n"
5 "POT-Creation-Date: 2022-07-18 10:12+0700\n"
6 "PO-Revision-Date: 2022-07-18 10:11+0700\n"
7 "Last-Translator: \n"
8 "Language-Team: \n"
9 "MIME-Version: 1.0\n"
10 "Content-Type: text/plain; charset=UTF-8\n"
11 "Content-Transfer-Encoding: 8bit\n"
12 "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
13 "X-Generator: Poedit 3.1.1\n"
14 "X-Poedit-Basepath: ..\n"
15 "X-Poedit-Flags-xgettext: --add-comments=translators:\n"
16 "X-Poedit-WPHeader: contact-form-7-multi-step.php\n"
17 "X-Poedit-SourceCharset: UTF-8\n"
18 "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
19 "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
20 "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
21 "X-Poedit-SearchPath-0: .\n"
22 "X-Poedit-SearchPathExcluded-0: *.min.js\n"
23
24 #: inc/admin/dashboard-widget.php:18
25 msgid "Contact Form 7 Multi-Step Pro"
26 msgstr ""
27
28 #: inc/admin/init.php:14
29 msgid "Go Pro"
30 msgstr ""
31
32 #: inc/admin/init.php:22
33 msgid "Documentation"
34 msgstr ""
35
36 #: inc/admin/init.php:33 inc/admin/init.php:47
37 msgid "Form"
38 msgstr ""
39
40 #: inc/admin/init.php:40
41 msgid "https://contactform7.com/editing-form-template/"
42 msgstr ""
43
44 #: inc/admin/init.php:41
45 msgid "Editing Form Template"
46 msgstr ""
47
48 #: inc/admin/init.php:43
49 #, php-format
50 msgid "You can edit the form template here. For details, see %s."
51 msgstr ""
52
53 #: inc/admin/init.php:80
54 msgid "Step Name"
55 msgstr ""
56
57 #: inc/admin/init.php:81 inc/admin/settings.php:25
58 msgid "Back Button"
59 msgstr ""
60
61 #: inc/admin/init.php:82 inc/admin/settings.php:39
62 msgid "Next Button"
63 msgstr ""
64
65 #: inc/admin/init.php:83
66 msgid "Edit With Moana"
67 msgstr ""
68
69 #: inc/admin/init.php:161
70 msgid "Step"
71 msgstr ""
72
73 #: inc/admin/init.php:175
74 msgid "Generate buttons for form's steps."
75 msgstr ""
76
77 #: inc/admin/init.php:179
78 msgid "Name"
79 msgstr ""
80
81 #: inc/admin/init.php:184
82 msgid "Back, Next Buttons Title"
83 msgstr ""
84
85 #: inc/admin/init.php:190
86 msgid ""
87 "One title per line. Back Button's title on the first line and Next Button's "
88 "title on the second line.<br />If this is a first step, type only one line "
89 "for Next Button"
90 msgstr ""
91
92 #: inc/admin/init.php:203
93 msgid "Insert Tag"
94 msgstr ""
95
96 #: inc/admin/init.php:208
97 msgid "This field should not be used on the Mail tab."
98 msgstr ""
99
100 #: inc/admin/review.php:51
101 msgid "Give Multi Step for Contact Form 7 a review"
102 msgstr ""
103
104 #: inc/admin/review.php:53
105 msgid ""
106 "Thank you for choosing Multi Step for Contact Form 7. We hope you love it. "
107 "Could you take a couple of seconds posting a nice review to share your happy "
108 "experience?"
109 msgstr ""
110
111 #: inc/admin/review.php:56
112 msgid "We will be forever grateful. Thank you in advance ;)"
113 msgstr ""
114
115 #: inc/admin/review.php:59
116 msgid "Rate now"
117 msgstr ""
118
119 #: inc/admin/review.php:60
120 msgid "Later"
121 msgstr ""
122
123 #: inc/admin/review.php:61
124 msgid "Already did"
125 msgstr ""
126
127 #: inc/admin/settings.php:8
128 msgid "Multi-Step Settings"
129 msgstr ""
130
131 #: inc/admin/settings.php:12
132 msgid "Progress Bar (PRO)"
133 msgstr ""
134
135 #: inc/admin/settings.php:19
136 msgid "Color"
137 msgstr ""
138
139 #: inc/admin/settings.php:22
140 msgid ""
141 "You can change the background-color or text-color of Back, Next buttons here."
142 msgstr ""
143
144 #: inc/admin/settings.php:28 inc/admin/settings.php:42
145 msgid "BG color"
146 msgstr ""
147
148 #: inc/admin/settings.php:33 inc/admin/settings.php:47
149 msgid "Text color"
150 msgstr ""
151
152 #: inc/admin/settings.php:55
153 msgid "Auto Scroll to Top"
154 msgstr ""
155
156 #: inc/admin/settings.php:69
157 msgid "Transition Effects (PRO)"
158 msgstr ""
159
160 #: inc/admin/settings.php:79
161 msgid "Animation"
162 msgstr ""
163
164 #: inc/admin/settings.php:101
165 msgid "Save to database"
166 msgstr ""
167
168 #: inc/admin/settings.php:105
169 msgid "Save form's every step?"
170 msgstr ""
171
172 #: inc/admin/settings.php:124
173 msgid "Progress Bar"
174 msgstr ""
175
176 #: inc/admin/settings.php:134 inc/admin/settings.php:182
177 msgid "Background Color"
178 msgstr ""
179
180 #: inc/admin/settings.php:139
181 msgid "Progress Bar Style"
182 msgstr ""
183
184 #: inc/admin/settings.php:145
185 msgid "Border Style"
186 msgstr ""
187
188 #: inc/admin/settings.php:155
189 msgid "Title Options"
190 msgstr ""
191
192 #: inc/admin/settings.php:160
193 msgid "Horizontal text"
194 msgstr ""
195
196 #: inc/admin/settings.php:164
197 msgid "Vertical text"
198 msgstr ""
199
200 #: inc/admin/settings.php:168
201 msgid "No text"
202 msgstr ""
203
204 #: inc/admin/settings.php:174
205 msgid "Progress Bar Percent"
206 msgstr ""
207
208 #: inc/admin/settings.php:289
209 msgid "Back"
210 msgstr ""
211
212 #: inc/admin/settings.php:290
213 msgid "Next"
214 msgstr ""
215
216 #: inc/admin/settings.php:306
217 msgid "Preview only shows 3 steps."
218 msgstr ""
219
220 #. Plugin Name of the plugin/theme
221 msgid "Multi Step for Contact Form 7 (Lite)"
222 msgstr ""
223
224 #. Plugin URI of the plugin/theme
225 msgid "https://ninjateam.org/contact-form-7-multi-step/"
226 msgstr ""
227
228 #. Description of the plugin/theme
229 msgid "Break your long form into user-friendly steps."
230 msgstr ""
231
232 #. Author of the plugin/theme
233 msgid "NinjaTeam"
234 msgstr ""
235
236 #. Author URI of the plugin/theme
237 msgid "http://ninjateam.org"
238 msgstr ""
1 msgid ""
2 msgstr ""
3 "Project-Id-Version: Multi Step for Contact Form 7 (Lite)\n"
4 "POT-Creation-Date: 2022-07-18 10:12+0700\n"
5 "PO-Revision-Date: 2022-07-18 10:34+0700\n"
6 "Last-Translator: \n"
7 "Language-Team: \n"
8 "Language: de\n"
9 "MIME-Version: 1.0\n"
10 "Content-Type: text/plain; charset=UTF-8\n"
11 "Content-Transfer-Encoding: 8bit\n"
12 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
13 "X-Generator: Poedit 3.1.1\n"
14 "X-Poedit-Basepath: ..\n"
15 "X-Poedit-Flags-xgettext: --add-comments=translators:\n"
16 "X-Poedit-WPHeader: contact-form-7-multi-step.php\n"
17 "X-Poedit-SourceCharset: UTF-8\n"
18 "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
19 "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
20 "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
21 "X-Poedit-SearchPath-0: .\n"
22 "X-Poedit-SearchPathExcluded-0: *.min.js\n"
23
24 #: inc/admin/dashboard-widget.php:18
25 #, fuzzy
26 msgid "Contact Form 7 Multi-Step Pro"
27 msgstr "Kontaktformular 7 Multi-Step Pro"
28
29 #: inc/admin/init.php:14
30 msgid "Go Pro"
31 msgstr "Pro erwerben"
32
33 #: inc/admin/init.php:22
34 msgid "Documentation"
35 msgstr "Dokumentation"
36
37 #: inc/admin/init.php:33 inc/admin/init.php:47
38 msgid "Form"
39 msgstr "Formular"
40
41 #: inc/admin/init.php:40
42 msgid "https://contactform7.com/editing-form-template/"
43 msgstr "https://contactform7.com/editing-form-template/"
44
45 #: inc/admin/init.php:41
46 #, fuzzy
47 msgid "Editing Form Template"
48 msgstr "Bearbeiten der Formularvorlage"
49
50 #: inc/admin/init.php:43
51 #, php-format
52 msgid "You can edit the form template here. For details, see %s."
53 msgstr "Hier können Sie die Formularvorlage bearbeiten. Für Details siehe %s."
54
55 #: inc/admin/init.php:80
56 msgid "Step Name"
57 msgstr "Schrittname"
58
59 #: inc/admin/init.php:81 inc/admin/settings.php:25
60 msgid "Back Button"
61 msgstr "Zurück Button"
62
63 #: inc/admin/init.php:82 inc/admin/settings.php:39
64 msgid "Next Button"
65 msgstr "Weiter Schaltfläche"
66
67 #: inc/admin/init.php:83
68 #, fuzzy
69 msgid "Edit With Moana"
70 msgstr "Bearbeiten mit Moana"
71
72 #: inc/admin/init.php:161
73 msgid "Step"
74 msgstr "Schritt"
75
76 #: inc/admin/init.php:175
77 #, fuzzy
78 msgid "Generate buttons for form's steps."
79 msgstr "Generieren Sie Schaltflächen für die Schritte des Formulars."
80
81 #: inc/admin/init.php:179
82 #, fuzzy
83 msgid "Name"
84 msgstr "Name"
85
86 #: inc/admin/init.php:184
87 #, fuzzy
88 msgid "Back, Next Buttons Title"
89 msgstr "Zurück, Titel der Schaltfläche \"Zurück\""
90
91 #: inc/admin/init.php:190
92 #, fuzzy
93 msgid ""
94 "One title per line. Back Button's title on the first line and Next Button's "
95 "title on the second line.<br />If this is a first step, type only one line "
96 "for Next Button"
97 msgstr ""
98 "Ein Titel pro Zeile. Der Titel von Back Button in der ersten Zeile und der "
99 "Titel von Next Button in der zweiten Zeile.<br />Wenn dies ein erster "
100 "Schritt ist, geben Sie nur eine Zeile für Next Button ein."
101
102 #: inc/admin/init.php:203
103 msgid "Insert Tag"
104 msgstr "Tag einfügen"
105
106 #: inc/admin/init.php:208
107 #, fuzzy
108 msgid "This field should not be used on the Mail tab."
109 msgstr ""
110 "Dieses Feld sollte nicht auf der Registerkarte E-Mail verwendet werden."
111
112 #: inc/admin/review.php:51
113 #, fuzzy
114 msgid "Give Multi Step for Contact Form 7 a review"
115 msgstr "Geben Sie Multi Step für Contact Form 7 eine Rezension"
116
117 #: inc/admin/review.php:53
118 #, fuzzy
119 msgid ""
120 "Thank you for choosing Multi Step for Contact Form 7. We hope you love it. "
121 "Could you take a couple of seconds posting a nice review to share your happy "
122 "experience?"
123 msgstr ""
124 "Vielen Dank, dass Sie sich für Multi Step für Contact Form 7 entschieden "
125 "haben. Wir hoffen, Sie lieben es. Könnten Sie sich ein paar Sekunden Zeit "
126 "nehmen, um eine schöne Rezension zu veröffentlichen, um Ihre glückliche "
127 "Erfahrung zu teilen?"
128
129 #: inc/admin/review.php:56
130 msgid "We will be forever grateful. Thank you in advance ;)"
131 msgstr "Wir werden für immer dankbar sein. Danke im Voraus ;)"
132
133 #: inc/admin/review.php:59
134 msgid "Rate now"
135 msgstr "Jetzt bewerten"
136
137 #: inc/admin/review.php:60
138 msgid "Later"
139 msgstr "Später"
140
141 #: inc/admin/review.php:61
142 msgid "Already did"
143 msgstr "Schon gemacht"
144
145 #: inc/admin/settings.php:8
146 msgid "Multi-Step Settings"
147 msgstr "Mehrstufige Einstellungen"
148
149 #: inc/admin/settings.php:12
150 #, fuzzy
151 msgid "Progress Bar (PRO)"
152 msgstr "Fortschrittsbalken (PRO)"
153
154 #: inc/admin/settings.php:19
155 msgid "Color"
156 msgstr "Farbe"
157
158 #: inc/admin/settings.php:22
159 #, fuzzy
160 msgid ""
161 "You can change the background-color or text-color of Back, Next buttons here."
162 msgstr ""
163 "Sie können die Hintergrundfarbe oder Textfarbe der Schaltflächen Zurück, "
164 "Weiter hier ändern."
165
166 #: inc/admin/settings.php:28 inc/admin/settings.php:42
167 msgid "BG color"
168 msgstr "Hintergrundfarbe"
169
170 #: inc/admin/settings.php:33 inc/admin/settings.php:47
171 msgid "Text color"
172 msgstr "Textfarbe"
173
174 #: inc/admin/settings.php:55
175 #, fuzzy
176 msgid "Auto Scroll to Top"
177 msgstr "Automatisches Scrollen nach oben"
178
179 #: inc/admin/settings.php:69
180 #, fuzzy
181 msgid "Transition Effects (PRO)"
182 msgstr "Übergangseffekte (PRO)"
183
184 #: inc/admin/settings.php:79
185 msgid "Animation"
186 msgstr "Animation"
187
188 #: inc/admin/settings.php:101
189 msgid "Save to database"
190 msgstr "In Datenbank speichern"
191
192 #: inc/admin/settings.php:105
193 #, fuzzy
194 msgid "Save form's every step?"
195 msgstr "Speichern Sie jedes Formular bei jedem Schritt?"
196
197 #: inc/admin/settings.php:124
198 msgid "Progress Bar"
199 msgstr "Fortschrittsbalken"
200
201 #: inc/admin/settings.php:134 inc/admin/settings.php:182
202 msgid "Background Color"
203 msgstr "Hintergrundfarbe"
204
205 #: inc/admin/settings.php:139
206 msgid "Progress Bar Style"
207 msgstr "Fortschrittsbalken Stil"
208
209 #: inc/admin/settings.php:145
210 msgid "Border Style"
211 msgstr "Rahmenstil"
212
213 #: inc/admin/settings.php:155
214 msgid "Title Options"
215 msgstr "Titel Optionen"
216
217 #: inc/admin/settings.php:160
218 msgid "Horizontal text"
219 msgstr "Horizontaler Text"
220
221 #: inc/admin/settings.php:164
222 msgid "Vertical text"
223 msgstr "Vertikaler Text"
224
225 #: inc/admin/settings.php:168
226 #, fuzzy
227 msgid "No text"
228 msgstr "Kein Text"
229
230 #: inc/admin/settings.php:174
231 msgid "Progress Bar Percent"
232 msgstr "Fortschrittsbalken Prozent"
233
234 #: inc/admin/settings.php:289
235 msgid "Back"
236 msgstr "Zurück"
237
238 #: inc/admin/settings.php:290
239 msgid "Next"
240 msgstr "Weiter"
241
242 #: inc/admin/settings.php:306
243 #, fuzzy
244 msgid "Preview only shows 3 steps."
245 msgstr "In der Vorschau werden nur 3 Schritte angezeigt."
246
247 #. Plugin Name of the plugin/theme
248 #, fuzzy
249 msgid "Multi Step for Contact Form 7 (Lite)"
250 msgstr "Mehrstufig für Kontaktformular 7 (Lite)"
251
252 #. Plugin URI of the plugin/theme
253 #, fuzzy
254 msgid "https://ninjateam.org/contact-form-7-multi-step/"
255 msgstr "https://ninjateam.org/contact-form-7-multi-step/"
256
257 #. Description of the plugin/theme
258 msgid "Break your long form into user-friendly steps."
259 msgstr "Unterteilen Sie Ihre Langform in benutzerfreundliche Schritte."
260
261 #. Author of the plugin/theme
262 #, fuzzy
263 msgid "NinjaTeam"
264 msgstr "NinjaTeam"
265
266 #. Author URI of the plugin/theme
267 #, fuzzy
268 msgid "http://ninjateam.org"
269 msgstr "http://ninjateam.org"
1 msgid ""
2 msgstr ""
3 "Project-Id-Version: Multi Step for Contact Form 7 (Lite)\n"
4 "POT-Creation-Date: 2022-07-18 10:12+0700\n"
5 "PO-Revision-Date: 2022-07-18 10:33+0700\n"
6 "Last-Translator: \n"
7 "Language-Team: \n"
8 "Language: fr\n"
9 "MIME-Version: 1.0\n"
10 "Content-Type: text/plain; charset=UTF-8\n"
11 "Content-Transfer-Encoding: 8bit\n"
12 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
13 "X-Generator: Poedit 3.1.1\n"
14 "X-Poedit-Basepath: ..\n"
15 "X-Poedit-Flags-xgettext: --add-comments=translators:\n"
16 "X-Poedit-WPHeader: contact-form-7-multi-step.php\n"
17 "X-Poedit-SourceCharset: UTF-8\n"
18 "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
19 "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
20 "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
21 "X-Poedit-SearchPath-0: .\n"
22 "X-Poedit-SearchPathExcluded-0: *.min.js\n"
23
24 #: inc/admin/dashboard-widget.php:18
25 #, fuzzy
26 msgid "Contact Form 7 Multi-Step Pro"
27 msgstr "Formulaire de contact 7 Multi Step Pro"
28
29 #: inc/admin/init.php:14
30 msgid "Go Pro"
31 msgstr "Go Pro"
32
33 #: inc/admin/init.php:22
34 msgid "Documentation"
35 msgstr "Documentation"
36
37 #: inc/admin/init.php:33 inc/admin/init.php:47
38 msgid "Form"
39 msgstr "Formulaire"
40
41 #: inc/admin/init.php:40
42 msgid "https://contactform7.com/editing-form-template/"
43 msgstr "https://contactform7.com/editing-form-template/"
44
45 #: inc/admin/init.php:41
46 msgid "Editing Form Template"
47 msgstr "Modification du Modèle de Formulaire"
48
49 #: inc/admin/init.php:43
50 #, php-format
51 msgid "You can edit the form template here. For details, see %s."
52 msgstr ""
53 "Vous pouvez modifier le modèle de formulaire ici. Pour plus de détails, voir "
54 "%s."
55
56 #: inc/admin/init.php:80
57 msgid "Step Name"
58 msgstr "Nom Etape"
59
60 #: inc/admin/init.php:81 inc/admin/settings.php:25
61 msgid "Back Button"
62 msgstr "Bouton retour"
63
64 #: inc/admin/init.php:82 inc/admin/settings.php:39
65 msgid "Next Button"
66 msgstr "Bouton Suivant"
67
68 #: inc/admin/init.php:83
69 msgid "Edit With Moana"
70 msgstr "Modifier avec Moana"
71
72 #: inc/admin/init.php:161
73 msgid "Step"
74 msgstr "Étape"
75
76 #: inc/admin/init.php:175
77 msgid "Generate buttons for form's steps."
78 msgstr "Générez des boutons pour les étapes du formulaire."
79
80 #: inc/admin/init.php:179
81 msgid "Name"
82 msgstr "Nom"
83
84 #: inc/admin/init.php:184
85 msgid "Back, Next Buttons Title"
86 msgstr "Titre des boutons Suivant et Précédent"
87
88 #: inc/admin/init.php:190
89 msgid ""
90 "One title per line. Back Button's title on the first line and Next Button's "
91 "title on the second line.<br />If this is a first step, type only one line "
92 "for Next Button"
93 msgstr ""
94 "Un titre par ligne. Le titre du bouton précédent sur la première ligne et le "
95 "titre du bouton suivant sur la deuxième ligne.<br />S'il s'agit d'une "
96 "première étape, tapez une seule ligne pour le bouton Suivant"
97
98 #: inc/admin/init.php:203
99 msgid "Insert Tag"
100 msgstr "Insérer la balise"
101
102 #: inc/admin/init.php:208
103 msgid "This field should not be used on the Mail tab."
104 msgstr "Ce champ ne doit pas être utilisé sous l’onglet Courrier."
105
106 #: inc/admin/review.php:51
107 #, fuzzy
108 msgid "Give Multi Step for Contact Form 7 a review"
109 msgstr "Donnez un avis à Multi Step for Contact Form 7"
110
111 #: inc/admin/review.php:53
112 #, fuzzy
113 msgid ""
114 "Thank you for choosing Multi Step for Contact Form 7. We hope you love it. "
115 "Could you take a couple of seconds posting a nice review to share your happy "
116 "experience?"
117 msgstr ""
118 "Merci d’avoir choisi Multi Step pour le formulaire de contact 7. Nous "
119 "espérons que vous l’aimez. Pourriez-vous prendre quelques secondes en "
120 "publiant une belle critique pour partager votre expérience heureuse?"
121
122 #: inc/admin/review.php:56
123 msgid "We will be forever grateful. Thank you in advance ;)"
124 msgstr "Nous vous serons toujours reconnaissants. Merci d’avance ;)"
125
126 #: inc/admin/review.php:59
127 msgid "Rate now"
128 msgstr "Évaluer maintenant"
129
130 #: inc/admin/review.php:60
131 msgid "Later"
132 msgstr "Plus tard"
133
134 #: inc/admin/review.php:61
135 msgid "Already did"
136 msgstr "C'est déjà fait"
137
138 #: inc/admin/settings.php:8
139 msgid "Multi-Step Settings"
140 msgstr "Paramètres en plusieurs étapes"
141
142 #: inc/admin/settings.php:12
143 #, fuzzy
144 msgid "Progress Bar (PRO)"
145 msgstr "Barre de progression (PRO)"
146
147 #: inc/admin/settings.php:19
148 msgid "Color"
149 msgstr "Couleur"
150
151 #: inc/admin/settings.php:22
152 msgid ""
153 "You can change the background-color or text-color of Back, Next buttons here."
154 msgstr ""
155 "Vous pouvez modifier la couleur d'arrière-plan ou la couleur du texte des "
156 "boutons suivant et précédent ici."
157
158 #: inc/admin/settings.php:28 inc/admin/settings.php:42
159 msgid "BG color"
160 msgstr "Couleur d’arrière-plan"
161
162 #: inc/admin/settings.php:33 inc/admin/settings.php:47
163 msgid "Text color"
164 msgstr "Couleur du texte"
165
166 #: inc/admin/settings.php:55
167 msgid "Auto Scroll to Top"
168 msgstr "Défilement automatique vers le haut"
169
170 #: inc/admin/settings.php:69
171 #, fuzzy
172 msgid "Transition Effects (PRO)"
173 msgstr "Effets de transition (PRO)"
174
175 #: inc/admin/settings.php:79
176 msgid "Animation"
177 msgstr "Animation"
178
179 #: inc/admin/settings.php:101
180 msgid "Save to database"
181 msgstr "Enregistrer dans la base de données"
182
183 #: inc/admin/settings.php:105
184 msgid "Save form's every step?"
185 msgstr "Enregistrer le formulaire à chaque étape?"
186
187 #: inc/admin/settings.php:124
188 msgid "Progress Bar"
189 msgstr "Barre de progression"
190
191 #: inc/admin/settings.php:134 inc/admin/settings.php:182
192 msgid "Background Color"
193 msgstr "Couleur d’arrière-plan"
194
195 #: inc/admin/settings.php:139
196 msgid "Progress Bar Style"
197 msgstr "Style de la barre de progression"
198
199 #: inc/admin/settings.php:145
200 msgid "Border Style"
201 msgstr "Style de bordure"
202
203 #: inc/admin/settings.php:155
204 msgid "Title Options"
205 msgstr "Options Titre"
206
207 #: inc/admin/settings.php:160
208 msgid "Horizontal text"
209 msgstr "Texte horizontal"
210
211 #: inc/admin/settings.php:164
212 msgid "Vertical text"
213 msgstr "Texte vertical"
214
215 #: inc/admin/settings.php:168
216 msgid "No text"
217 msgstr "Pas de texte"
218
219 #: inc/admin/settings.php:174
220 msgid "Progress Bar Percent"
221 msgstr "Pourcentage de la barre de progression"
222
223 #: inc/admin/settings.php:289
224 msgid "Back"
225 msgstr "Retour"
226
227 #: inc/admin/settings.php:290
228 msgid "Next"
229 msgstr "Suivante"
230
231 #: inc/admin/settings.php:306
232 msgid "Preview only shows 3 steps."
233 msgstr "L’aperçu n’affiche que 3 étapes."
234
235 #. Plugin Name of the plugin/theme
236 #, fuzzy
237 msgid "Multi Step for Contact Form 7 (Lite)"
238 msgstr "Multi Step pour le formulaire de contact 7 (Lite)"
239
240 #. Plugin URI of the plugin/theme
241 #, fuzzy
242 msgid "https://ninjateam.org/contact-form-7-multi-step/"
243 msgstr "https://ninjateam.org/contact-form-7-multi-step/"
244
245 #. Description of the plugin/theme
246 msgid "Break your long form into user-friendly steps."
247 msgstr "Divisez votre formulaire long en étapes conviviales."
248
249 #. Author of the plugin/theme
250 msgid "NinjaTeam"
251 msgstr "NinjaTeam"
252
253 #. Author URI of the plugin/theme
254 msgid "http://ninjateam.org"
255 msgstr "http://ninjateam.org"
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.