Edit File by line
/home/barbar84/www/wp-conte.../plugins/minioran.../views/account
File: register.php
<?php
[0] Fix | Delete
[1] Fix | Delete
echo'<!--Register with miniOrange-->
[2] Fix | Delete
<form name="f" method="post" action="" class="mo_register" hidden>
[3] Fix | Delete
<input type="hidden" name="option" value="mo_wpns_register_customer" />
[4] Fix | Delete
<div class="mo_wpns_divided_layout">
[5] Fix | Delete
<div class="mo_wpns_setting_layout">
[6] Fix | Delete
<h3>Register with miniOrange</h3>
[7] Fix | Delete
<p>Just complete the short registration below to configure Malware Protection plugin. Please enter a valid email id that you have access to. You will be able to move forward after verifying an OTP that we will send to this email.</p>
[8] Fix | Delete
<table class="mo_wpns_settings_table">
[9] Fix | Delete
<tr>
[10] Fix | Delete
<td><b><font color="#FF0000">*</font>Email:</b></td>
[11] Fix | Delete
<td><input class="mo_wpns_table_textbox" type="email" name="email"
[12] Fix | Delete
required placeholder="person@example.com"
[13] Fix | Delete
value="'.esc_attr($current_user->user_email).'" /></td>
[14] Fix | Delete
</tr>
[15] Fix | Delete
<tr>
[16] Fix | Delete
<td><b><font color="#FF0000">*</font>Password:</b></td>
[17] Fix | Delete
<td><input class="mo_wpns_table_textbox" required type="password"
[18] Fix | Delete
name="password" placeholder="Choose your password (Min. length 6)" /></td>
[19] Fix | Delete
</tr>
[20] Fix | Delete
<tr>
[21] Fix | Delete
<td><b><font color="#FF0000">*</font>Confirm Password:</b></td>
[22] Fix | Delete
<td><input class="mo_wpns_table_textbox" required type="password"
[23] Fix | Delete
name="confirmPassword" placeholder="Confirm your password" /></td>
[24] Fix | Delete
</tr>
[25] Fix | Delete
<tr>
[26] Fix | Delete
<td>&nbsp;</td>
[27] Fix | Delete
<td><br />
[28] Fix | Delete
<input type="submit" name="submit" value="Register" style="width:100px;" class="button button-primary button-large" />
[29] Fix | Delete
<a style="text-decoration:underline; margin-left:5px; width:100px;" class="mo_toggle" >Already have account? Login here</a>
[30] Fix | Delete
</td>
[31] Fix | Delete
[32] Fix | Delete
</tr>
[33] Fix | Delete
</table>
[34] Fix | Delete
</div>
[35] Fix | Delete
</div>
[36] Fix | Delete
</form>';
[37] Fix | Delete
[38] Fix | Delete
[39] Fix | Delete
echo' <form name="f" method="post" action="" class="mo_login">
[40] Fix | Delete
<input type="hidden" name="option" value="mo_wpns_verify_customer" />
[41] Fix | Delete
<div class="mo_wpns_divided_layout">
[42] Fix | Delete
<div class="mo_wpns_setting_layout">
[43] Fix | Delete
<h3>Login with miniOrange</h3>
[44] Fix | Delete
<p><b>It seems you already have an account with miniOrange. Please enter your miniOrange email and password.</td><a target="_blank" href="https://login.xecurify.com/moas/idp/resetpassword"> Click here if you forgot your password?</a></b></p>
[45] Fix | Delete
<table class="mo_wpns_settings_table">
[46] Fix | Delete
<tr>
[47] Fix | Delete
<td><b><font color="#FF0000">*</font>Email:</b></td>
[48] Fix | Delete
<td><input class="mo_wpns_table_textbox" type="email" name="email"
[49] Fix | Delete
required placeholder="person@example.com"
[50] Fix | Delete
value="'.esc_html($admin_email).'" /></td>
[51] Fix | Delete
</tr>
[52] Fix | Delete
<tr>
[53] Fix | Delete
<td><b><font color="#FF0000">*</font>Password:</b></td>
[54] Fix | Delete
<td><input class="mo_wpns_table_textbox" required type="password"
[55] Fix | Delete
name="password" placeholder="Enter your miniOrange password" /></td>
[56] Fix | Delete
</tr>
[57] Fix | Delete
<tr>
[58] Fix | Delete
<td>&nbsp;</td>
[59] Fix | Delete
<td>
[60] Fix | Delete
<input type="submit" value="Login" class="button button-primary button-large"/>
[61] Fix | Delete
<a style="text-decoration:underline; margin-left:5px; width:100px;" class="mo_toggle" >New user ? Register here </a>
[62] Fix | Delete
</td>
[63] Fix | Delete
</tr>
[64] Fix | Delete
</table>
[65] Fix | Delete
</div>
[66] Fix | Delete
</div>
[67] Fix | Delete
</form>
[68] Fix | Delete
?>
[69] Fix | Delete
[70] Fix | Delete
<script>
[71] Fix | Delete
jQuery(document).ready(function(){
[72] Fix | Delete
jQuery(".mo_toggle").click(()=>{
[73] Fix | Delete
jQuery(".mo_register").toggle();
[74] Fix | Delete
jQuery(".mo_login").toggle();
[75] Fix | Delete
});
[76] Fix | Delete
[77] Fix | Delete
jQuery("#mo_wpns_forgot_password_link").click(function(){
[78] Fix | Delete
alert("Hello");
[79] Fix | Delete
jQuery("#forgot_password_form").submit();
[80] Fix | Delete
});
[81] Fix | Delete
});
[82] Fix | Delete
</script>';
[83] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function