Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
fix: replace zoho captcha with google recaptcha for style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Ja7ad committed Jul 2, 2024
1 parent 66e38dc commit a38b150
Showing 1 changed file with 52 additions and 56 deletions.
108 changes: 52 additions & 56 deletions website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
permalink: index.html
---

<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<script type="text/javascript" src="https://zcsub-cmpzourl.maillist-manage.com/js/optin.min.js" onload="setupSF('sf3zd339a7fedeb3703b3bec0e15e52df080eb6551620d2bcd01ab8407ee0f098a24','ZCFORMVIEW',false,'acc',false,'2')"></script>
<script type="text/javascript">
function onSubmit(token) {
document.getElementById("zcampaignOptinForm").submit();
}
function runOnFormSubmit_sf3zd339a7fedeb3703b3bec0e15e52df080eb6551620d2bcd01ab8407ee0f098a24(th){
};
</script>

<div class="shadow-sm bg-body mt-3 mb-3 rounded">
Expand Down Expand Up @@ -275,62 +274,59 @@ <h3>Subscribe to the Pactus Newsletter</h3>
</div>
<div class="col-md-6 motto">
<div class="pactus-video">
<div id="signupMainDiv">
<div style="position:relative;">
<div id="Zc_SignupSuccess" style="display:none;">
<table style="width:100%; border-spacing:0; border:none;">
<tbody>
<div id="sf3zd339a7fedeb3703b3bec0e15e52df080eb6551620d2bcd01ab8407ee0f098a24" data-type="signupform">
<input type="hidden" id="recapTheme" value="2">
<input type="hidden" id="isRecapIntegDone" value="true">
<input type="hidden" id="signupFormType" value="QuickForm_Vertical">
<div id="signupMainDiv" style="margin: 0px auto; width: 100%; min-width: 230px; max-width: 600px;" name="SIGNUPFORM" changeid="SIGNUPFORM" changename="SIGNUPFORM">
<div>
<div style="position:relative;">
<div id="Zc_SignupSuccess" style="display:none;position:absolute;margin-left:4%;width:90%;background-color: white; padding: 3px; border: 3px solid rgb(194, 225, 154); margin-top: 10px;margin-bottom:10px;word-break:break-all">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr>
<td style="width:10%;">
<img class="successicon" src="https://zcsub-cmpzourl.maillist-manage.com/images/challangeiconenable.jpg" style="vertical-align:middle;" alt="Success Icon">
</td>
<td>
<span id="signupSuccessMsg">&nbsp;&nbsp;Thank you for Signing Up</span>
</td>
<td width="10%">
<img class="successicon" src="https://zcsub-cmpzourl.maillist-manage.com/images/challangeiconenable.jpg" align="absmiddle">
</td>
<td>
<span id="signupSuccessMsg" style="color: rgb(73, 140, 132); font-family: sans-serif; font-size: 14px;word-break:break-word">&nbsp;&nbsp;Thank you for Signing Up</span>
</td>
</tr>
</tbody>
</table>
</div>
</div>

