Edit File by line
/home/barbar84/www/wp-conte.../plugins/minioran.../views/account
File: verify.php
<?php
[0] Fix | Delete
[1] Fix | Delete
echo' <div class="mo_wpns_table_layout">
[2] Fix | Delete
<div id="panel2">
[3] Fix | Delete
<table class="mo_wpns_settings_table">
[4] Fix | Delete
<!-- Enter otp -->
[5] Fix | Delete
<form name="f" method="post" id="wpns_form" action="">
[6] Fix | Delete
<input type="hidden" name="option" value="mo_wpns_validate_otp" />
[7] Fix | Delete
<h3>Verify Your Email</h3>
[8] Fix | Delete
<tr>
[9] Fix | Delete
<td><b><font color="#FF0000">*</font>Enter OTP:</b></td>
[10] Fix | Delete
<td colspan="2"><input class="mo_wpns_table_textbox" autofocus="true" type="text" name="otp_token" required placeholder="Enter OTP" style="width:61%;" pattern="{6,8}"/>
[11] Fix | Delete
&nbsp;&nbsp;<a style="cursor:pointer;" onclick="document.getElementById(\'resend_otp_form\').submit();">Resend OTP over Email</a></td>
[12] Fix | Delete
</tr>
[13] Fix | Delete
<tr><td colspan="3"></td></tr>
[14] Fix | Delete
<tr><td></td><td>
[15] Fix | Delete
<a style="cursor:pointer;" onclick="document.getElementById(\'mo_wpns_cancel_form\').submit();"><input type="button" value="Back" id="back_btn" class="button button-primary button-large" /></a>
[16] Fix | Delete
<input type="submit" value="Validate OTP" class="button button-primary button-large" />
[17] Fix | Delete
</td>
[18] Fix | Delete
</form>
[19] Fix | Delete
<td>
[20] Fix | Delete
<form method="post" action="" id="mo_wpns_cancel_form">
[21] Fix | Delete
<input type="hidden" name="option" value="mo_wpns_cancel" />
[22] Fix | Delete
</form>
[23] Fix | Delete
</td>
[24] Fix | Delete
</tr>
[25] Fix | Delete
<form name="f" id="resend_otp_form" method="post" action="">
[26] Fix | Delete
<td>
[27] Fix | Delete
<input type="hidden" name="option" value="mo_wpns_resend_otp"/>
[28] Fix | Delete
</td>
[29] Fix | Delete
</tr>
[30] Fix | Delete
</form>
[31] Fix | Delete
</table>
[32] Fix | Delete
<br>
[33] Fix | Delete
<hr>
[34] Fix | Delete
[35] Fix | Delete
<h3>I did not recieve any email with OTP . What should I do ?</h3>
[36] Fix | Delete
<form id="phone_verification" method="post" action="">
[37] Fix | Delete
<input type="hidden" name="option" value="mo_wpns_phone_verification" />
[38] Fix | Delete
If you can\'t see the email from miniOrange in your mails, please check your <b>SPAM Folder</b>. If you don\'t see an email even in SPAM folder, verify your identity with our alternate method.
[39] Fix | Delete
<br><br>
[40] Fix | Delete
<b>Enter your valid phone number here and verify your identity using one time passcode sent to your phone.</b><br><br><input class="mo_wpns_table_textbox" required="true" pattern="[\+]\d{1,3}\d{10}" autofocus="true" type="text" name="phone_number" id="phone" placeholder="Enter Phone Number" style="width:40%;" value="'.esc_attr($admin_phone).'" title="Enter phone number without any space or dashes."/>
[41] Fix | Delete
<br><input type="submit" value="Send OTP" class="button button-primary button-large" />
[42] Fix | Delete
[43] Fix | Delete
</form>
[44] Fix | Delete
</div>
[45] Fix | Delete
</div>
[46] Fix | Delete
<script>
[47] Fix | Delete
jQuery(document).ready(function(){
[48] Fix | Delete
$("#phone").intlTelInput();
[49] Fix | Delete
$("#back_btn").click(function(){
[50] Fix | Delete
$("#mo_wpns_cancel_form").submit();
[51] Fix | Delete
});
[52] Fix | Delete
});
[53] Fix | Delete
</script>';
[54] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function