verify-password.php
60 lines
| 1 | <?php |
| 2 | |
| 3 | function mo_firebase_auth_verify_password_ui() { |
| 4 | ?> |
| 5 | <form name="f" method="post" action=""> |
| 6 | <input type="hidden" name="option" value="mo_firebase_authentication_verify_customer" /> |
| 7 | <div class="mo_firebase_auth_card" style="width:100%"> |
| 8 | <!-- <div id="toggle1" class="mo_panel_toggle"> --> |
| 9 | <h3>Login with miniOrange</h3> |
| 10 | <!-- </div> --> |
| 11 | <p style="font-size: 12px; font-weight: 550;">It seems you already have an account with miniOrange. Please enter your miniOrange email and password.<br/> <a href="#mo_firebase_authentication_forgot_password_link">Click here if you forgot your password?</a> |
| 12 | </p> |
| 13 | |
| 14 | <table class="mo_settings_table"> |
| 15 | <tr> |
| 16 | <td><strong><font color="#FF0000">*</font>Email:</strong></td> |
| 17 | <td><input class="mo_table_textbox3" type="email" name="email" |
| 18 | required placeholder="person@example.com" |
| 19 | value="<?php echo get_option('mo_firebase_authentication_admin_email');?>" /></td> |
| 20 | </tr> |
| 21 | <tr> |
| 22 | <td><strong><font color="#FF0000">*</font>Password:</strong></td> |
| 23 | <td><input class="mo_table_textbox3" required type="password" |
| 24 | name="password" placeholder="Choose your password" /></td> |
| 25 | </tr> |
| 26 | <tr> |
| 27 | <td> </td> |
| 28 | <td> </td> |
| 29 | </tr> |
| 30 | <tr> |
| 31 | <td> </td> |
| 32 | <td><input type="submit" name="submit" value="Login" |
| 33 | class="button button-primary button-large" /><input type="button" name="back-button" id="mo_firebase_authentication_back_button" onclick="document.getElementById('mo_firebase_authentication_change_email_form').submit();" value="Back" class="button button-primary button-large" style="margin-left: 20%;" /></td> |
| 34 | </tr> |
| 35 | </table> |
| 36 | <br> |
| 37 | <!-- <div style="margin-bottom: 20px;"> |
| 38 | <div style="width: 50%; margin:0 auto;"> |
| 39 | <input type="submit" name="submit" value="Login" |
| 40 | class="button button-primary button-large" /> |
| 41 | |
| 42 | <input type="button" name="back-button" id="mo_firebase_authentication_back_button" onclick="document.getElementById('mo_firebase_authentication_change_email_form').submit();" value="Back" class="button button-primary button-large" style="margin-left: 20%;" /></div></div> --> |
| 43 | </div> |
| 44 | </form> |
| 45 | |
| 46 | <form id="mo_firebase_authentication_change_email_form" method="post" action=""> |
| 47 | <input type="hidden" name="option" value="mo_firebase_authentication_change_email" /> |
| 48 | </form> |
| 49 | |
| 50 | <!-- <form name="f" method="post" action="" id="mo_firebase_authentication_forgotpassword_form"> |
| 51 | <input type="hidden" name="option" value="mo_firebase_authentication_forgot_password_form_option"/> |
| 52 | </form> --> |
| 53 | <script> |
| 54 | jQuery("a[href=\"#mo_firebase_authentication_forgot_password_link\"]").click(function(){ |
| 55 | window.open('https://login.xecurify.com/moas/idp/resetpassword'); |
| 56 | //jQuery("#mo_firebase_authentication_forgotpassword_form").submit(); |
| 57 | }); |
| 58 | </script> |
| 59 | <?php |
| 60 | } |