<form method="POST" id="zcampaignOptinForm" action="https://zcsub-cmpzourl.maillist-manage.com/weboptin.zc" target="_blank">
<div id="SIGNUP_BODY_ALL">
<div id="SIGNUP_BODY">
<div>
<div id="errorMsgDiv" style="display:none;">&nbsp;&nbsp;Please correct the marked field(s) below.</div>
<div>
<div>
<div>
<input style="width: 97%;" maxlength="100" placeholder="Contact Email" name="CONTACT_EMAIL" type="email" required>
<span>*</span>
</div>
</div>
<br>
<div class="g-recaptcha" data-sitekey="6LfLWAMqAAAAADUT1PdwTlvpkKoX1OnVcn6Zudcx" data-callback="onSubmit"></div>
<br>
<div>
<button class="btn btn-fixed btn-outline-primary g-recaptcha" data-sitekey="6LfLWAMqAAAAADUT1PdwTlvpkKoX1OnVcn6Zudcx" data-callback="onSubmit">Subscribe</button>
</div>
</div>
</div>
</tbody>
</table>
</div>
<input type="hidden" name="zc_trackCode" id="zc_trackCode" value="ZCFORMVIEW">
<input type="hidden" name="viewFrom" id="viewFrom" value="URL_ACTION">
<input type="hidden" name="submitType" value="optinCustomView">
<input type="hidden" name="lD" value="112123bce6a87486f">
<input type="hidden" name="zx" id="cmpZuid" value="13218bf6c">
<input type="hidden" name="zcvers" value="3.0">
<input type="hidden" name="mode" value="OptinCreateView">
<input type="hidden" name="zcld" value="112123bce6a87486f">
<input type="hidden" name="zctd" value="112123bce6a8747a9">
<input type="hidden" name="zc_formIx" value="3z791cc136c2b7c862f274c028d64a7a99807952474c7b166958eb0046cce6ccfe">
</div>
<form method="POST" id="zcampaignOptinForm" style="margin:0px;" action="https://zcsub-cmpzourl.maillist-manage.com/weboptin.zc" target="_zcSignup">
<div id="SIGNUP_BODY_ALL" name="SIGNUP_BODY_ALL">
<input style="width: 97%;padding: 2px; font-family: Arial; box-sizing: border-box; font-size: 12px; text-indent: 5px; height: 28px;" maxlength="100" placeholder="Contact Email" name="CONTACT_EMAIL" changeitem="SIGNUP_FORM_FIELD" type="email">&nbsp;
<p> </p>
<img src="//campaigns.zoho.com/images/refresh_icon.png" style="cursor: pointer;float:right;margin-right:4px" onclick="loadCaptcha('https://campaigns.zoho.com/campaigns/CaptchaVerify.zc?mode=generate',this,'#sf3zd339a7fedeb3703b3bec0e15e52df080eb6551620d2bcd01ab8407ee0f098a24');" id="relCaptcha">
<p> </p>
<div id="captchaDiv" captcha="true" name="" style="width: 97%; padding: 20px; border: 1px solid rgb(222, 222, 222); box-sizing: border-box;"></div>
<input placeholder="Captcha" id="captchaText" name="captchaText" changeitem="SIGNUP_FORM_FIELD" style="margin-top: 5px; width: 97%; padding: 2px; font-family: Arial; box-sizing: border-box; font-size: 12px; text-indent: 5px; height: 28px;" maxlength="100" type="text">
<input type="hidden" id="secretid" value="6LdNeDUUAAAAAG5l7cJfv1AA5OKLslkrOa_xXxLs"><!-- Captcha for Signup End--><!-- Other Lists Subscription Start-->
<div style="margin-top:10px; clear:both;"></div>
<div style="padding:10px; text-align:center;">
<button class="btn btn-fixed btn-outline-primary g-recaptcha" data-callback="onSubmit" >Subscribe</button>
<input type="hidden" id="fieldBorder" value="">
<input type="hidden" name="zc_trackCode" id="zc_trackCode" value="ZCFORMVIEW" onload="">
<input type="hidden" name="viewFrom" id="viewFrom" value="URL_ACTION">
<input type="hidden" id="submitType" name="submitType" value="optinCustomView">
<input type="hidden" id="lD" name="lD" value="112123bce6a87486f">
<input type="hidden" name="emailReportId" id="emailReportId" value="">
<input type="hidden" name="zx" id="cmpZuid" value="13218bf6c">
<input type="hidden" name="zcvers" value="3.0">
<input type="hidden" name="oldListIds" id="allCheckedListIds" value="">
<input type="hidden" id="mode" name="mode" value="OptinCreateView">
<input type="hidden" id="zcld" name="zcld" value="112123bce6a87486f">
<input type="hidden" id="zctd" name="zctd" value="112123bce6a8747a9">
<input type="hidden" id="document_domain" value="">
<input type="hidden" id="zc_Url" value="zcsub-cmpzourl.maillist-manage.com">
<input type="hidden" id="new_optin_response_in" value="0">
<input type="hidden" id="duplicate_optin_response_in" value="0">
<input type="hidden" id="zc_formIx" name="zc_formIx" value="3zd339a7fedeb3703b3bec0e15e52df080eb6551620d2bcd01ab8407ee0f098a24"><!-- End of the campaigns hidden tags --></div>
</form>
</div>
</form>
<div>
<input type="hidden" id="isCaptchaNeeded" value="true">
<input type="hidden" id="superAdminCap" value="0">
</div>
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit a38b150

Please sign in to comment.