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.

<?php
//require_once __DIR__.'/init.php';
class Wpcf7cfMailParser {
private $mail_body;
private $visible_groups;
private $hidden_groups;
private $repeaters;
private $posted_data;
function __construct($mail_body, $visible_groups, $hidden_groups, $repeaters, $posted_data) {
$this->mail_body = $mail_body;
$this->visible_groups = $visible_groups;
$this->hidden_groups = $hidden_groups;
$this->repeaters = $repeaters;
$this->posted_data = $posted_data;
}
public function getParsedMail() {
return preg_replace_callback(WPCF7CF_REGEX_MAIL_GROUP, array($this, 'hide_hidden_mail_fields_regex_callback'), $this->mail_body );
}
function hide_hidden_mail_fields_regex_callback ( $matches ) {
$name = $matches[1];
$name_parts = explode('__', $name);
$name_root = array_shift($name_parts);
$name_suffix = implode('__',$name_parts);
$content = $matches[2];
if ( in_array( $name, $this->hidden_groups ) ) {
// The tag name represents a hidden group, so replace everything from [tagname] to [/tagname] with nothing
return '';
} elseif ( in_array( $name, $this->visible_groups ) ) {
// The tag name represents a visible group, so remove the tags themselves, but return everything else
// ( instead of just returning the $content, return the preg_replaced content )
return preg_replace_callback(WPCF7CF_REGEX_MAIL_GROUP, array($this, 'hide_hidden_mail_fields_regex_callback'), $content );
} elseif ( $this->repeaters !== null && in_array( $name, $this->repeaters ) ) {
$original_name = explode('__',$name)[0];
$inner_template = $content;
ob_start();
$num_subs = $this->posted_data[$name.'_count'];
for ($i=1; $i<=$num_subs; $i++) {
$str = preg_replace(["/\[{$original_name}\:index[^\]]*?\]/"],$i,$inner_template);
//echo str_replace(']','__'.$i.']',$str);
echo preg_replace("/\[([^\s^\]]*?)([\s\]]+)([^\]]*?)/", "[$1__{$i}$2",$str);
}
$underscored_content = ob_get_clean();
return preg_replace_callback(WPCF7CF_REGEX_MAIL_GROUP, array($this, 'hide_hidden_mail_fields_regex_callback'), $underscored_content );
}else {
// The tag name doesn't represent a group that was used in the form. Leave it alone (return the entire match).
return $matches[0];
}
}
}
\ No newline at end of file
#wpcf7cf-new-entry {
display: inline-block;
display: none; }
#wpcf7cf-delete-button {
display: none; }
#wpcf7cf-settings-text {
width: 100%;
height: 280px;
font-family: "Courier New", Courier, monospace; }
#wpcf7cf-conditional-panel {
overflow-x: auto; }
#wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .label, #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .field, #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .description {
padding: 10px;
display: inline-block;
vertical-align: middle;
width: 10%; }
#wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .field {
width: 20%; }
#wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .description {
width: 40%;
vertical-align: top; }
#wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .option-line {
border-bottom: 1px solid #dddddd;
background-color: #f9f9f9;
padding: 0 10px; }
#wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .option-line:nth-child(2n) {
background-color: #e9e9e9; }
#wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .option-line input, #wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .option-line select {
width: 100%; }
#wpcf7cf-conditional-panel .ui-autocomplete-term {
font-weight: bold; }
#wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .option-line > .label.editable {
position: relative; }
#wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .option-line > .label.editable input {
background-color: transparent;
border-width: 0;
outline: none;
box-shadow: none;
padding: 0; }
#wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .option-line > .label.editable input:after {
content: "edit";
display: block;
width: 10px;
right: 0;
position: absolute; }
#wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .option-line > .label.editable input:focus {
background: #fff;
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
border: 1px solid #ddd;
padding: 2px; }
#wpcf7cf-conditional-panel .wpcf7cf-admin-wrap .option-line > .label.editable input:focus:after {
content: ""; }
#wpcf7cf-conditional-panel .wpcf7cf-and {
display: inline-block; }
#wpcf7cf-conditional-panel .wpcf7cf-and-rules, #wpcf7cf-conditional-panel .wpcf7cf-if {
display: inline-block;
vertical-align: top; }
#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 {
position: relative;
display: inline-block;
vertical-align: bottom;
margin: 2px;
padding: 3px;
background: #fefefe;
border: 1px solid #bababa;
box-shadow: none;
height: 22px;
line-height: 22px;
min-height: 22px;
box-sizing: content-box; }
#wpcf7cf-conditional-panel #wpcf7cf-entries .label {
background-color: transparent;
border: none; }
#wpcf7cf-conditional-panel .and-button, #wpcf7cf-conditional-panel .delete-button, #wpcf7cf-conditional-panel #wpcf7cf-add-button {
border: 1px solid #4ed521;
color: #007b04;
cursor: pointer;
font-size: 11px;
font-weight: bold;
-webkit-touch-callout: none;
/* iOS Safari */
-webkit-user-select: none;
/* Safari */
-khtml-user-select: none;
/* Konqueror HTML */
-moz-user-select: none;
/* Firefox */
-ms-user-select: none;
/* Internet Explorer/Edge */
user-select: none;
/* Non-prefixed version, currently */
background-color: rgba(75, 169, 61, 0.11); }
#wpcf7cf-conditional-panel #wpcf7cf-add-button {
margin-top: 10px;
text-align: center;
padding-left: 20px;
padding-right: 20px; }
#wpcf7cf-conditional-panel .and-button:hover {
background-color: rgba(75, 169, 61, 0.2); }
#wpcf7cf-conditional-panel .delete-button {
border: 1px solid #bababa;
color: #858585;
background-color: transparent;
margin-left: 42px; }
#wpcf7cf-conditional-panel .delete-button:hover {
background-color: rgba(133, 133, 133, 0.11); }
#wpcf7cf-conditional-panel .and-button {
display: none;
width: 30px;
text-align: center; }
#wpcf7cf-conditional-panel .wpcf7cf-and-rule:first-child .and-button {
display: inline-block;
vertical-align: top;
height: 22px;
position: absolute;
line-height: 22px;
right: 53px;
top: 0; }
#wpcf7cf-conditional-panel .wpcf7cf-and-rule {
margin-bottom: 4px;
height: 30px; }
#wpcf7cf-conditional-panel .wpcf7cf-and-rule .if-txt, #wpcf7cf-conditional-panel .wpcf7cf-if > .label {
cursor: n-resize; }
#wpcf7cf-conditional-panel .wpcf7cf-and-rule .if-txt:before {
content: 'and';
position: absolute;
width: 30px;
text-align: right;
left: -34px; }
#wpcf7cf-conditional-panel .wpcf7cf-and-rule:first-child .if-txt:before {
display: none; }
#wpcf7cf-conditional-panel .wpcf7cf-inner-container {
min-width: 800px; }
#wpcf7cf-conditional-panel .entry {
box-sizing: border-box;
display: flex; }
#wpcf7cf-conditional-panel .entry .wpcf7cf-if {
width: 189px; }
#wpcf7cf-conditional-panel .then-field-select {
width: 130px; }
#wpcf7cf-conditional-panel .entry .wpcf7cf-and-rules {
flex: 1;
position: relative; }
#wpcf7cf-conditional-panel .wpcf7cf-and-rule {
display: flex; }
#wpcf7cf-conditional-panel .if-txt {
width: 14px;
text-align: center; }
#wpcf7cf-conditional-panel .operator {
/*width:140px;*/ }
#wpcf7cf-conditional-panel .if-value {
flex: 1;
margin-right: 3px !important; }
.wpcf7cf-list li {
list-style: disc;
margin-left: 20px; }
/* The switch - the box around the slider */
.wpcf7cf-switch {
position: absolute;
display: block;
top: 20px;
right: 20px; }
.wpcf7cf-switch .label {
margin-right: 4px;
display: inline-block;
vertical-align: top; }
.wpcf7cf-switch .switch {
position: relative;
display: inline-block;
width: 30px;
height: 17px;
/* Hide default HTML checkbox */
/* The slider */
/* Rounded sliders */ }
.wpcf7cf-switch .switch input {
opacity: 0;
width: 0;
height: 0; }
.wpcf7cf-switch .switch .slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
-webkit-transition: .4s;
transition: .4s; }
.wpcf7cf-switch .switch .slider:before {
position: absolute;
content: "";
height: 13px;
width: 13px;
left: 2px;
bottom: 2px;
background-color: white;
-webkit-transition: .4s;
transition: .3s; }
.wpcf7cf-switch .switch input:checked + .slider {
background-color: #1e8cbe; }
.wpcf7cf-switch .switch input:focus + .slider {
box-shadow: 0 0 1px #1e8cbe; }
.wpcf7cf-switch .switch input:checked + .slider:before {
-webkit-transform: translateX(13px);
-ms-transform: translateX(13px);
transform: translateX(13px); }
.wpcf7cf-switch .switch .slider.round {
border-radius: 17px; }
.wpcf7cf-switch .switch .slider.round:before {
border-radius: 50%; }
#wpcf7cf-conditional-panel {
position: relative; }
.wpcf7cf-notice {
background: #fff;
border: 1px solid #ccd0d4;
border-left-width: 4px;
border-left-color: #ffb900;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
margin: 5px 0 2px;
padding: 1px 12px; }
{
"version": 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",
"sources": ["admin-style.scss"],
"names": [],
"file": "admin-style.css"
}
#wpcf7cf-new-entry { display: inline-block; display:none; }
#wpcf7cf-delete-button { display: none; }
#wpcf7cf-settings-text { width: 100%; height: 280px; font-family: "Courier New", Courier, monospace; }
#wpcf7cf-conditional-panel {
.wpcf7cf-admin-wrap .label, .wpcf7cf-admin-wrap .field, .wpcf7cf-admin-wrap .description {
padding: 10px;
display: inline-block;
vertical-align: middle;
width: 10%;
}
.wpcf7cf-admin-wrap .field {
width: 20%;
}
.wpcf7cf-admin-wrap .description {
width: 40%;
vertical-align: top;
}
.wpcf7cf-admin-wrap .option-line {
border-bottom: 1px solid #dddddd;
background-color: #f9f9f9;
padding: 0 10px;
}
.wpcf7cf-admin-wrap .option-line:nth-child(2n) {
background-color: #e9e9e9;
}
.wpcf7cf-admin-wrap .option-line input, .wpcf7cf-admin-wrap .option-line select {
width: 100%;
}
.ui-autocomplete-term {
font-weight: bold;
}
.wpcf7cf-admin-wrap .option-line > .label.editable {
position: relative;
}
.wpcf7cf-admin-wrap .option-line > .label.editable input {
background-color: transparent;
border-width: 0;
outline: none;
box-shadow: none;
padding: 0;
}
.wpcf7cf-admin-wrap .option-line > .label.editable input:after {
content: "edit";
display: block;
width: 10px;
right:0;
position: absolute;
}
.wpcf7cf-admin-wrap .option-line > .label.editable input:focus {
background: #fff;
box-shadow: inset 0 1px 2px rgba(0,0,0,.07) ;
border: 1px solid #ddd;
padding: 2px;
}
.wpcf7cf-admin-wrap .option-line > .label.editable input:focus:after {
content: "";
}
.wpcf7cf-and {
display: inline-block;
}
.wpcf7cf-and-rules, .wpcf7cf-if {
display: inline-block;
vertical-align: top;
}
#wpcf7cf-entries input, #wpcf7cf-entries select, .and-button, .delete-button, #wpcf7cf-entries .if-txt, #wpcf7cf-entries .label, #wpcf7cf-add-button {
position:relative;
display: inline-block;
vertical-align: bottom;
margin:2px;
padding: 3px;
background: #fefefe;
border: 1px solid #bababa;
box-shadow: none;
height: 22px;
line-height: 22px;
min-height: 22px;
box-sizing: content-box;
}
#wpcf7cf-entries .label {
background-color: transparent;
border: none;
}
.and-button, .delete-button, #wpcf7cf-add-button {
border: 1px solid #4ed521;
color: #007b04;
cursor: pointer;
font-size: 11px;
font-weight: bold;
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently */
background-color: rgba(75, 169, 61, 0.11);
}
#wpcf7cf-add-button {
margin-top: 10px;
text-align: center;
padding-left: 20px;
padding-right:20px;
}
overflow-x: auto;
.and-button:hover {
background-color: rgba(75, 169, 61, 0.2);
}
.delete-button {
border: 1px solid #bababa;
color: #858585;
background-color: transparent;
margin-left: 42px;
}
.delete-button:hover {
background-color: rgba(133, 133, 133, 0.11);
}
.and-button {
display:none;
width: 30px;
text-align: center;
}
.wpcf7cf-and-rule:first-child .and-button {
display: inline-block;
vertical-align: top;
height: 22px;
position: absolute;
line-height: 22px;
right: 53px;
top: 0;
}
.wpcf7cf-and-rule {
margin-bottom: 4px;
height: 30px;
}
.wpcf7cf-and-rule .if-txt, .wpcf7cf-if > .label {
cursor: n-resize;
}
.wpcf7cf-and-rule .if-txt:before {
content: 'and';
position: absolute;
width: 30px;
text-align: right;
left: -34px;
}
.wpcf7cf-and-rule:first-child .if-txt:before {
display:none;
}
.wpcf7cf-inner-container {
min-width: 800px;
}
.entry {
box-sizing: border-box;
display:flex;
}
.entry .wpcf7cf-if {
width: 189px;
}
.then-field-select {
width: 130px;
}
.entry .wpcf7cf-and-rules {
flex:1;
position:relative;
}
.wpcf7cf-and-rule {
display:flex;
}
.if-txt {
width: 14px;
text-align: center;
}
.operator {
/*width:140px;*/
}
.if-value {
flex:1;
margin-right:3px !important;
}
}
.wpcf7cf-list li {
list-style: disc;
margin-left: 20px;
}
/* The switch - the box around the slider */
.wpcf7cf-switch {
position: absolute;
display: block;
top: 20px;
right: 20px;
.label {
margin-right: 4px;
display: inline-block;
vertical-align: top;
}
.switch {
position: relative;
display: inline-block;
width: 30px;
height: 17px;
/* Hide default HTML checkbox */
input {
opacity: 0;
width: 0;
height: 0;
}
/* The slider */
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
-webkit-transition: .4s;
transition: .4s;
}
.slider:before {
position: absolute;
content: "";
height: 13px;
width: 13px;
left: 2px;
bottom: 2px;
background-color: white;
-webkit-transition: .4s;
transition: .3s;
}
input:checked + .slider {
background-color: #1e8cbe;
}
input:focus + .slider {
box-shadow: 0 0 1px #1e8cbe;
}
input:checked + .slider:before {
-webkit-transform: translateX(13px);
-ms-transform: translateX(13px);
transform: translateX(13px);
}
/* Rounded sliders */
.slider.round {
border-radius: 17px;
}
.slider.round:before {
border-radius: 50%;
}
}
}
#wpcf7cf-conditional-panel {
position: relative;
//display: block !important;
}
.wpcf7cf-notice {
background: #fff;
border: 1px solid #ccd0d4;
border-left-width: 4px;
border-left-color: #ffb900;
box-shadow: 0 1px 1px rgba(0,0,0,.04);
margin: 5px 0 2px;
padding: 1px 12px;
}
\ No newline at end of file
<?php
add_action( 'admin_enqueue_scripts', 'wpcf7cf_admin_enqueue_scripts', 11 ); // set priority so scripts and styles get loaded later.
function wpcf7cf_admin_enqueue_scripts( $hook_suffix ) {
wp_enqueue_script('cf7cf-scripts-admin-all-pages', wpcf7cf_plugin_url( 'js/scripts_admin_all_pages.js' ),array( 'jquery' ), WPCF7CF_VERSION,true);
if ( isset($_GET['page']) && ( $_GET['page'] == 'wpcf7' && isset($_GET['post']) || $_GET['page'] == 'wpcf7-new' ) ) {
//only load styles and scripts if this is a CF7 detail page.
wpcf7cf_admin_enqueue_form_edit_scripts($hook_suffix);
}
}
/* fix for std post editor used in Smart Grid */
add_action('cf7sg_enqueue_admin_editor_scripts', 'wpcf7cf_admin_enqueue_form_edit_scripts');
function wpcf7cf_admin_enqueue_form_edit_scripts($hook_suffix){
wp_enqueue_script('cf7cf-scripts-admin', wpcf7cf_plugin_url( 'js/scripts_admin.js' ),array('jquery-ui-autocomplete', 'jquery-ui-sortable'), WPCF7CF_VERSION,true);
wp_localize_script('cf7cf-scripts-admin', 'wpcf7cf_options_0', wpcf7cf_get_settings());
//wp_localize_script('cf7cf-scripts-admin', 'wpcf7cf_newEntryHTML', );
}
add_filter('wpcf7_editor_panels', 'add_conditional_panel');
function add_conditional_panel($panels) {
if ( current_user_can( 'wpcf7_edit_contact_forms' ) ) {
$panels['wpcf7cf-conditional-panel'] = array(
'title' => __( 'Conditional fields', 'cf7-conditional-fields' ),
'callback' => 'wpcf7cf_editor_panel_conditional'
);
}
return $panels;
}
function wpcf7cf_all_field_options($post, $selected = '-1') {
$all_fields = $post->scan_form_tags();
?>
<option value="-1" <?php echo $selected == '-1'?'selected':'' ?>><?php _e( '-- Select field --', 'cf7-conditional-fields' ); ?></option>
<?php
foreach ($all_fields as $tag) {
if ($tag['type'] == 'group' || $tag['name'] == '') continue;
?>
<option value="<?php echo $tag['name']; ?>" <?php echo $selected == $tag['name']?'selected':'' ?>><?php echo $tag['name']; ?></option>
<?php
}
}
function wpcf7cf_all_group_options($post, $selected = '-1') {
$all_groups = $post->scan_form_tags(array('type'=>'group'));
?>
<option value="-1" <?php echo $selected == '-1'?'selected':'' ?>><?php _e( '-- Select group --', 'cf7-conditional-fields' ); ?></option>
<?php
foreach ($all_groups as $tag) {
?>
<option value="<?php echo $tag['name']; ?>" <?php echo $selected == $tag['name']?'selected':'' ?>><?php echo $tag['name']; ?></option>
<?php
}
}
if (!function_exists('all_operator_options')) {
function all_operator_options($selected = 'equals') {
$all_options = array('equals', 'not equals');
$all_options = apply_filters('wpcf7cf_get_operators', $all_options);
foreach($all_options as $option) {
// backwards compat
$selected = $selected == '≤' ? 'less than or equals' : $selected;
$selected = $selected == '≥' ? 'greater than or equals' : $selected;
$selected = $selected == '>' ? 'greater than' : $selected;
$selected = $selected == '<' ? 'less than' : $selected;
?>
<option value="<?php echo htmlentities($option) ?>" <?php echo $selected == $option?'selected':'' ?>><?php echo htmlentities($option) ?></option>
<?php
}
}
}
function wpcf7cf_editor_panel_conditional($form) {
$settings = wpcf7cf_get_settings();
$is_text_only = $settings['conditions_ui'] === 'text_only';
// print_r($settings);
$form_id = isset($_GET['post']) ? $_GET['post'] : false;
if ($form_id !== false) {
$wpcf7cf_entries = CF7CF::getConditions($form_id);
$wpcf7cf_entries = array_values($wpcf7cf_entries);
} else {
$wpcf7cf_entries = [];
}
?>
<div class="wpcf7cf-inner-container">
<label class="wpcf7cf-switch" id="wpcf7cf-text-only-switch">
<span class="label"><?php _e( 'Text mode', 'cf7-conditional-fields' ); ?></span>
<span class="switch">
<input type="checkbox" id="wpcf7cf-text-only-checkbox" name="wpcf7cf-text-only-checkbox" value="text_only" <?php echo $is_text_only ? 'checked':''; ?>>
<span class="slider round"></span>
</span>
</label>
<h2><?php _e( 'Conditional fields', 'cf7-conditional-fields' ); ?></h2>
<div id="wpcf7cf-entries-ui" style="display:none">
<div id="wpcf7cf-entries">
</div>
<span id="wpcf7cf-add-button" title="<?php _e( 'add new rule', 'cf7-conditional-fields' ); ?>"><?php _e( '+ add new conditional rule', 'cf7-conditional-fields'); ?></span>
<div id="wpcf7cf-a-lot-of-conditions" class="wpcf7cf-notice notice-warning" style="display:none;">
<p>
<strong><?php _e( 'Wow, That\'s a lot of conditions!', 'cf7-conditional-fields' ); ?></strong><br>
<?php
// translators: 1. max recommended conditions
echo sprintf( __( 'You can only add up to %d conditions using this interface.', 'cf7-conditional-fields' ), WPCF7CF_MAX_RECOMMENDED_CONDITIONS ) . ' ';
// translators: 1,2: strong tags, 3. max recommended conditions
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 ); ?>
</p>
</div>
</div>
<div id="wpcf7cf-text-entries">
<div id="wpcf7cf-settings-text-wrap">
<textarea id="wpcf7cf-settings-text" name="wpcf7cf-settings-text"><?php echo CF7CF::serializeConditions($wpcf7cf_entries) ?></textarea>
<br>
</div>
</div>
</div>
<?php
}
// Save conditions and summary field
add_action( 'wpcf7_after_save', function($contact_form) {
if ( ! isset( $_POST ) || empty( $_POST ) || ! isset( $_POST['wpcf7cf-settings-text'] ) ) {
return;
}
$post_id = $contact_form->id();
if ( ! $post_id ) {
return;
}
// we intentionally don't use sanitize_textarea_field here,
// because basically any character is a valid character.
// To arm agains SQL injections and other funky junky, the CF7CF::parse_conditions function is used.
$conditions_string = stripslashes($_POST['wpcf7cf-settings-text']);
$conditions = CF7CF::parse_conditions($conditions_string);
CF7CF::setConditions($post_id, $conditions);
if (isset($_POST['wpcf7cf-summary-template'])) {
WPCF7CF_Summary::saveSummaryTemplate($_POST['wpcf7cf-summary-template'],$post_id);
}
}, 8, 1 );
// duplicate conditions on duplicate form part 1.
add_filter('wpcf7_copy','wpcf7cf_copy', 10, 2);
function wpcf7cf_copy($new_form,$current_form) {
$id = $current_form->id();
$props = $new_form->get_properties();
$props['messages']['wpcf7cf_copied'] = $id;
$new_form->set_properties($props);
return $new_form;
}
// duplicate conditions on duplicate form part 2.
add_action('wpcf7_after_save','wpcf7cf_after_save',10,1);
function wpcf7cf_after_save($contact_form) {
$props = $contact_form->get_properties();
$original_id = isset($props['messages']['wpcf7cf_copied']) ? $props['messages']['wpcf7cf_copied'] : 0;
if ($original_id !== 0) {
$post_id = $contact_form->id();
unset($props['messages']['wpcf7cf_copied']);
$contact_form->set_properties($props);
CF7CF::setConditions($post_id, CF7CF::getConditions($original_id));
return;
}
}
function wpcf7cf_sanitize_options($options) {
//$options = array_values($options);
$sanitized_options = [];
foreach ($options as $option_entry) {
$sanitized_option = [];
$sanitized_option['then_field'] = sanitize_text_field($option_entry['then_field']);
foreach ($option_entry['and_rules'] as $and_rule) {
$sanitized_option['and_rules'][] = [
'if_field' => sanitize_text_field($and_rule['if_field']),
'operator' => $and_rule['operator'],
'if_value' => sanitize_text_field($and_rule['if_value']),
];
}
$sanitized_options[] = $sanitized_option;
}
return $sanitized_options;
}
add_action('admin_notices', function () {
$settings = wpcf7cf_get_settings();
$nid = 'install-cf7';
if (!defined('WPCF7_VERSION') && empty($settings['notice_dismissed_'.$nid])) {
?>
<div class="wpcf7cf-admin-notice notice notice-warning is-dismissible" data-notice-id="<?php echo $nid ?>">
<p>
<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>.
</p>
</div>
<?php
return;
}
$nid = 'rollback-cf7-'.WPCF7CF_CF7_MAX_VERSION;
if ( version_compare( WPCF7CF_CF7_MAX_VERSION, WPCF7_VERSION, '<' ) && empty($settings['notice_dismissed_'.$nid]) && current_user_can('update_plugins') ) {
?>
<div class="wpcf7cf-admin-notice notice notice-warning is-dismissible" data-notice-id="<?php echo $nid ?>">
<p>
<strong>Conditional Fields for Contact Form 7</strong> is not yet tested with your current version of Contact Form 7.
<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>.
<br>For a quick and safe rollback, we recommend <a href="https://wordpress.org/plugins/wp-rollback/" target="_blank">WP Rollback</a>.
</p>
</div>
<?php
}
$nid = 'update-cf7-'.WPCF7CF_CF7_MAX_VERSION;
if ( version_compare( WPCF7CF_CF7_MAX_VERSION, WPCF7_VERSION, '>' ) && empty($settings['notice_dismissed_'.$nid]) && current_user_can('update_plugins') ) {
?>
<div class="wpcf7cf-admin-notice notice notice-warning is-dismissible" data-notice-id="<?php echo $nid ?>">
<p>
<strong>Conditional Fields for Contact Form 7</strong> is fully compatible and tested with Contact Form 7 version <?php echo WPCF7CF_CF7_MAX_VERSION ?>.
<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>
</p>
</div>
<?php
}
});
<?php
/**
* Plugin Name: Conditional Fields for Contact Form 7
* Plugin URI: http://bdwm.be/
* Description: Adds support for conditional fields to Contact Form 7. This plugin depends on Contact Form 7.
* Author: Jules Colle
* Version: 2.3.5
* Author URI: http://bdwm.be/
* Text Domain: cf7-conditional-fields
* License: GPL v2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
/**
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
if ( function_exists( 'wpcf7cf_pro_deactivate_free_version_notice' ) ) {
add_action( 'admin_notices', 'wpcf7cf_pro_deactivate_free_version_notice' );
} else {
function wpcf7cf_pro_deactivate_free_version_notice() {
?>
<div class="notice notice-error is-dismissible">
<p><?php
// translators: 1. <a>, 2. </a>
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>' );
?></p>
</div>
<?php
}
require_once __DIR__.'/init.php';
}
\ No newline at end of file
<?php
if (!defined('WPCF7CF_VERSION')) define( 'WPCF7CF_VERSION', '5' );
if (!defined('WPCF7CF_CF7_MIN_VERSION')) define( 'WPCF7CF_CF7_MIN_VERSION', '5.6' );
if (!defined('WPCF7CF_CF7_MAX_VERSION')) define( 'WPCF7CF_CF7_MAX_VERSION', '5.7.5.1' );
if (!defined('WPCF7CF_REQUIRED_WP_VERSION')) define( 'WPCF7CF_REQUIRED_WP_VERSION', '4.1' );
if (!defined('WPCF7CF_PLUGIN')) define( 'WPCF7CF_PLUGIN', __FILE__ );
if (!defined('WPCF7CF_PLUGIN_BASENAME')) define( 'WPCF7CF_PLUGIN_BASENAME', plugin_basename( WPCF7CF_PLUGIN ) );
if (!defined('WPCF7CF_PLUGIN_NAME')) define( 'WPCF7CF_PLUGIN_NAME', trim( dirname( WPCF7CF_PLUGIN_BASENAME ), '/' ) );
if (!defined('WPCF7CF_PLUGIN_DIR')) define( 'WPCF7CF_PLUGIN_DIR', untrailingslashit( dirname( WPCF7CF_PLUGIN ) ) );
if (!defined('WPCF7CF_LOAD_JS')) define('WPCF7CF_LOAD_JS', true);
if (!defined('WPCF7CF_LOAD_CSS')) define('WPCF7CF_LOAD_CSS', true);
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');
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');
if (!defined('WPCF7CF_REGEX_MAIL_UNWANTED_WHITESPACE')) define('WPCF7CF_REGEX_MAIL_UNWANTED_WHITESPACE', '@(\[/[^\]]*\])\s+?(\[)@s');
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');
if (!defined('WPCF7CF_MAX_RECOMMENDED_CONDITIONS')) define( 'WPCF7CF_MAX_RECOMMENDED_CONDITIONS', 50 );
if(file_exists(WPCF7CF_PLUGIN_DIR.'/pro/pro-functions.php')) {
if (!defined('WPCF7CF_IS_PRO')) define( 'WPCF7CF_IS_PRO', true );
} else {
if (!defined('WPCF7CF_IS_PRO')) define( 'WPCF7CF_IS_PRO', false );
}
if(file_exists(WPCF7CF_PLUGIN_DIR.'/tests/init.php')) {
require_once WPCF7CF_PLUGIN_DIR.'/tests/init.php';
if (!defined('WPCF7CF_TESTMODE')) define( 'WPCF7CF_TESTMODE', true );
}
function wpcf7cf_plugin_path( $path = '' ) {
return path_join( WPCF7CF_PLUGIN_DIR, trim( $path, '/' ) );
}
function wpcf7cf_plugin_url( $path = '' ) {
$url = plugins_url( $path, WPCF7CF_PLUGIN );
if ( is_ssl() && 'http:' == substr( $url, 0, 5 ) ) {
$url = 'https:' . substr( $url, 5 );
}
return $url;
}
require_once WPCF7CF_PLUGIN_DIR.'/Wpcf7cfMailParser.php';
if (WPCF7CF_IS_PRO) {
require_once WPCF7CF_PLUGIN_DIR.'/pro/pro-functions.php';
}
require_once WPCF7CF_PLUGIN_DIR.'/cf7cf.php';
require_once WPCF7CF_PLUGIN_DIR.'/wpcf7cf-options.php';
if (WPCF7CF_IS_PRO) {
require_once WPCF7CF_PLUGIN_DIR.'/pro/update.php';
}
\ No newline at end of file
// endsWith polyfill
if (!String.prototype.endsWith) {
String.prototype.endsWith = function(search, thisLength) {
if (thisLength === undefined || thisLength > this.length) {
thisLength = this.length;
}
return this.substring(thisLength - search.length, thisLength) === search;
};
}
// Object.values polyfill
if (!Object.values) Object.values = o=>Object.keys(o).map(k=>o[k]);
// Array.from polyfill
if (!Array.from) {
Array.from = (function () {
var toStr = Object.prototype.toString;
var isCallable = function (fn) {
return typeof fn === 'function' || toStr.call(fn) === '[object Function]';
};
var toInteger = function (value) {
var number = Number(value);
if (isNaN(number)) { return 0; }
if (number === 0 || !isFinite(number)) { return number; }
return (number > 0 ? 1 : -1) * Math.floor(Math.abs(number));
};
var maxSafeInteger = Math.pow(2, 53) - 1;
var toLength = function (value) {
var len = toInteger(value);
return Math.min(Math.max(len, 0), maxSafeInteger);
};
// The length property of the from method is 1.
return function from(arrayLike/*, mapFn, thisArg */) {
// 1. Let C be the this value.
var C = this;
// 2. Let items be ToObject(arrayLike).
var items = Object(arrayLike);
// 3. ReturnIfAbrupt(items).
if (arrayLike == null) {
throw new TypeError("Array.from requires an array-like object - not null or undefined");
}
// 4. If mapfn is undefined, then let mapping be false.
var mapFn = arguments.length > 1 ? arguments[1] : void undefined;
var T;
if (typeof mapFn !== 'undefined') {
// 5. else
// 5. a If IsCallable(mapfn) is false, throw a TypeError exception.
if (!isCallable(mapFn)) {
throw new TypeError('Array.from: when provided, the second argument must be a function');
}
// 5. b. If thisArg was supplied, let T be thisArg; else let T be undefined.
if (arguments.length > 2) {
T = arguments[2];
}
}
// 10. Let lenValue be Get(items, "length").
// 11. Let len be ToLength(lenValue).
var len = toLength(items.length);
// 13. If IsConstructor(C) is true, then
// 13. a. Let A be the result of calling the [[Construct]] internal method of C with an argument list containing the single item len.
// 14. a. Else, Let A be ArrayCreate(len).
var A = isCallable(C) ? Object(new C(len)) : new Array(len);
// 16. Let k be 0.
var k = 0;
// 17. Repeat, while k < len… (also steps a - h)
var kValue;
while (k < len) {
kValue = items[k];
if (mapFn) {
A[k] = typeof T === 'undefined' ? mapFn(kValue, k) : mapFn.call(T, kValue, k);
} else {
A[k] = kValue;
}
k += 1;
}
// 18. Let putStatus be Put(A, "length", len, true).
A.length = len;
// 20. Return A.
return A;
};
}());
}
\ 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.
// ------------------------------------
// DISMISS NOTICES
// ------------------------------------
jQuery(document).ready(function($) {
$('.notice-dismiss,.notice-dismiss-alt', '.wpcf7cf-admin-notice').click(function () {
wpcf7cf_dismiss_notice(
$(this).closest('.wpcf7cf-admin-notice').data('noticeId')
);
});
function wpcf7cf_dismiss_notice(noticeId) {
if (noticeId === '') {
$('input[name="wpcf7cf_options[notice_dismissed]"]').val('true');
}
$.post(ajaxurl, { action:'wpcf7cf_dismiss_notice', noticeId:noticeId }, function(response) {
// nothing to do. dismiss_notice option should be set to TRUE server side by now.
});
}
});
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Global</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>
<body>
<div id="main">
<h1 class="page-title">Global</h1>
<section>
<header>
<h2></h2>
</header>
<article>
<div class="container-overview">
<dl class="details">
</dl>
</div>
<h3 class="subsection-title">Methods</h3>
<h4 class="name" id="repeaterAddSub"><span class="type-signature"></span>repeaterAddSub<span class="signature">($form, repeaterDataId)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Append a new sub-entry to the repeater with the name <code>repeaterDataId</code> inside the form <code>$form</code></p>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>$form</code></td>
<td class="type">
<span class="param-type">String</span>
|
<span class="param-type">JQuery</span>
</td>
<td class="description last"><p>JQuery object or css-selector representing the form</p></td>
</tr>
<tr>
<td class="name"><code>repeaterDataId</code></td>
<td class="type">
<span class="param-type">String</span>
</td>
<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>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="scripts_es6.js.html">scripts_es6.js</a>, <a href="scripts_es6.js.html#line1355">line 1355</a>
</li></ul></dd>
</dl>
</article>
</section>
</div>
<nav>
<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>
</nav>
<br class="clear">
<footer>
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)
</footer>
<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Home</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>
<body>
<div id="main">
<h1 class="page-title">Home</h1>
<h3> </h3>
</div>
<nav>
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="wpcf7cf.html">wpcf7cf</a></li></ul>
</nav>
<br class="clear">
<footer>
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)
</footer>
<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Module: wpcf7cf</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>
<body>
<div id="main">
<h1 class="page-title">Module: wpcf7cf</h1>
<section>
<header>
</header>
<article>
<div class="container-overview">
</div>
</article>
</section>
</div>
<nav>
<h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-wpcf7cf.html">wpcf7cf</a></li></ul>
</nav>
<br class="clear">
<footer>
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)
</footer>
<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>
\ No newline at end of file
/*global document */
(() => {
const source = document.getElementsByClassName('prettyprint source linenums');
let i = 0;
let lineNumber = 0;
let lineId;
let lines;
let totalLines;
let anchorHash;
if (source && source[0]) {
anchorHash = document.location.hash.substring(1);
lines = source[0].getElementsByTagName('li');
totalLines = lines.length;
for (; i < totalLines; i++) {
lineNumber++;
lineId = `line${lineNumber}`;
lines[i].id = lineId;
if (lineId === anchorHash) {
lines[i].className += ' selected';
}
}
}
})();
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",
/^(?:<\!--|--\>)/],["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"]);
@font-face {
font-family: 'Open Sans';
font-weight: normal;
font-style: normal;
src: url('../fonts/OpenSans-Regular-webfont.eot');
src:
local('Open Sans'),
local('OpenSans'),
url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/OpenSans-Regular-webfont.woff') format('woff'),
url('../fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
}
@font-face {
font-family: 'Open Sans Light';
font-weight: normal;
font-style: normal;
src: url('../fonts/OpenSans-Light-webfont.eot');
src:
local('Open Sans Light'),
local('OpenSans Light'),
url('../fonts/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/OpenSans-Light-webfont.woff') format('woff'),
url('../fonts/OpenSans-Light-webfont.svg#open_sanslight') format('svg');
}
html
{
overflow: auto;
background-color: #fff;
font-size: 14px;
}
body
{
font-family: 'Open Sans', sans-serif;
line-height: 1.5;
color: #4d4e53;
background-color: white;
}
a, a:visited, a:active {
color: #0095dd;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
header
{
display: block;
padding: 0px 4px;
}
tt, code, kbd, samp {
font-family: Consolas, Monaco, 'Andale Mono', monospace;
}
.class-description {
font-size: 130%;
line-height: 140%;
margin-bottom: 1em;
margin-top: 1em;
}
.class-description:empty {
margin: 0;
}
#main {
float: left;
width: 70%;
}
article dl {
margin-bottom: 40px;
}
article img {
max-width: 100%;
}
section
{
display: block;
background-color: #fff;
padding: 12px 24px;
border-bottom: 1px solid #ccc;
margin-right: 30px;
}
.variation {
display: none;
}
.signature-attributes {
font-size: 60%;
color: #aaa;
font-style: italic;
font-weight: lighter;
}
nav
{
display: block;
float: right;
margin-top: 28px;
width: 30%;
box-sizing: border-box;
border-left: 1px solid #ccc;
padding-left: 16px;
}
nav ul {
font-family: 'Lucida Grande', 'Lucida Sans Unicode', arial, sans-serif;
font-size: 100%;
line-height: 17px;
padding: 0;
margin: 0;
list-style-type: none;
}
nav ul a, nav ul a:visited, nav ul a:active {
font-family: Consolas, Monaco, 'Andale Mono', monospace;
line-height: 18px;
color: #4D4E53;
}
nav h3 {
margin-top: 12px;
}
nav li {
margin-top: 6px;
}
footer {
display: block;
padding: 6px;
margin-top: 12px;
font-style: italic;
font-size: 90%;
}
h1, h2, h3, h4 {
font-weight: 200;
margin: 0;
}
h1
{
font-family: 'Open Sans Light', sans-serif;
font-size: 48px;
letter-spacing: -2px;
margin: 12px 24px 20px;
}
h2, h3.subsection-title
{
font-size: 30px;
font-weight: 700;
letter-spacing: -1px;
margin-bottom: 12px;
}
h3
{
font-size: 24px;
letter-spacing: -0.5px;
margin-bottom: 12px;
}
h4
{
font-size: 18px;
letter-spacing: -0.33px;
margin-bottom: 12px;
color: #4d4e53;
}
h5, .container-overview .subsection-title
{
font-size: 120%;
font-weight: bold;
letter-spacing: -0.01em;
margin: 8px 0 3px 0;
}
h6
{
font-size: 100%;
letter-spacing: -0.01em;
margin: 6px 0 3px 0;
font-style: italic;
}
table
{
border-spacing: 0;
border: 0;
border-collapse: collapse;
}
td, th
{
border: 1px solid #ddd;
margin: 0px;
text-align: left;
vertical-align: top;
padding: 4px 6px;
display: table-cell;
}
thead tr
{
background-color: #ddd;
font-weight: bold;
}
th { border-right: 1px solid #aaa; }
tr > th:last-child { border-right: 1px solid #ddd; }
.ancestors, .attribs { color: #999; }
.ancestors a, .attribs a
{
color: #999 !important;
text-decoration: none;
}
.clear
{
clear: both;
}
.important
{
font-weight: bold;
color: #950B02;
}
.yes-def {
text-indent: -1000px;
}
.type-signature {
color: #aaa;
}
.name, .signature {
font-family: Consolas, Monaco, 'Andale Mono', monospace;
}
.details { margin-top: 14px; border-left: 2px solid #DDD; }
.details dt { width: 120px; float: left; padding-left: 10px; padding-top: 6px; }
.details dd { margin-left: 70px; }
.details ul { margin: 0; }
.details ul { list-style-type: none; }
.details li { margin-left: 30px; padding-top: 6px; }
.details pre.prettyprint { margin: 0 }
.details .object-value { padding-top: 0; }
.description {
margin-bottom: 1em;
margin-top: 1em;
}
.code-caption
{
font-style: italic;
font-size: 107%;
margin: 0;
}
.source
{
border: 1px solid #ddd;
width: 80%;
overflow: auto;
}
.prettyprint.source {
width: inherit;
}
.source code
{
font-size: 100%;
line-height: 18px;
display: block;
padding: 4px 12px;
margin: 0;
background-color: #fff;
color: #4D4E53;
}
.prettyprint code span.line
{
display: inline-block;
}
.prettyprint.linenums
{
padding-left: 70px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.prettyprint.linenums ol
{
padding-left: 0;
}
.prettyprint.linenums li
{
border-left: 3px #ddd solid;
}
.prettyprint.linenums li.selected,
.prettyprint.linenums li.selected *
{
background-color: lightyellow;
}
.prettyprint.linenums li *
{
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text;
}
.params .name, .props .name, .name code {
color: #4D4E53;
font-family: Consolas, Monaco, 'Andale Mono', monospace;
font-size: 100%;
}
.params td.description > p:first-child,
.props td.description > p:first-child
{
margin-top: 0;
padding-top: 0;
}
.params td.description > p:last-child,
.props td.description > p:last-child
{
margin-bottom: 0;
padding-bottom: 0;
}
.disabled {
color: #454545;
}
/* JSDoc prettify.js theme */
/* plain text */
.pln {
color: #000000;
font-weight: normal;
font-style: normal;
}
/* string content */
.str {
color: #006400;
font-weight: normal;
font-style: normal;
}
/* a keyword */
.kwd {
color: #000000;
font-weight: bold;
font-style: normal;
}
/* a comment */
.com {
font-weight: normal;
font-style: italic;
}
/* a type name */
.typ {
color: #000000;
font-weight: normal;
font-style: normal;
}
/* a literal value */
.lit {
color: #006400;
font-weight: normal;
font-style: normal;
}
/* punctuation */
.pun {
color: #000000;
font-weight: bold;
font-style: normal;
}
/* lisp open bracket */
.opn {
color: #000000;
font-weight: bold;
font-style: normal;
}
/* lisp close bracket */
.clo {
color: #000000;
font-weight: bold;
font-style: normal;
}
/* a markup tag name */
.tag {
color: #006400;
font-weight: normal;
font-style: normal;
}
/* a markup attribute name */
.atn {
color: #006400;
font-weight: normal;
font-style: normal;
}
/* a markup attribute value */
.atv {
color: #006400;
font-weight: normal;
font-style: normal;
}
/* a declaration */
.dec {
color: #000000;
font-weight: bold;
font-style: normal;
}
/* a variable name */
.var {
color: #000000;
font-weight: normal;
font-style: normal;
}
/* a function name */
.fun {
color: #000000;
font-weight: bold;
font-style: normal;
}
/* Specify class=linenums on a pre to get line numbering */
ol.linenums {
margin-top: 0;
margin-bottom: 0;
}
/* Tomorrow Theme */
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
/* Pretty printing styles. Used with prettify.js. */
/* SPAN elements with the classes below are added by prettyprint. */
/* plain text */
.pln {
color: #4d4d4c; }
@media screen {
/* string content */
.str {
color: #718c00; }
/* a keyword */
.kwd {
color: #8959a8; }
/* a comment */
.com {
color: #8e908c; }
/* a type name */
.typ {
color: #4271ae; }
/* a literal value */
.lit {
color: #f5871f; }
/* punctuation */
.pun {
color: #4d4d4c; }
/* lisp open bracket */
.opn {
color: #4d4d4c; }
/* lisp close bracket */
.clo {
color: #4d4d4c; }
/* a markup tag name */
.tag {
color: #c82829; }
/* a markup attribute name */
.atn {
color: #f5871f; }
/* a markup attribute value */
.atv {
color: #3e999f; }
/* a declaration */
.dec {
color: #f5871f; }
/* a variable name */
.var {
color: #c82829; }
/* a function name */
.fun {
color: #4271ae; } }
/* Use higher contrast and text-weight for printable form. */
@media print, projection {
.str {
color: #060; }
.kwd {
color: #006;
font-weight: bold; }
.com {
color: #600;
font-style: italic; }
.typ {
color: #404;
font-weight: bold; }
.lit {
color: #044; }
.pun, .opn, .clo {
color: #440; }
.tag {
color: #006;
font-weight: bold; }
.atn {
color: #404; }
.atv {
color: #060; } }
/* Style */
/*
pre.prettyprint {
background: white;
font-family: Consolas, Monaco, 'Andale Mono', monospace;
font-size: 12px;
line-height: 1.5;
border: 1px solid #ccc;
padding: 10px; }
*/
/* Specify class=linenums on a pre to get line numbering */
ol.linenums {
margin-top: 0;
margin-bottom: 0; }
/* IE indents via margin-left */
li.L0,
li.L1,
li.L2,
li.L3,
li.L4,
li.L5,
li.L6,
li.L7,
li.L8,
li.L9 {
/* */ }
/* Alternate shading for lines */
li.L1,
li.L3,
li.L5,
li.L7,
li.L9 {
/* */ }
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Class: wpcf7cfApi</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>
<body>
<div id="main">
<h1 class="page-title">Class: wpcf7cfApi</h1>
<section>
<header>
<h2><span class="attribs"><span class="type-signature"></span></span>wpcf7cfApi<span class="signature">()</span><span class="type-signature"></span></h2>
<div class="class-description">public API</div>
</header>
<article>
<div class="container-overview">
<h2>Constructor</h2>
<h4 class="name" id="wpcf7cfApi"><span class="type-signature"></span>new wpcf7cfApi<span class="signature">()</span><span class="type-signature"></span></h4>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="scripts_es6.js.html">scripts_es6.js</a>, <a href="scripts_es6.js.html#line1351">line 1351</a>
</li></ul></dd>
</dl>
</div>
<h3 class="subsection-title">Methods</h3>
<h4 class="name" id=".repeaterAddSub"><span class="type-signature">(static) </span>repeaterAddSub<span class="signature">($form, repeaterDataId)</span><span class="type-signature"></span></h4>
<div class="description">
Append a new sub-entry to the repeater with the name `repeaterDataId` inside the form `$form`
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>$form</code></td>
<td class="type">
<span class="param-type">String</span>
|
<span class="param-type">JQuery</span>
</td>
<td class="description last">JQuery object or css-selector representing the form</td>
</tr>
<tr>
<td class="name"><code>repeaterDataId</code></td>
<td class="type">
<span class="param-type">String</span>
</td>
<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>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="scripts_es6.js.html">scripts_es6.js</a>, <a href="scripts_es6.js.html#line1358">line 1358</a>
</li></ul></dd>
</dl>
</article>
</section>
</div>
<nav>
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="wpcf7cfApi.html">wpcf7cfApi</a></li></ul>
</nav>
<br class="clear">
<footer>
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)
</footer>
<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>
\ No newline at end of file
/* initially hide all groups (even before JS is loaded), so the page will never render them while loading */
[data-class="wpcf7cf_group"], .wpcf7cf_remove, .wpcf7cf_add {
display:none;
}
.wpcf7cf_repeater_sub {
margin-bottom: 20px;
}
.wpcf7cf_repeater_controls, .wpcf7cf_step_controls {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
margin-top: 20px;
}
.wpcf7cf_multistep .wpcf7cf_step {
/* display:none; */
width: 100%;
}
.wpcf7cf_multistep .wpcf7cf_step .step-title {
display: none;
}
.wpcf7cf_multistep .wpcf7cf_steps-dots {
display: flex;
width: 100%;
margin-bottom: 20px;
flex-wrap: wrap;
}
.wpcf7cf_multistep .wpcf7cf_steps-dots .dot .step-index {
display: inline-block;
border-radius: 50%;
background: #dfdfdf;
color: #000000;
width: 40px;
height: 40px;
line-height: 40px;
text-align: center;
}
.wpcf7cf_multistep .wpcf7cf_steps-dots .dot {
border-bottom: 5px solid #dfdfdf;
text-align: center;
flex: 1;
padding: 15px;
min-width: 120px;
}
.wpcf7cf_multistep .wpcf7cf_steps-dots .dot.completed {
border-bottom: 5px solid #333;
}
.wpcf7cf_multistep .wpcf7cf_steps-dots .dot.active {
border-bottom: 5px solid #333;
font-weight: bold;
}
.wpcf7cf_multistep .wpcf7cf_steps-dots .dot.completed .step-index {
background-color: #333;
color: #ffffff;
}
.wpcf7cf_multistep .wpcf7cf_steps-dots .dot.active .step-index {
background-color: #333;
color: #ffffff;
}
.wpcf7cf_step_controls .disabled {
pointer-events: none;
cursor: default;
opacity: .5;
}
\ No newline at end of file
<div class="control-box">
<fieldset>
<legend><?php echo sprintf( esc_html( $description ) ); ?></legend>
<table class="form-table">
<tbody>
<tr>
<th scope="row"><label for="<?php echo esc_attr( $args['content'] . '-name' ); ?>"><?php _e( 'Name', 'cf7-conditional-fields' ); ?></label></th>
<td><input type="text" name="name" class="tg-name oneline" id="<?php echo esc_attr( $args['content'] . '-name' ); ?>" /></td>
</tr>
<tr>
<th scope="row"><label for="clear_on_hide"><?php _e( 'Clear on hide', 'cf7-conditional-fields' ); ?></label></th>
<td><input type="checkbox" name="clear_on_hide" class="option" id="clear_on_hide" /></td>
</tr>
<?php if (WPCF7CF_IS_PRO) { ?>
<tr>
<th scope="row"><label for="disable_on_hide"><?php echo esc_html( __( 'Disable on hide', 'cf7-conditional-fields' ) ); ?></label></th>
<td><input type="checkbox" name="disable_on_hide" class="option" id="disable_on_hide" /></td>
</tr>
<?php } ?>
<tr>
<th scope="row"><label for="inline"><?php echo esc_html( __( 'Inline', 'cf7-conditional-fields' ) ); ?></label></th>
<td><input type="checkbox" name="inline" class="option" id="inline" /></td>
</tr>
</tbody>
</table>
</fieldset>
</div>
<div class="insert-box">
<input type="text" name="<?php echo $type; ?>" class="tag code" readonly="readonly" onfocus="this.select()" />
<div class="submitbox">
<input type="button" class="button button-primary insert-tag" value="<?php _e( 'Insert Tag', 'cf7-conditional-fields' ); ?>" />
</div>
<br class="clear" />
</div>
\ No newline at end of file
#dashboard_cf7ms .cf7mls-postbox-title-wrap {
margin: 15px 0;
}
#dashboard_cf7ms .cf7mls-postbox-title-wrap>h3 {
font-size: 14px;
font-weight: 600;
padding: 0;
margin: 0;
border: 0
}
#dashboard_cf7ms .cf7mls-postbox-img-wrap {
margin: 20px 0
}
#dashboard_cf7ms .cf7mls-postbox-list-wrap {
margin-bottom: 25px
}
#dashboard_cf7ms .cf7mls-list-checked li {
position: relative;
padding: 0 0 0 26px;
font-size: 13px;
display: block;
line-height: 1.5;
margin-bottom: 8px
}
#dashboard_cf7ms .cf7mls-list-checked li:after,
#dashboard_cf7ms .cf7mls-list-checked li:before {
position: absolute;
width: 14px;
height: 14px;
top: 2px;
left: 5px
}
#dashboard_cf7ms .cf7mls-list-checked li:before {
content: "";
background-color: #18ae62;
border-radius: 14px;
z-index: 1
}
#dashboard_cf7ms .cf7mls-list-checked li:after {
content: "";
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");
background-position: 50%;
background-repeat: no-repeat;
background-size: 8px;
z-index: 2
}
#dashboard_cf7ms .cf7mls-postbox-btn-wrap {
margin-bottom: 30px;
text-align: center;
}
#dashboard_cf7ms .cf7mls-postbox-btn-wrap .button {
height: 40px;
line-height: 38px;
padding: 0 30px;
}
\ No newline at end of file
<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">
<metadata> Svg Vector Icons : http://www.onlinewebfonts.com/icon </metadata>
<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>
</svg>
\ No newline at end of file
(function($) {
jQuery(document).ready(function($) {
jQuery(".cf7mls-color-field").wpColorPicker();
jQuery('#cf7mls-progress-bar .cf7mls_progress_bar_filter').wpColorPicker(
{
change: function(event, ui){
// Change background color progress bar
let color = ui.color.toString();
// cf7mls_change_color_bar(color);
}
}
);
jQuery('#cf7mls-progress-bar .cf7mls_progress_bar_percent_filter').wpColorPicker(
{
change: function(event, ui){
// Change background color progress bar
let color = ui.color.toString();
// $('.cf7mls_progress_bar_percent_wrap .cf7mls_progress_barinner').css('background', color);
// $('.cf7mls_progress_bar_per_mobie_wrap .cf7mls_progress_barinner').css('background', color);
}
}
);
var btnColorPickers = jQuery('button.wp-color-result')
for (var i = 0; i < btnColorPickers.length; i++) {
btnColorPickers[i].defaultValue = btnColorPickers[i].value
}
var title_steps = [];
if(cf7mls.steps.length >= 2 && Array.isArray(cf7mls.steps)) {
title_steps = cf7mls.steps;
}
$('#postbox-container-1').append($('#cf7mls_PostBoxUpgradePro'));
$('#tag-generator-list a.thickbox').click(function(){
$( 'textarea#wpcf7-form' ).attr('id', 'wpcf7-form-bak');
});
var tb_unload_count = 1;
$(window).bind('tb_unload', function () {
if (tb_unload_count > 1) {
tb_unload_count = 1;
} else {
$( 'textarea#wpcf7-form-bak' ).attr('id', 'wpcf7-form');
tb_unload_count = tb_unload_count + 1;
}
});
//cf7mls_load_step_name(jQuery('#wpcf7-form').val());
// $("[data-config-field]").change(function() {
// var val = $(this).val();
// cf7mls_load_step_name(val);
//đâ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
// });
// jQuery("#contact-form-editor").on("tabsactivate", function(event, ui) {
// if ((ui.newTab.context.hash === "#cf7mls-progress-bar") && Array.isArray(title_steps)) {
// cf7mls_load_step_name(title_steps);
// }
// });
// Transition effects
if($('#cf7mls_multi_step_wrap input.cf7mls_toggle_transition_effects').is(":checked") === false){
$('#cf7mls_multi_step_wrap .cf7mls-stype-transition-wrap').css('display', 'none');
}
$('#cf7mls_multi_step_wrap .cf7mls_switch').click(function(){
if($('#cf7mls_multi_step_wrap input.cf7mls_toggle_transition_effects').is(":checked")){
$('#cf7mls_multi_step_wrap input.cf7mls_toggle_transition_effects').attr('checked', true);
$('#cf7mls_multi_step_wrap .cf7mls-stype-transition-wrap').css('display', '');
}else {
$('#cf7mls_multi_step_wrap input.cf7mls_toggle_transition_effects').attr('checked', false);
$('#cf7mls_multi_step_wrap .cf7mls-stype-transition-wrap').css('display', 'none');
}
});
if($('.cf7mls_progress_bars_witch input.cf7mls_enable_progress_bar').is(":checked") === false){
$('#cf7mls_progress_bar').addClass('hide');
$('.cf7mls_number_step_wrap').addClass('hide');
$('.cf7mls_form_demo_one').css('margin-top', '28px');
$('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .cf7mls_bg_color_wrap.cf7mls_bg_color_progress').addClass('hide');
$('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .cf7mls_progress_style_wrap').addClass('hide');
$('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .title_options_wrap').addClass('hide');
}else {
$('#cf7mls_progress_bar').removeClass('hide');
$('.cf7mls_number_step_wrap').removeClass('hide');
$('.cf7mls_form_demo_one').css('margin-top', '');
$('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .cf7mls_bg_color_wrap.cf7mls_bg_color_progress').removeClass('hide');
$('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .cf7mls_progress_style_wrap').removeClass('hide');
$('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .title_options_wrap').removeClass('hide');
}
$('.cf7mls-pogress-bar .cf7mls_progress_bars_witch').click(function(event) {
event.stopPropagation();
// if($('.cf7mls_progress_bars_witch input.cf7mls_enable_progress_bar').is(":checked")){
// $('.cf7mls_progress_bars_witch input.cf7mls_enable_progress_bar').attr('checked', true);
// $('#cf7mls_progress_bar').removeClass('hide');
// $('.cf7mls_number_step_wrap').removeClass('hide');
// $('.cf7mls_form_demo_one').css('margin-top', '');
// $('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .cf7mls_bg_color_wrap.cf7mls_bg_color_progress').removeClass('hide');
// $('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .cf7mls_progress_style_wrap').removeClass('hide');
// $('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .title_options_wrap').removeClass('hide');
// }else {
// $('.cf7mls_progress_bars_witch input.cf7mls_enable_progress_bar').attr('checked', false);
// $('#cf7mls_progress_bar').addClass('hide');
// $('.cf7mls_number_step_wrap').addClass('hide');
// $('.cf7mls_form_demo_one').css('margin-top', '28px');
// $('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .cf7mls_bg_color_wrap.cf7mls_bg_color_progress').addClass('hide');
// $('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .cf7mls_progress_style_wrap').addClass('hide');
// $('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .title_options_wrap').addClass('hide');
// }
});
// Background Color Progress Bar
var progress_bar_bg_color = $('.cf7mls_progress_bar_filter').val();
$('head').append('<style id="cf7mls_style_progress_bar" type="text/css"></style>');
if(progress_bar_bg_color) {
cf7mls_change_color_bar(progress_bar_bg_color);
}
// Progress bar percent
if($('.cf7mls_progress_bars_witch input.cf7mls_enable_progress_bar_percent').is(":checked") === false){
// $('.cf7mls_progress_bar_percent_wrap').addClass('hide');
$('.cf7mls_progress_bar_per_mobie_wrap').addClass('hide');
$('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .cf7mls_bg_color_wrap.cf7mls_bg_color_progress_percent').addClass('hide');
}else {
$('.cf7mls_progress_bar_per_mobie_wrap').removeClass('hide');
$('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .cf7mls_bg_color_wrap.cf7mls_bg_color_progress_percent').removeClass('hide');
}
$('.cf7mls-pogress-bar-percent .cf7mls_progress_bars_witch').click(function() {
if($('.cf7mls_progress_bars_witch input.cf7mls_enable_progress_bar_percent').is(":checked")){
$('.cf7mls_progress_bars_witch input.cf7mls_enable_progress_bar_percent').attr('checked', true);
// $('.cf7mls_progress_bar_percent_wrap').removeClass('hide');
$('.cf7mls_progress_bar_per_mobie_wrap').removeClass('hide');
$('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .cf7mls_bg_color_wrap.cf7mls_bg_color_progress_percent').removeClass('hide');
}else {
$('.cf7mls_progress_bars_witch input.cf7mls_enable_progress_bar_percent').attr('checked', false);
// $('.cf7mls_progress_bar_percent_wrap').addClass('hide');
$('.cf7mls_progress_bar_per_mobie_wrap').addClass('hide');
$('.cf7mls_pogress_bar_wrap .cf7mls-group-pogress-bar .cf7mls_bg_color_wrap.cf7mls_bg_color_progress_percent').addClass('hide');
}
});
// Background Color Progress Bar Percent
var progress_bar_per_color = $('.cf7mls_progress_bar_percent_filter').val();
if(progress_bar_per_color) {
// $('.cf7mls_progress_bar_percent_wrap .cf7mls_progress_barinner').css('background', progress_bar_per_color);
$('.cf7mls_progress_bar_per_mobie_wrap .cf7mls_progress_barinner').css('background', progress_bar_per_color);
}
function cf7mls_change_color_bar(color) {
let style_bar = 'cf7mls_bar_style_' + $('#cf7mls_progress_bar_style').val();
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();
style_bar += '_' + style_bar_icon;
let style_text = 'cf7mls_bar_style_text_' + $('.cf7mls-select-style-text .active').attr('data-style-text');
let css_item_icon = '.' + style_bar + '.' + style_text + ' li .cf7_mls_steps_item_icon { background: '+ color + ';}';
let css_item_icon_befor = '.' + style_bar + '.' + style_text + ' li:before { background: '+ color + ';}';
let css_bg_li = '.' + style_bar + '.' + style_text + ' li{ background: '+ color + ';}';
let css_step = '.' + style_bar + '.' + style_text + ' li .cf7_mls_count_step{ color: '+ color + ';}'
let css_check = '.' + style_bar + '.' + style_text + ' li .cf7_mls_check{ color: '+ color + ';}';
let css_li_after = '.' + style_bar + '.' + style_text + ' li:after{ background: '+ color + ';}';
//
let css_li = '.' + style_bar + '.' + style_text + ' li:nth-child';
let css_title_after = '.cf7mls_progress_bar_title:after{ background: '+ color + ';}';
let css_title_border = '.cf7mls_progress_bar_title:after{ border-color: '+ color + ';}'
let css_progress_bar = '';
// progress bar on ipad, mobile
css_progress_bar += '.cf7mls_number_step_wrap .cf7mls_progress_barinner { background:' + color + ';}';
// progress bar on computer
}
});
})(jQuery);
This diff could not be displayed because it is too large.
.wpcf7-form{
position: relative;
/* border : 1px solid #eaeaea; */
overflow: hidden;
display: block !important;
}
.wpcf7-form .fieldset-cf7mls{
border: none;
background: none;
}
.wpcf7 form.sent .wpcf7-response-output {
display: block;
}
.cf7mls-btns .cf7mls_next.action-button, .cf7mls-btns .cf7mls_back.action-button {
margin: 25px 0px 26px;
padding: 13px 15px;
}
.cf7mls_next.action-button {
background-color: #0073aa;
border: 0 none;
border-radius: 3px;
color: #ffffff;
cursor: pointer;
font-weight: bold;
margin: 25px 0px 26px;
padding: 13px 5px;
min-width: 100px;
position: relative;
}
.cf7mls_back.action-button {
background-color: #e3e3e3;
border: 0 none;
border-radius: 3px;
color: #23282d;
cursor: pointer;
font-weight: bold;
margin: 16px 0px 26px;
padding: 13px 5px;
min-width: 100px;
position: relative;
}
.fieldset-cf7mls .wpcf7-form-control.wpcf7-cf7mls_preview_step {
background-color: #27ae60;
border: 0 none;
border-radius: 3px;
color: white;
cursor: pointer;
font-weight: bold;
margin: 26px 0px 32px;
padding: 13px 5px;
min-width: 100px;
position: relative;
}
.cf7mls_back.action-button {
margin-right: 10px;
float: left;
}
.cf7mls_next.action-button:hover,
.cf7mls_back.action-button:hover,
.fieldset-cf7mls .wpcf7-form-control.wpcf7-cf7mls_preview_step:hover {
opacity: 0.8;
}
.fieldset-cf7mls .cf7mls_back{
float: left;
}
.fieldset-cf7mls .cf7mls_next {
float: right;
}
form.cf7mls input.wpcf7-form-control.wpcf7-submit {
border-radius: 3px;
padding: 13px 29px;
font-weight: bold;
margin: 16px 0px 26px;
float: right;
/* background-color: #0073aa; */
/* color: #ffffff; */
}
form.cf7mls input.wpcf7-form-control.wpcf7-submit:hover {
opacity: 0.8;
}
.cf7mls_reviewing_overlay {
position: fixed;
left: 0;
top: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.8);
z-index: 100;
display: none;
}
form.wpcf7-form.cf7mls_reviewing {
position: relative;
z-index: 999999;
background-color: #fff;
}
form.wpcf7-form.cf7mls_reviewing:before{
content: '';
position: absolute;
background: rgba(0,0,0,0.8);
width: 100000px;
height: 100000px;
left: -30000px;
top: -30000px;
z-index: 1;
}
form.wpcf7-form.cf7mls_reviewing > *{
position: relative;
z-index: 3;
}
form.wpcf7-form.cf7mls_reviewing .cf7mls_close_preview {
cursor: pointer;
position: absolute;
top: 10px;
right: 0;
}
form.wpcf7-form.cf7mls_reviewing:after{
content: '';
position: absolute;
top: -5px;
left: -20px;
right: -20px;
bottom: -10px;
background: #ffffff;
z-index: 2;
}
/*
* Animation
*/
/*
button.cf7mls_btn:not(.disabled):before {
content: '';
position: absolute;
right: 10px;
top: 50%;
margin-top: -11px;
width: 20px;
height: 20px;
border: 4px solid;
border-left-color: transparent;
border-radius: 50%;
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
opacity: 0;
-moz-transition-duration: 0.5s;
-o-transition-duration: 0.5s;
-webkit-transition-duration: 0.5s;
transition-duration: 0.5s;
-moz-transition-property: opacity;
-o-transition-property: opacity;
-webkit-transition-property: opacity;
transition-property: opacity;
-moz-animation-duration: 1s;
-webkit-animation-duration: 1s;
animation-duration: 1s;
-moz-animation-iteration-count: infinite;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
-moz-animation-name: rotate;
-webkit-animation-name: rotate;
animation-name: rotate;
-moz-animation-timing-function: linear;
-webkit-animation-timing-function: linear;
animation-timing-function: linear;
}
button.cf7mls_btn:not(.disabled):after {
content: '';
display: inline-block;
height: 100%;
width: 0px;
-moz-transition-delay: 0.5s;
-o-transition-delay: 0.5s;
-webkit-transition-delay: 0.5s;
transition-delay: 0.5s;
-moz-transition-duration: 0.75s;
-o-transition-duration: 0.75s;
-webkit-transition-duration: 0.75s;
transition-duration: 0.75s;
-moz-transition-property: width;
-o-transition-property: width;
-webkit-transition-property: width;
transition-property: width;
}
button.cf7mls_btn:not(.disabled).sending {
pointer-events: none;
cursor: not-allowed;
}
button.cf7mls_btn:not(.disabled).sending:not(.expand) {
text-align: left;
}
button.cf7mls_btn:not(.disabled).sending:before {
-moz-transition-delay: 0.5s;
-o-transition-delay: 0.5s;
-webkit-transition-delay: 0.5s;
transition-delay: 0.5s;
-moz-transition-duration: 1s;
-o-transition-duration: 1s;
-webkit-transition-duration: 1s;
transition-duration: 1s;
filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false);
opacity: 1;
}
button.cf7mls_btn:not(.disabled).sending:after {
-moz-transition-delay: 0s;
-o-transition-delay: 0s;
-webkit-transition-delay: 0s;
transition-delay: 0s;
width: 20px;
}
@keyframes rotate {
0% {
-moz-transform: rotate(0deg);
-ms-transform: rotate(0deg);
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-moz-transform: rotate(360deg);
-ms-transform: rotate(360deg);
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
*/
.wpcf7-form .fieldset-cf7mls .cf7mls-btns {
min-height: 80px;
}
.cf7mls_next.action-button img {
width: 20px;
position: relative;
margin-left: 5px;
vertical-align: middle;
}
.cf7mls_next.action-button.sending img {
display: inline-block !important;
}
.cf7mls_next.action-button:focus,
.cf7mls_back.action-button:focus {
outline: none;
}
.fieldset-cf7mls-wrapper{
position: relative;
overflow: hidden;
}
.fieldset-cf7mls-wrapper .fieldset-cf7mls{
width: 100%;
opacity: 0;
visibility: hidden;
-webkit-transition: all 800ms cubic-bezier(0.680, 0, 0.265, 1); /* older webkit */
-webkit-transition: all 800ms cubic-bezier(0.680, -0.550, 0.265, 1.550);
-moz-transition: all 800ms cubic-bezier(0.680, -0.550, 0.265, 1.550);
-o-transition: all 800ms cubic-bezier(0.680, -0.550, 0.265, 1.550);
transition: all 800ms cubic-bezier(0.680, -0.550, 0.265, 1.550); /* easeInOutBack */
-webkit-transition-timing-function: cubic-bezier(0.680, 0, 0.265, 1); /* older webkit */
-webkit-transition-timing-function: cubic-bezier(0.680, -0.550, 0.265, 1.550);
-moz-transition-timing-function: cubic-bezier(0.680, -0.550, 0.265, 1.550);
-o-transition-timing-function: cubic-bezier(0.680, -0.550, 0.265, 1.550);
transition-timing-function: cubic-bezier(0.680, -0.550, 0.265, 1.550); /* easeInOutBack */
}
.cf7mls-no-moving-animation .fieldset-cf7mls-wrapper .fieldset-cf7mls {
transition: none;
}
.fieldset-cf7mls-wrapper .cf7mls_back_fs{
position: absolute;
left: 0;
top: 15px;
transform: translate(-110%,0);
-webkit-transform: translate(-110%,0);
-moz-transform: translate(-110%,0);
}
.fieldset-cf7mls-wrapper .cf7mls_current_fs ~ .fieldset-cf7mls{
position: absolute;
left: 0;
top: 15px;
transform: translate(110%,0);
-webkit-transform: translate(110%,0);
-moz-transform: translate(110%,0);
}
.wpcf7-form .cf7mls_progress_bar ~ .fieldset-cf7mls-wrapper fieldset {
padding-top: 0px;
margin-top: 0px;
padding-bottom: 2px;
margin-bottom: 20px;
}
.fieldset-cf7mls-wrapper .cf7mls_current_fs{
opacity: 1;
visibility: visible
}
.fieldset-cf7mls.cf7mls_preview_fs {
height: auto;
overflow: visible;
opacity: 1;
visibility: visible;
transform: translate(0,0);
-webkit-transform: translate(0,0);
-moz-transform: translate(0,0);
position: relative;
}
.fieldset-cf7mls-wrapper .wpcf7-not-valid-tip {
font-size: 13px;
}
.fieldset-cf7mls-wrapper div.wpcf7-validation-errors {
border: none;
display: block;
color: #f00;
font-size: 13px;
padding-left: 0px;
margin-left: 0px;
}
.fieldset-cf7mls-wrapper div.wpcf7-validation-errors .wpcf7-icon-wraning {
display: block;
float: left;
margin-right: 8px;
margin-top: 2px;
fill: #f00;
}
.fieldset-cf7mls-wrapper .fieldset-cf7mls span.ajax-loader {
position: absolute;
right: 39px;
margin-top: 33px;
}
@media only screen and (max-width: 767px) {
.fieldset-cf7mls input[type="radio"],
.fieldset-cf7mls input[type="checkbox"]{
width: auto;
}
.fieldset-cf7mls input, .wpcf7-form .fieldset-cf7mls textarea{
width: 100%;
}
}
<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"
width="40px" height="40px" viewBox="0 0 50 50" style="enable-background:new 0 0 50 50;" xml:space="preserve">
<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">
<animateTransform attributeType="xml"
attributeName="transform"
type="rotate"
from="0 25 25"
to="360 25 25"
dur="0.9s"
repeatCount="indefinite"/>
</path>
</svg>
<?php
/*
Plugin Name: Multi Step for Contact Form 7 (Lite)
Plugin URI: https://ninjateam.org/contact-form-7-multi-step/
Description: Break your long form into user-friendly steps.
Version: 2.7.4
Author: NinjaTeam
Author URI: http://ninjateam.org
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( function_exists( 'cf7mls_plugin_init' ) ) {
require_once plugin_dir_path( __FILE__ ) . 'inc/Fallback.php';
add_action(
'admin_init',
function() {
deactivate_plugins( plugin_basename( __FILE__ ) );
}
);
return;
}
if ( ! defined( 'CF7MLS_PLUGIN_DIR' ) ) {
define( 'CF7MLS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
}
if ( ! defined( 'CF7MLS_PLUGIN_URL' ) ) {
define( 'CF7MLS_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
}
if ( ! defined( 'CF7MLS_PLUGIN_BASENAME' ) ) {
define( 'CF7MLS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
}
if ( ! defined( 'CF7MLS_NTA_VERSION' ) ) {
define( 'CF7MLS_NTA_VERSION', '2.7.4' );
}
if ( ! function_exists( 'cf7mls_plugin_init' ) ) {
function cf7mls_plugin_init() {
// language load text domain
require_once CF7MLS_PLUGIN_DIR . '/inc/I18n.php';
// CF7DB
require_once CF7MLS_PLUGIN_DIR . '/inc/cf7db.php';
// admin
require_once CF7MLS_PLUGIN_DIR . '/inc/admin/init.php';
require_once CF7MLS_PLUGIN_DIR . '/inc/admin/settings.php';
require_once CF7MLS_PLUGIN_DIR . '/inc/admin/review.php';
require_once CF7MLS_PLUGIN_DIR . '/inc/admin/dashboard-widget.php';
// frontend
require_once CF7MLS_PLUGIN_DIR . '/inc/frontend/init.php';
require_once CF7MLS_PLUGIN_DIR . '/inc/frontend/validation.php';
}
}
add_action( 'plugins_loaded', 'cf7mls_plugin_init' );
<?php
defined( 'ABSPATH' ) || exit;
add_action(
'admin_notices',
function() {
if ( current_user_can( 'activate_plugins' ) ) {
?>
<div class="notice notice-error is-dismissible">
<p>
<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>
</p>
</div>
<?php
if ( isset( $_GET['activate'] ) ) {
unset( $_GET['activate'] );
}
}
}
);
\ No newline at end of file
<?php
if ( ! class_exists( 'NjtCF7MLSI18n' ) ) {
class NjtCF7MLSI18n {
public function __construct() {
$this->doHooks();
}
private function doHooks() {
add_action( 'plugins_loaded', array( $this, 'cf7mlsLoadTextdomain' ) );
}
public function cf7mlsLoadTextdomain() {
load_plugin_textdomain( 'cf7mls', false, plugin_basename( CF7MLS_PLUGIN_DIR ) . '/languages/' );
}
}
new NjtCF7MLSI18n();
}
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( ! function_exists( 'cf7cmlsIsMoanaActivated' ) ) {
function cf7cmlsIsMoanaActivated() {
return defined( 'CF7_VC_DIR' );
}
}
// Add Go Pro Action Link
add_filter( 'plugin_action_links_' . CF7MLS_PLUGIN_BASENAME, 'cf7mls_plugin_action_links' );
function cf7mls_plugin_action_links( $links ) {
$links[] = '<a target="_blank" href="https://1.envato.market/Multi-Step-Form" style="color: #43B854; font-weight: bold">' . __( 'Go Pro', 'cf7mls' ) . '</a>';
return $links;
}
// Add Document link
add_filter( 'plugin_row_meta', 'cf7mls_plugin_row_meta', 10, 2 );
function cf7mls_plugin_row_meta( $links, $file ) {
if ( strpos( $file, 'contact-form-7-multi-step.php' ) !== false ) {
$new_links = array(
'doc' => '<a href="https://ninjateam.org/contact-form-7-multi-step-pro-doc/" target="_blank">' . __( 'Documentation', 'cf7mls' ) . '</a>',
);
$links = array_merge( $links, $new_links );
}
return $links;
}
add_filter( 'wpcf7_editor_panels', 'cf7mls_wpcf7_editor_panels' );
function cf7mls_wpcf7_editor_panels( $panels ) {
$panels['form-panel'] = array(
'title' => __( 'Form', 'contact-form-7' ),
'callback' => 'cf7mls_wpcf7_editor_panel_form',
);
return $panels;
}
function cf7mls_wpcf7_editor_panel_form( $post ) {
$desc_link = wpcf7_link(
__( 'https://contactform7.com/editing-form-template/', 'contact-form-7' ),
__( 'Editing Form Template', 'contact-form-7' )
);
$description = __( 'You can edit the form template here. For details, see %s.', 'contact-form-7' );
$description = sprintf( esc_html( $description ), $desc_link );
?>
<h2 class="cf7mls-title-form"><?php echo esc_html( __( 'Form', 'contact-form-7' ) ); ?></h2>
<fieldset class="cf7mls-wrap-form">
<legend class="cf7mls-description-form"><?php echo $description; ?></legend>
<?php
$tag_generator = WPCF7_TagGenerator::get_instance();
$tag_generator->print_buttons();
?>
<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>
<div id="cf7mls-app"></div>
<div id="cf7mls_PostBoxUpgradePro" style="display:none;"></div>
</fieldset>
<?php
}
// add js, css
add_action( 'admin_enqueue_scripts', 'cf7mls_admin_scripts_callback' );
function cf7mls_admin_scripts_callback( $hook_suffix ) {
$load_js_css = false;
if ( ( substr( $hook_suffix, -15 ) == '_page_wpcf7-new' ) || ( $hook_suffix == 'toplevel_page_wpcf7' ) ) {
$load_js_css = true;
}
if ( $load_js_css === true ) {
wp_enqueue_style( 'wp-color-picker' );
wp_enqueue_script( 'wp-color-picker' );
wp_enqueue_style( 'vue-css', CF7MLS_PLUGIN_URL . 'assets/dist/css/main.css' );
wp_register_script( 'vue-js', CF7MLS_PLUGIN_URL . 'assets/dist/js/main.js' );
wp_enqueue_script( 'vue-js' );
wp_localize_script(
'vue-js',
'cf7_mls_vue_js',
array(
'textInputStep' => __( 'Step Name', 'contact-form-7' ),
'textInputBack' => __( 'Back Button', 'contact-form-7' ),
'textInputNext' => __( 'Next Button', 'contact-form-7' ),
'textEditMoana' => __( 'Edit With Moana', 'cf7mls' ),
'cf7cmlsIsMoanaActivated' => cf7cmlsIsMoanaActivated(),
'pluginUrl' => CF7MLS_PLUGIN_URL,
)
);
wp_register_script( 'cf7mls', CF7MLS_PLUGIN_URL . 'assets/admin/js/cf7mls.js', array( 'jquery' ) );
wp_enqueue_script( 'cf7mls' );
$form_content = '';
$manager = WPCF7_FormTagsManager::get_instance();
if ( isset( $_GET['post'] ) && (int) $_GET['post'] > 0 ) {
$form = WPCF7_ContactForm::get_instance( sanitize_text_field( $_GET['post'] ) );
if ( $form ) {
$form_content = $form->prop( 'form' );
} else {
$form_content = WPCF7_ContactFormTemplate::get_default( 'form' );
}
} else {
$form_content = WPCF7_ContactFormTemplate::get_default( 'form' );
}
$scan = $manager->scan( $form_content );
$steps = array();
$numberStep = 0;
foreach ( $scan as $k => $v ) {
if ( $v->type == 'cf7mls_step' ) {
if ( count( $v->values ) == 2 ) {
$numberStep = (int) ( explode( '-', $v->name )[1] );
if ( $numberStep === 1 ) {
$steps[] = array(
'back' => '',
'next' => $v->values[0],
'title' => $v->values[1],
);
} else {
$steps[] = array(
'back' => $v->values[0],
'next' => '',
'title' => $v->values[1],
);
}
} elseif ( count( $v->values ) == 3 ) {
$steps[] = array(
'back' => $v->values[0],
'next' => $v->values[1],
'title' => $v->values[2],
);
}
}
}
wp_localize_script(
'cf7mls',
'cf7mls',
array(
'steps' => $steps,
'cf7mls_app' => null,
)
);
wp_register_style( 'cf7mls', CF7MLS_PLUGIN_URL . 'assets/admin/css/cf7mls.css' );
wp_enqueue_style( 'cf7mls' );
wp_register_style( 'cf7mls_progress_bar', CF7MLS_PLUGIN_URL . 'assets/frontend/css/progress_bar.css' );
wp_enqueue_style( 'cf7mls_progress_bar' );
}
}
/**
* Add step buttin to the wpcf7 tag generator.
*/
function cf7mls_add_tag_generator_multistep() {
if ( class_exists( 'WPCF7_TagGenerator' ) ) {
$tag = WPCF7_TagGenerator::get_instance();
$tag->add(
'cf7mls_step',
__( 'Step', 'cf7mls' ),
'cf7mls_multistep_tag_generator_callback'
);
}
}
add_action( 'admin_init', 'cf7mls_add_tag_generator_multistep', 30 );
/**
* [cf7mls_multistep_tag_generator_callback description]
*/
function cf7mls_multistep_tag_generator_callback( $contact_form, $args = '' ) {
$args = wp_parse_args( $args, array() );
?>
<div class="control-box">
<fieldset>
<legend><?php _e( 'Generate buttons for form\'s steps.', 'cf7mls' ); ?></legend>
<table class="form-table cf7mls-table">
<tbody>
<tr>
<th scope="row"><label for="tag-generator-panel-cf7mls_step-name"><?php _e( 'Name', 'cf7mls' ); ?></label></th>
<td><input type="text" id="tag-generator-panel-cf7mls_step-name" class="tg-name oneline" name="name"></td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-cf7mls_step-btns-title"><?php _e( 'Back, Next Buttons Title', 'cf7mls' ); ?></label>
</th>
<td>
<textarea name="values" id="tag-generator-panel-cf7mls_step-btns-title" class="cf7mls-values"><?php echo "Back\nNext"; ?></textarea>
<br />
<label for="tag-generator-panel-cf7mls_step-back">
<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>
</label>
</td>
</tr>
</tbody>
</table>
</fieldset>
</div>
<div class="insert-box">
<input type="text" name="cf7mls_step" class="tag code" readonly="readonly" onfocus="this.select()" />
<div class="submitbox">
<input type="button" class="button button-primary insert-tag" value="<?php echo esc_attr( __( 'Insert Tag', 'cf7mls' ) ); ?>" />
</div>
<br class="clear" />
<p class="description mail-tag"><label><?php echo esc_html( __( 'This field should not be used on the Mail tab.', 'cf7mls' ) ); ?></label>
</p>
</div>
<?php
}
<?php
if ( ! class_exists( 'NjtCF7MLSReview' ) ) {
class NjtCF7MLSReview {
public function __construct() {
$this->doHooks();
}
private function doHooks() {
add_action( 'wp_ajax_cf7mls_save_review', array( $this, 'cf7mls_save_review' ) );
$option = get_option( 'cf7mls_review' );
if ( time() >= (int) $option && $option !== '0' ) {
add_action( 'admin_notices', array( $this, 'give_review' ) );
}
}
public function checkNonce( $nonce ) {
if ( ! wp_verify_nonce( $nonce, 'cf7mls_review_nonce' ) ) {
wp_send_json_error( array( 'status' => 'Wrong nonce validate!' ) );
exit();
}
}
public function hasField( $field, $request ) {
return isset( $request[ $field ] ) ? sanitize_text_field( $request[ $field ] ) : null;
}
public function cf7mls_save_review() {
if ( count( $_REQUEST ) ) {
$nonce = $this->hasField( 'nonce', $_REQUEST );
$field = $this->hasField( 'field', $_REQUEST );
$this->checkNonce( $nonce );
if ( $field == 'later' ) {
update_option( 'cf7mls_review', time() + 3 * 60 * 60 * 24 ); // After 3 days show
} elseif ( $field == 'alreadyDid' ) {
update_option( 'cf7mls_review', 0 );
}
wp_send_json_success();
}
wp_send_json_error( array( 'message' => 'Update fail!' ) );
}
public function give_review() {
if ( function_exists( 'get_current_screen' ) ) {
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' ) {
?>
<div class="notice notice-success is-dismissible" id="njt-cf7mls-review">
<h3 style="margin: 1em 0;"><?php _e( 'Give Multi Step for Contact Form 7 a review', 'cf7mls' ); ?></h3>
<p>
<?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' ); ?>
</p>
<p>
<?php _e( 'We will be forever grateful. Thank you in advance ;)', 'cf7mls' ); ?>
</p>
<p>
<a href="javascript:;" data="rateNow" class="button button-primary" style="margin-right: 5px"><?php _e( 'Rate now', 'cf7mls' ); ?></a>
<a href="javascript:;" data="later" class="button" style="margin-right: 5px"><?php _e( 'Later', 'cf7mls' ); ?></a>
<a href="javascript:;" data="alreadyDid" class="button"><?php _e( 'Already did', 'cf7mls' ); ?></a>
</p>
</div>
<script>
jQuery(document).ready(function () {
jQuery("#njt-cf7mls-review a").on("click", function () {
var thisElement = this;
var fieldValue = jQuery(thisElement).attr("data");
var proLink = "https://codecanyon.net/item/contact-form-7-multistep/reviews/15232990";
var freeLink = "https://wordpress.org/support/plugin/cf7-multi-step/reviews/?filter=5#new-post";
var hidePopup = false;
if (fieldValue == "rateNow") {
window.open(freeLink, "_blank");
} else {
hidePopup = true;
}
jQuery
.ajax({
dataType: 'json',
url: '<?php echo admin_url( 'admin-ajax.php' ); ?>',
type: "post",
data: {
action: "cf7mls_save_review",
field: fieldValue,
nonce: '<?php echo wp_create_nonce( 'cf7mls_review_nonce' ); ?>',
},
})
.done(function (result) {
if (result.success) {
if (hidePopup == true) {
jQuery("#njt-cf7mls-review").hide("slow");
}
} else {
console.log("Error", result.message);
if (hidePopup == true) {
jQuery("#njt-cf7mls-review").hide("slow");
}
}
})
.fail(function (res) {
console.log(res.responseText);
if (hidePopup == true) {
jQuery("#njt-cf7mls-review").hide("slow");
}
});
});
});
</script>
<?php
}
}
}
}
new NjtCF7MLSReview();
}
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
function cf7mls_is_active_cf7db() {
return defined( 'CF7D_FILE' );
}
if ( cf7mls_is_active_cf7db() ) {
add_filter( 'cf7d_no_save_fields', 'cf7mls_cf7d_no_save_fields' );
function cf7mls_cf7d_no_save_fields( $fields ) {
// $fields[] = '_cf7mls_db_form_data_id';
$fields[] = '_wpnonce';
$fields[] = 'cf7mls_back';
$fields[] = 'cf7mls_next';
return $fields;
}
/*
* Remove user's informations every steps
*/
add_action( 'cf7d_after_insert_db', 'cf7mls_cf7d_after_insert_db', 10, 3 );
function cf7mls_cf7d_after_insert_db( $contact_form, $form_id, $data_id ) {
global $wpdb;
$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'" );
if ( isset( $data_id_be_delete[0] ) ) {
$data_id_be_delete = $data_id_be_delete[0]->value;
// delele data_id
$wpdb->delete( $wpdb->prefix . 'cf7_data', array( 'id' => $data_id_be_delete ) );
// delete entry
$wpdb->delete(
$wpdb->prefix . 'cf7_data_entry',
array(
'cf7_id' => $form_id,
'data_id' => $data_id_be_delete,
)
);
$wpdb->delete(
$wpdb->prefix . 'cf7_data_entry',
array(
'cf7_id' => $form_id,
'name' => '_cf7mls_db_form_data_id',
)
);
}
}
// No save fields cf7mls_step-1, cf7mls_step-2,... before when install to database
add_filter( 'cf7d_posted_data', 'cf7mls_cf7d_posted_data', 10, 1 );
function cf7mls_cf7d_posted_data( $contact_form ) {
$pattern = '/cf7mls_step-/i';
foreach ( $contact_form as $k => $v ) {
if ( preg_match( $pattern, $k ) ) {
unset( $contact_form[ $k ] );
}
}
return $contact_form;
}
}
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
// add js, css
add_action( 'wp_enqueue_scripts', 'cf7mls_frontend_scripts_callback' );
function cf7mls_frontend_scripts_callback() {
$cf7d_messages_error = '';
wp_register_script( 'cf7mls', CF7MLS_PLUGIN_URL . 'assets/frontend/js/cf7mls.js', array(), CF7MLS_NTA_VERSION, true );
wp_enqueue_script( 'cf7mls' );
if ( apply_filters( 'is_using_cf7mls_css', true ) ) {
wp_register_style( 'cf7mls', CF7MLS_PLUGIN_URL . 'assets/frontend/css/cf7mls.css', array(), CF7MLS_NTA_VERSION );
wp_enqueue_style( 'cf7mls' );
wp_register_style( 'cf7mls_animate', CF7MLS_PLUGIN_URL . 'assets/frontend/animate/animate.min.css', array(), CF7MLS_NTA_VERSION );
wp_enqueue_style( 'cf7mls_animate' );
}
wp_localize_script(
'cf7mls',
'cf7mls_object',
array(
'ajax_url' => site_url() . '/wp-json',
'is_rtl' => apply_filters( 'cf7mls_is_rtl', is_rtl() ),
'disable_submit' => apply_filters( 'cf7mls_disable_submit', 'true' ),
'cf7mls_error_message' => $cf7d_messages_error,
'scroll_step' => apply_filters( 'cf7mls-scroll-step', 'true' ),
'disable_enter_key' => apply_filters( 'cf7mls-disable-enter-key', 'false' ),
'check_step_before_submit' => apply_filters( 'cf7mls_check_step_before_submit', 'true' ),
)
);
}
/**
* Wpcf7 shortcode.
*/
function cf7mls_add_shortcode_step() {
wpcf7_add_form_tag( array( 'cf7mls_step', 'cf7mls_step*' ), 'cf7mls_multistep_shortcode_callback', true );
}
add_action( 'wpcf7_init', 'cf7mls_add_shortcode_step' );
function cf7mls_multistep_shortcode_callback( $tag ) {
$tag = new WPCF7_FormTag( $tag );
$name = $tag->name;
$numberStep = (int) explode( '-', $name )[1];
$back = $next = false;
// Check button back last in step.
$checkBackLast = false;
if ( count( $tag->values ) == 2 ) {
if ( $numberStep === 1 ) {
$next = $tag->values[0];
} else {
$checkBackLast = true;
$back = $tag->values[0];
}
} elseif ( count( $tag->values ) > 2 ) {
$back = $tag->values[0];
$next = $tag->values[1];
}
$html = '<div class="cf7mls-btns">';
// TODO add form id to btn to prevent duplicate
if ( $checkBackLast === true && $back ) {
$html = '';
$html .= apply_filters( 'cf7_step_before_back_btn', '', $name );
$html .= '<button type="button" class="cf7mls_back action-button" name="cf7mls_back" id="cf7mls-back-btn-' . $name . '">' . $back . '</button>';
$html .= apply_filters( 'cf7_step_after_back_btn', '', $name );
} elseif ( $back ) {
$html .= apply_filters( 'cf7_step_before_back_btn', '', $name );
$html .= '<button type="button" class="cf7mls_back action-button" name="cf7mls_back" id="cf7mls-back-btn-' . $name . '">' . $back . '</button>';
$html .= apply_filters( 'cf7_step_after_back_btn', '', $name );
}
// TODO add form id to btn to prevent duplicate
if ( $next ) {
$loader = apply_filters( 'cf7mls_loader_img', CF7MLS_PLUGIN_URL . 'assets/frontend/img/loader.svg' );
$html .= apply_filters( 'cf7_step_before_next_btn', '', $name );
$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>';
$html .= apply_filters( 'cf7_step_after_next_btn', '', $name );
} else {
$loader = apply_filters( 'cf7mls_loader_img', CF7MLS_PLUGIN_URL . 'assets/frontend/img/loader.svg' );
$html .= apply_filters( 'cf7_step_before_next_btn', '', $name );
$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>';
$html .= apply_filters( 'cf7_step_after_next_btn', '', $name );
}
$contact_form = wpcf7_get_current_contact_form();
if ( $checkBackLast === false ) {
$html .= '</div><p></p></fieldset><fieldset class="fieldset-cf7mls">';
} else {
if ( '' === $back ) {
$html .= '</div>';
}
}
return $html;
}
/**
* Wrap form
*/
add_filter( 'wpcf7_form_elements', 'cf7mls_wrap_form_elements_func', 10 );
function cf7mls_wrap_form_elements_func( $code ) {
if ( $contact_form = wpcf7_get_current_contact_form() ) {
/* If the form has multistep's shortcode */
if ( strpos( $code, '<fieldset class="fieldset-cf7mls' ) ) {
if ( defined( 'WPCF7_AUTOP' ) && ( WPCF7_AUTOP == true ) ) {
$code = preg_replace( '#<p>(.*?)<\/fieldset><fieldset class=\"fieldset-cf7mls\"><\/p>#', '$1</fieldset><fieldset class="fieldset-cf7mls">', $code );
}
// progress bar
$code = '<div class="fieldset-cf7mls-wrapper" data-transition-effects><fieldset class="fieldset-cf7mls">' . $code;
$code .= '</fieldset></div>';
// $code .= '</fieldset>';
}
}
$ex = explode( '<fieldset class="fieldset-cf7mls">', $code );
if ( count( $ex ) > 1 ) {
$code = '';
foreach ( $ex as $k => $v ) {
$code .= $v;
if ( $k == 0 ) {
$code .= '<fieldset class="fieldset-cf7mls cf7mls_current_fs">';
} elseif ( $k < ( count( $ex ) - 1 ) ) {
$code .= '<fieldset class="fieldset-cf7mls">';
}
}
}
return $code;
}
// add css to wp_head
add_action( 'wp_head', 'cf7mls_css_to_wp_head' );
function cf7mls_css_to_wp_head() {
$query = new \WP_Query(
array(
'post_type' => 'wpcf7_contact_form',
'posts_per_page' => -1,
'post_status' => 'publish',
)
);
$posts = $query->get_posts();
if ( count( $posts ) > 0 ) {
echo '<style type="text/css">';
foreach ( $posts as $key => $post ) {
$id = $post->ID;
$next_bg_color = get_post_meta( $id, '_cf7mls_next_bg_color', true );
$next_text_color = get_post_meta( $id, '_cf7mls_next_text_color', true );
$back_bg_color = get_post_meta( $id, '_cf7mls_back_bg_color', true );
$back_text_color = get_post_meta( $id, '_cf7mls_back_text_color', true );
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 : '' ) . ' }';
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 : '' ) . ' }';
}
echo '</style>';
}
}
add_filter( 'wpcf7_form_class_attr', 'cf7mls_add_auto_scroll_class' );
function cf7mls_add_auto_scroll_class( $class ) {
if ( $contact_form = wpcf7_get_current_contact_form() ) {
if ( empty( trim( ( get_post_meta( $contact_form->id(), '_cf7_mls_auto_scroll_animation', true ) ) ) ) ) {
$class .= ' cf7mls-no-scroll';
}
$class .= ' cf7mls-no-moving-animation';
}
return $class;
}
msgid ""
msgstr ""
"Project-Id-Version: Multi Step for Contact Form 7 (Lite)\n"
"POT-Creation-Date: 2022-07-18 10:12+0700\n"
"PO-Revision-Date: 2022-07-18 10:35+0700\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=6; plural=(n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5);\n"
"X-Generator: Poedit 3.1.1\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
"X-Poedit-WPHeader: contact-form-7-multi-step.php\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPathExcluded-0: *.min.js\n"
#: inc/admin/dashboard-widget.php:18
#, fuzzy
msgid "Contact Form 7 Multi-Step Pro"
msgstr "نموذج الاتصال 7 متعدد الخطوات برو"
#: inc/admin/init.php:14
msgid "Go Pro"
msgstr "احصل علي نسخه مدفوعه"
#: inc/admin/init.php:22
msgid "Documentation"
msgstr "الوثائق"
#: inc/admin/init.php:33 inc/admin/init.php:47
msgid "Form"
msgstr "نموذج"
#: inc/admin/init.php:40
msgid "https://contactform7.com/editing-form-template/"
msgstr "https://contactform7.com/editing-form-template/"
#: inc/admin/init.php:41
msgid "Editing Form Template"
msgstr "تعديل قالب النموذج"
#: inc/admin/init.php:43
#, php-format
msgid "You can edit the form template here. For details, see %s."
msgstr "يمكنك تعديل قالب النموذج من هنا, للتفاصيل, %s."
#: inc/admin/init.php:80
msgid "Step Name"
msgstr "اسم الخطوة"
#: inc/admin/init.php:81 inc/admin/settings.php:25
msgid "Back Button"
msgstr "زر العودة"
#: inc/admin/init.php:82 inc/admin/settings.php:39
msgid "Next Button"
msgstr "الزر التالي"
#: inc/admin/init.php:83
msgid "Edit With Moana"
msgstr "تحرير مع موانا"
#: inc/admin/init.php:161
msgid "Step"
msgstr "خطوة"
#: inc/admin/init.php:175
msgid "Generate buttons for form's steps."
msgstr "إنشاء أزرار لخطوات النموذج."
#: inc/admin/init.php:179
msgid "Name"
msgstr "الاسم"
#: inc/admin/init.php:184
msgid "Back, Next Buttons Title"
msgstr "رجوع، عنوان الأزرار التالية"
#: inc/admin/init.php:190
msgid ""
"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"
msgstr ""
"عنوان واحد لكل سطر. عنوان زر الرجوع في السطر الأول وعنوان الزر التالي في "
"السطر الثاني.<br />إذا كانت هذه هي الخطوة الأولى، فاكتب سطرا واحدا فقط للزر "
"التالي"
#: inc/admin/init.php:203
msgid "Insert Tag"
msgstr "ادخل وسم"
#: inc/admin/init.php:208
msgid "This field should not be used on the Mail tab."
msgstr "يجب عدم استخدام هذا الحقل في علامة التبويب البريد."
#: inc/admin/review.php:51
#, fuzzy
msgid "Give Multi Step for Contact Form 7 a review"
msgstr "امنح نموذج الاتصال Multi Step for Contact 7 تعليقا"
#: inc/admin/review.php:53
#, fuzzy
msgid ""
"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?"
msgstr ""
"شكرا لاختيارك Multi Step for Contact Form 7. نأمل أن تحبها. هل يمكن أن "
"تستغرق بضع ثوان في نشر مراجعة لطيفة لمشاركة تجربتك السعيدة؟"
#: inc/admin/review.php:56
msgid "We will be forever grateful. Thank you in advance ;)"
msgstr "سنكون ممتنين إلى الأبد. شكرا لكم مقدما ;)"
#: inc/admin/review.php:59
msgid "Rate now"
msgstr "قيم الآن"
#: inc/admin/review.php:60
msgid "Later"
msgstr "لاحقاً"
#: inc/admin/review.php:61
msgid "Already did"
msgstr "فعلته مسبقًا! "
#: inc/admin/settings.php:8
msgid "Multi-Step Settings"
msgstr "إعدادات متعددة الخطوات"
#: inc/admin/settings.php:12
#, fuzzy
msgid "Progress Bar (PRO)"
msgstr "شريط التقدم (PRO)"
#: inc/admin/settings.php:19
msgid "Color"
msgstr "اللون"
#: inc/admin/settings.php:22
msgid ""
"You can change the background-color or text-color of Back, Next buttons here."
msgstr "يمكنك تغيير لون الخلفية أو لون النص لأزرار \"الرجوع، التالي\" هنا."
#: inc/admin/settings.php:28 inc/admin/settings.php:42
msgid "BG color"
msgstr "لون BG"
#: inc/admin/settings.php:33 inc/admin/settings.php:47
msgid "Text color"
msgstr "لون النص"
#: inc/admin/settings.php:55
msgid "Auto Scroll to Top"
msgstr "التمرير التلقائي إلى الأعلى"
#: inc/admin/settings.php:69
#, fuzzy
msgid "Transition Effects (PRO)"
msgstr "تأثيرات الانتقال (PRO)"
#: inc/admin/settings.php:79
msgid "Animation"
msgstr "مربع التمرير سرعة الحركة (مللي ثانية)"
#: inc/admin/settings.php:101
msgid "Save to database"
msgstr "حفظ في قاعدة البيانات"
#: inc/admin/settings.php:105
msgid "Save form's every step?"
msgstr "حفظ النموذج في كل خطوة؟"
#: inc/admin/settings.php:124
msgid "Progress Bar"
msgstr "شريط التقدم"
#: inc/admin/settings.php:134 inc/admin/settings.php:182
msgid "Background Color"
msgstr "لون الخلفية"
#: inc/admin/settings.php:139
msgid "Progress Bar Style"
msgstr "نمط شريط التقدم"
#: inc/admin/settings.php:145
msgid "Border Style"
msgstr "نمط الحدود"
#: inc/admin/settings.php:155
msgid "Title Options"
msgstr "خيارات العنوان"
#: inc/admin/settings.php:160
msgid "Horizontal text"
msgstr "نص أفقي"
#: inc/admin/settings.php:164
msgid "Vertical text"
msgstr "نص عمودي"
#: inc/admin/settings.php:168
msgid "No text"
msgstr "بدون نص"
#: inc/admin/settings.php:174
msgid "Progress Bar Percent"
msgstr "النسبة المئوية لشريط التقدم"
#: inc/admin/settings.php:289
msgid "Back"
msgstr "رجوع"
#: inc/admin/settings.php:290
msgid "Next"
msgstr "التالى"
#: inc/admin/settings.php:306
msgid "Preview only shows 3 steps."
msgstr "تظهر المعاينة 3 خطوات فقط."
#. Plugin Name of the plugin/theme
#, fuzzy
msgid "Multi Step for Contact Form 7 (Lite)"
msgstr "نموذج متعدد الخطوات للاتصال 7 (Lite)"
#. Plugin URI of the plugin/theme
#, fuzzy
msgid "https://ninjateam.org/contact-form-7-multi-step/"
msgstr "https://ninjateam.org/contact-form-7-multi-step/"
#. Description of the plugin/theme
msgid "Break your long form into user-friendly steps."
msgstr "قسم النموذج الطويل الخاص بك إلى خطوات سهلة الاستخدام."
#. Author of the plugin/theme
msgid "NinjaTeam"
msgstr "فريق النينجاتيم"
#. Author URI of the plugin/theme
msgid "http://ninjateam.org"
msgstr "http://ninjateam.org"
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Multi Step for Contact Form 7 (Lite)\n"
"POT-Creation-Date: 2022-07-18 10:12+0700\n"
"PO-Revision-Date: 2022-07-18 10:11+0700\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
"X-Generator: Poedit 3.1.1\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
"X-Poedit-WPHeader: contact-form-7-multi-step.php\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPathExcluded-0: *.min.js\n"
#: inc/admin/dashboard-widget.php:18
msgid "Contact Form 7 Multi-Step Pro"
msgstr ""
#: inc/admin/init.php:14
msgid "Go Pro"
msgstr ""
#: inc/admin/init.php:22
msgid "Documentation"
msgstr ""
#: inc/admin/init.php:33 inc/admin/init.php:47
msgid "Form"
msgstr ""
#: inc/admin/init.php:40
msgid "https://contactform7.com/editing-form-template/"
msgstr ""
#: inc/admin/init.php:41
msgid "Editing Form Template"
msgstr ""
#: inc/admin/init.php:43
#, php-format
msgid "You can edit the form template here. For details, see %s."
msgstr ""
#: inc/admin/init.php:80
msgid "Step Name"
msgstr ""
#: inc/admin/init.php:81 inc/admin/settings.php:25
msgid "Back Button"
msgstr ""
#: inc/admin/init.php:82 inc/admin/settings.php:39
msgid "Next Button"
msgstr ""
#: inc/admin/init.php:83
msgid "Edit With Moana"
msgstr ""
#: inc/admin/init.php:161
msgid "Step"
msgstr ""
#: inc/admin/init.php:175
msgid "Generate buttons for form's steps."
msgstr ""
#: inc/admin/init.php:179
msgid "Name"
msgstr ""
#: inc/admin/init.php:184
msgid "Back, Next Buttons Title"
msgstr ""
#: inc/admin/init.php:190
msgid ""
"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"
msgstr ""
#: inc/admin/init.php:203
msgid "Insert Tag"
msgstr ""
#: inc/admin/init.php:208
msgid "This field should not be used on the Mail tab."
msgstr ""
#: inc/admin/review.php:51
msgid "Give Multi Step for Contact Form 7 a review"
msgstr ""
#: inc/admin/review.php:53
msgid ""
"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?"
msgstr ""
#: inc/admin/review.php:56
msgid "We will be forever grateful. Thank you in advance ;)"
msgstr ""
#: inc/admin/review.php:59
msgid "Rate now"
msgstr ""
#: inc/admin/review.php:60
msgid "Later"
msgstr ""
#: inc/admin/review.php:61
msgid "Already did"
msgstr ""
#: inc/admin/settings.php:8
msgid "Multi-Step Settings"
msgstr ""
#: inc/admin/settings.php:12
msgid "Progress Bar (PRO)"
msgstr ""
#: inc/admin/settings.php:19
msgid "Color"
msgstr ""
#: inc/admin/settings.php:22
msgid ""
"You can change the background-color or text-color of Back, Next buttons here."
msgstr ""
#: inc/admin/settings.php:28 inc/admin/settings.php:42
msgid "BG color"
msgstr ""
#: inc/admin/settings.php:33 inc/admin/settings.php:47
msgid "Text color"
msgstr ""
#: inc/admin/settings.php:55
msgid "Auto Scroll to Top"
msgstr ""
#: inc/admin/settings.php:69
msgid "Transition Effects (PRO)"
msgstr ""
#: inc/admin/settings.php:79
msgid "Animation"
msgstr ""
#: inc/admin/settings.php:101
msgid "Save to database"
msgstr ""
#: inc/admin/settings.php:105
msgid "Save form's every step?"
msgstr ""
#: inc/admin/settings.php:124
msgid "Progress Bar"
msgstr ""
#: inc/admin/settings.php:134 inc/admin/settings.php:182
msgid "Background Color"
msgstr ""
#: inc/admin/settings.php:139
msgid "Progress Bar Style"
msgstr ""
#: inc/admin/settings.php:145
msgid "Border Style"
msgstr ""
#: inc/admin/settings.php:155
msgid "Title Options"
msgstr ""
#: inc/admin/settings.php:160
msgid "Horizontal text"
msgstr ""
#: inc/admin/settings.php:164
msgid "Vertical text"
msgstr ""
#: inc/admin/settings.php:168
msgid "No text"
msgstr ""
#: inc/admin/settings.php:174
msgid "Progress Bar Percent"
msgstr ""
#: inc/admin/settings.php:289
msgid "Back"
msgstr ""
#: inc/admin/settings.php:290
msgid "Next"
msgstr ""
#: inc/admin/settings.php:306
msgid "Preview only shows 3 steps."
msgstr ""
#. Plugin Name of the plugin/theme
msgid "Multi Step for Contact Form 7 (Lite)"
msgstr ""
#. Plugin URI of the plugin/theme
msgid "https://ninjateam.org/contact-form-7-multi-step/"
msgstr ""
#. Description of the plugin/theme
msgid "Break your long form into user-friendly steps."
msgstr ""
#. Author of the plugin/theme
msgid "NinjaTeam"
msgstr ""
#. Author URI of the plugin/theme
msgid "http://ninjateam.org"
msgstr ""
msgid ""
msgstr ""
"Project-Id-Version: Multi Step for Contact Form 7 (Lite)\n"
"POT-Creation-Date: 2022-07-18 10:12+0700\n"
"PO-Revision-Date: 2022-07-18 10:34+0700\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.1.1\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
"X-Poedit-WPHeader: contact-form-7-multi-step.php\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPathExcluded-0: *.min.js\n"
#: inc/admin/dashboard-widget.php:18
#, fuzzy
msgid "Contact Form 7 Multi-Step Pro"
msgstr "Kontaktformular 7 Multi-Step Pro"
#: inc/admin/init.php:14
msgid "Go Pro"
msgstr "Pro erwerben"
#: inc/admin/init.php:22
msgid "Documentation"
msgstr "Dokumentation"
#: inc/admin/init.php:33 inc/admin/init.php:47
msgid "Form"
msgstr "Formular"
#: inc/admin/init.php:40
msgid "https://contactform7.com/editing-form-template/"
msgstr "https://contactform7.com/editing-form-template/"
#: inc/admin/init.php:41
#, fuzzy
msgid "Editing Form Template"
msgstr "Bearbeiten der Formularvorlage"
#: inc/admin/init.php:43
#, php-format
msgid "You can edit the form template here. For details, see %s."
msgstr "Hier können Sie die Formularvorlage bearbeiten. Für Details siehe %s."
#: inc/admin/init.php:80
msgid "Step Name"
msgstr "Schrittname"
#: inc/admin/init.php:81 inc/admin/settings.php:25
msgid "Back Button"
msgstr "Zurück Button"
#: inc/admin/init.php:82 inc/admin/settings.php:39
msgid "Next Button"
msgstr "Weiter Schaltfläche"
#: inc/admin/init.php:83
#, fuzzy
msgid "Edit With Moana"
msgstr "Bearbeiten mit Moana"
#: inc/admin/init.php:161
msgid "Step"
msgstr "Schritt"
#: inc/admin/init.php:175
#, fuzzy
msgid "Generate buttons for form's steps."
msgstr "Generieren Sie Schaltflächen für die Schritte des Formulars."
#: inc/admin/init.php:179
#, fuzzy
msgid "Name"
msgstr "Name"
#: inc/admin/init.php:184
#, fuzzy
msgid "Back, Next Buttons Title"
msgstr "Zurück, Titel der Schaltfläche \"Zurück\""
#: inc/admin/init.php:190
#, fuzzy
msgid ""
"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"
msgstr ""
"Ein Titel pro Zeile. Der Titel von Back Button in der ersten Zeile und der "
"Titel von Next Button in der zweiten Zeile.<br />Wenn dies ein erster "
"Schritt ist, geben Sie nur eine Zeile für Next Button ein."
#: inc/admin/init.php:203
msgid "Insert Tag"
msgstr "Tag einfügen"
#: inc/admin/init.php:208
#, fuzzy
msgid "This field should not be used on the Mail tab."
msgstr ""
"Dieses Feld sollte nicht auf der Registerkarte E-Mail verwendet werden."
#: inc/admin/review.php:51
#, fuzzy
msgid "Give Multi Step for Contact Form 7 a review"
msgstr "Geben Sie Multi Step für Contact Form 7 eine Rezension"
#: inc/admin/review.php:53
#, fuzzy
msgid ""
"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?"
msgstr ""
"Vielen Dank, dass Sie sich für Multi Step für Contact Form 7 entschieden "
"haben. Wir hoffen, Sie lieben es. Könnten Sie sich ein paar Sekunden Zeit "
"nehmen, um eine schöne Rezension zu veröffentlichen, um Ihre glückliche "
"Erfahrung zu teilen?"
#: inc/admin/review.php:56
msgid "We will be forever grateful. Thank you in advance ;)"
msgstr "Wir werden für immer dankbar sein. Danke im Voraus ;)"
#: inc/admin/review.php:59
msgid "Rate now"
msgstr "Jetzt bewerten"
#: inc/admin/review.php:60
msgid "Later"
msgstr "Später"
#: inc/admin/review.php:61
msgid "Already did"
msgstr "Schon gemacht"
#: inc/admin/settings.php:8
msgid "Multi-Step Settings"
msgstr "Mehrstufige Einstellungen"
#: inc/admin/settings.php:12
#, fuzzy
msgid "Progress Bar (PRO)"
msgstr "Fortschrittsbalken (PRO)"
#: inc/admin/settings.php:19
msgid "Color"
msgstr "Farbe"
#: inc/admin/settings.php:22
#, fuzzy
msgid ""
"You can change the background-color or text-color of Back, Next buttons here."
msgstr ""
"Sie können die Hintergrundfarbe oder Textfarbe der Schaltflächen Zurück, "
"Weiter hier ändern."
#: inc/admin/settings.php:28 inc/admin/settings.php:42
msgid "BG color"
msgstr "Hintergrundfarbe"
#: inc/admin/settings.php:33 inc/admin/settings.php:47
msgid "Text color"
msgstr "Textfarbe"
#: inc/admin/settings.php:55
#, fuzzy
msgid "Auto Scroll to Top"
msgstr "Automatisches Scrollen nach oben"
#: inc/admin/settings.php:69
#, fuzzy
msgid "Transition Effects (PRO)"
msgstr "Übergangseffekte (PRO)"
#: inc/admin/settings.php:79
msgid "Animation"
msgstr "Animation"
#: inc/admin/settings.php:101
msgid "Save to database"
msgstr "In Datenbank speichern"
#: inc/admin/settings.php:105
#, fuzzy
msgid "Save form's every step?"
msgstr "Speichern Sie jedes Formular bei jedem Schritt?"
#: inc/admin/settings.php:124
msgid "Progress Bar"
msgstr "Fortschrittsbalken"
#: inc/admin/settings.php:134 inc/admin/settings.php:182
msgid "Background Color"
msgstr "Hintergrundfarbe"
#: inc/admin/settings.php:139
msgid "Progress Bar Style"
msgstr "Fortschrittsbalken Stil"
#: inc/admin/settings.php:145
msgid "Border Style"
msgstr "Rahmenstil"
#: inc/admin/settings.php:155
msgid "Title Options"
msgstr "Titel Optionen"
#: inc/admin/settings.php:160
msgid "Horizontal text"
msgstr "Horizontaler Text"
#: inc/admin/settings.php:164
msgid "Vertical text"
msgstr "Vertikaler Text"
#: inc/admin/settings.php:168
#, fuzzy
msgid "No text"
msgstr "Kein Text"
#: inc/admin/settings.php:174
msgid "Progress Bar Percent"
msgstr "Fortschrittsbalken Prozent"
#: inc/admin/settings.php:289
msgid "Back"
msgstr "Zurück"
#: inc/admin/settings.php:290
msgid "Next"
msgstr "Weiter"
#: inc/admin/settings.php:306
#, fuzzy
msgid "Preview only shows 3 steps."
msgstr "In der Vorschau werden nur 3 Schritte angezeigt."
#. Plugin Name of the plugin/theme
#, fuzzy
msgid "Multi Step for Contact Form 7 (Lite)"
msgstr "Mehrstufig für Kontaktformular 7 (Lite)"
#. Plugin URI of the plugin/theme
#, fuzzy
msgid "https://ninjateam.org/contact-form-7-multi-step/"
msgstr "https://ninjateam.org/contact-form-7-multi-step/"
#. Description of the plugin/theme
msgid "Break your long form into user-friendly steps."
msgstr "Unterteilen Sie Ihre Langform in benutzerfreundliche Schritte."
#. Author of the plugin/theme
#, fuzzy
msgid "NinjaTeam"
msgstr "NinjaTeam"
#. Author URI of the plugin/theme
#, fuzzy
msgid "http://ninjateam.org"
msgstr "http://ninjateam.org"
msgid ""
msgstr ""
"Project-Id-Version: Multi Step for Contact Form 7 (Lite)\n"
"POT-Creation-Date: 2022-07-18 10:12+0700\n"
"PO-Revision-Date: 2022-07-18 10:33+0700\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Poedit 3.1.1\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
"X-Poedit-WPHeader: contact-form-7-multi-step.php\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPathExcluded-0: *.min.js\n"
#: inc/admin/dashboard-widget.php:18
#, fuzzy
msgid "Contact Form 7 Multi-Step Pro"
msgstr "Formulaire de contact 7 Multi Step Pro"
#: inc/admin/init.php:14
msgid "Go Pro"
msgstr "Go Pro"
#: inc/admin/init.php:22
msgid "Documentation"
msgstr "Documentation"
#: inc/admin/init.php:33 inc/admin/init.php:47
msgid "Form"
msgstr "Formulaire"
#: inc/admin/init.php:40
msgid "https://contactform7.com/editing-form-template/"
msgstr "https://contactform7.com/editing-form-template/"
#: inc/admin/init.php:41
msgid "Editing Form Template"
msgstr "Modification du Modèle de Formulaire"
#: inc/admin/init.php:43
#, php-format
msgid "You can edit the form template here. For details, see %s."
msgstr ""
"Vous pouvez modifier le modèle de formulaire ici. Pour plus de détails, voir "
"%s."
#: inc/admin/init.php:80
msgid "Step Name"
msgstr "Nom Etape"
#: inc/admin/init.php:81 inc/admin/settings.php:25
msgid "Back Button"
msgstr "Bouton retour"
#: inc/admin/init.php:82 inc/admin/settings.php:39
msgid "Next Button"
msgstr "Bouton Suivant"
#: inc/admin/init.php:83
msgid "Edit With Moana"
msgstr "Modifier avec Moana"
#: inc/admin/init.php:161
msgid "Step"
msgstr "Étape"
#: inc/admin/init.php:175
msgid "Generate buttons for form's steps."
msgstr "Générez des boutons pour les étapes du formulaire."
#: inc/admin/init.php:179
msgid "Name"
msgstr "Nom"
#: inc/admin/init.php:184
msgid "Back, Next Buttons Title"
msgstr "Titre des boutons Suivant et Précédent"
#: inc/admin/init.php:190
msgid ""
"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"
msgstr ""
"Un titre par ligne. Le titre du bouton précédent sur la première ligne et le "
"titre du bouton suivant sur la deuxième ligne.<br />S'il s'agit d'une "
"première étape, tapez une seule ligne pour le bouton Suivant"
#: inc/admin/init.php:203
msgid "Insert Tag"
msgstr "Insérer la balise"
#: inc/admin/init.php:208
msgid "This field should not be used on the Mail tab."
msgstr "Ce champ ne doit pas être utilisé sous l’onglet Courrier."
#: inc/admin/review.php:51
#, fuzzy
msgid "Give Multi Step for Contact Form 7 a review"
msgstr "Donnez un avis à Multi Step for Contact Form 7"
#: inc/admin/review.php:53
#, fuzzy
msgid ""
"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?"
msgstr ""
"Merci d’avoir choisi Multi Step pour le formulaire de contact 7. Nous "
"espérons que vous l’aimez. Pourriez-vous prendre quelques secondes en "
"publiant une belle critique pour partager votre expérience heureuse?"
#: inc/admin/review.php:56
msgid "We will be forever grateful. Thank you in advance ;)"
msgstr "Nous vous serons toujours reconnaissants. Merci d’avance ;)"
#: inc/admin/review.php:59
msgid "Rate now"
msgstr "Évaluer maintenant"
#: inc/admin/review.php:60
msgid "Later"
msgstr "Plus tard"
#: inc/admin/review.php:61
msgid "Already did"
msgstr "C'est déjà fait"
#: inc/admin/settings.php:8
msgid "Multi-Step Settings"
msgstr "Paramètres en plusieurs étapes"
#: inc/admin/settings.php:12
#, fuzzy
msgid "Progress Bar (PRO)"
msgstr "Barre de progression (PRO)"
#: inc/admin/settings.php:19
msgid "Color"
msgstr "Couleur"
#: inc/admin/settings.php:22
msgid ""
"You can change the background-color or text-color of Back, Next buttons here."
msgstr ""
"Vous pouvez modifier la couleur d'arrière-plan ou la couleur du texte des "
"boutons suivant et précédent ici."
#: inc/admin/settings.php:28 inc/admin/settings.php:42
msgid "BG color"
msgstr "Couleur d’arrière-plan"
#: inc/admin/settings.php:33 inc/admin/settings.php:47
msgid "Text color"
msgstr "Couleur du texte"
#: inc/admin/settings.php:55
msgid "Auto Scroll to Top"
msgstr "Défilement automatique vers le haut"
#: inc/admin/settings.php:69
#, fuzzy
msgid "Transition Effects (PRO)"
msgstr "Effets de transition (PRO)"
#: inc/admin/settings.php:79
msgid "Animation"
msgstr "Animation"
#: inc/admin/settings.php:101
msgid "Save to database"
msgstr "Enregistrer dans la base de données"
#: inc/admin/settings.php:105
msgid "Save form's every step?"
msgstr "Enregistrer le formulaire à chaque étape?"
#: inc/admin/settings.php:124
msgid "Progress Bar"
msgstr "Barre de progression"
#: inc/admin/settings.php:134 inc/admin/settings.php:182
msgid "Background Color"
msgstr "Couleur d’arrière-plan"
#: inc/admin/settings.php:139
msgid "Progress Bar Style"
msgstr "Style de la barre de progression"
#: inc/admin/settings.php:145
msgid "Border Style"
msgstr "Style de bordure"
#: inc/admin/settings.php:155
msgid "Title Options"
msgstr "Options Titre"
#: inc/admin/settings.php:160
msgid "Horizontal text"
msgstr "Texte horizontal"
#: inc/admin/settings.php:164
msgid "Vertical text"
msgstr "Texte vertical"
#: inc/admin/settings.php:168
msgid "No text"
msgstr "Pas de texte"
#: inc/admin/settings.php:174
msgid "Progress Bar Percent"
msgstr "Pourcentage de la barre de progression"
#: inc/admin/settings.php:289
msgid "Back"
msgstr "Retour"
#: inc/admin/settings.php:290
msgid "Next"
msgstr "Suivante"
#: inc/admin/settings.php:306
msgid "Preview only shows 3 steps."
msgstr "L’aperçu n’affiche que 3 étapes."
#. Plugin Name of the plugin/theme
#, fuzzy
msgid "Multi Step for Contact Form 7 (Lite)"
msgstr "Multi Step pour le formulaire de contact 7 (Lite)"
#. Plugin URI of the plugin/theme
#, fuzzy
msgid "https://ninjateam.org/contact-form-7-multi-step/"
msgstr "https://ninjateam.org/contact-form-7-multi-step/"
#. Description of the plugin/theme
msgid "Break your long form into user-friendly steps."
msgstr "Divisez votre formulaire long en étapes conviviales."
#. Author of the plugin/theme
msgid "NinjaTeam"
msgstr "NinjaTeam"
#. Author URI of the plugin/theme
msgid "http://ninjateam.org"
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.