class-mo-firebase-authentication-faq.php
6 years ago
class-mo-firebase-authentication-support.php
6 years ago
class-mo-firebase-authentication-support.php
44 lines
| 1 | <?php |
| 2 | |
| 3 | class Mo_Firebase_Authentication_Admin_Support { |
| 4 | |
| 5 | public static function mo_firebase_authentication_support(){ |
| 6 | ?> |
| 7 | <div class="col-md-12"> |
| 8 | <div class="mo_firebase_auth_card" style="width:90%" > |
| 9 | <h4 style="margin-bottom:10px">Contact us</h4> |
| 10 | <p class="mo_firebase_auth_contact_us_p"><b>Need any help?<br>Just send us a query so we can help you.</b></p> |
| 11 | <form action="" method="POST"> |
| 12 | <?php wp_nonce_field('mo_firebase_auth_contact_us_form','mo_firebase_auth_contact_us_field'); ?> |
| 13 | <input type="hidden" name="option" value="mo_firebase_auth_contact_us"> |
| 14 | <div class="form-group"> |
| 15 | <input style="width:90%;" type="email" placeholder="Enter email here" class="form-control" name="mo_firebase_auth_contact_us_email" id="mo_firebase_auth_contact_us_email" required> |
| 16 | </div> |
| 17 | <div class="form-group"> |
| 18 | <input style="width:90%;" type="tel" id="mo_firebase_auth_contact_us_phone" pattern="[\+]\d{11,14}|[\+]\d{1,4}[\s]\d{9,10}" placeholder="Enter phone here" class="form-control" name="mo_firebase_auth_contact_us_phone"> |
| 19 | </div> |
| 20 | <div class="form-group"> |
| 21 | <textarea class="form-control" onkeypress="mo_firebase_auth_contact_us_valid_query(this)" onkeyup="mo_firebase_auth_contact_us_valid_query(this)" onblur="mo_firebase_auth_contact_us_valid_query(this)" name="mo_firebase_auth_contact_us_query" placeholder="Enter query here" rows="5" id="mo_firebase_auth_contact_us_query" required></textarea> |
| 22 | </div> |
| 23 | <input type="submit" class="btn btn-primary" style="width:130px;height:40px" value="Submit"> |
| 24 | </form> |
| 25 | <br> |
| 26 | <p class="mo_firebase_auth_contact_us_p"><b>If you want custom features in the plugin, just drop an email at<br><a href="mailto:info@xecurify.com">info@xecurify.com</a></b></p> |
| 27 | </div> |
| 28 | </div> |
| 29 | </div> |
| 30 | </div> |
| 31 | |
| 32 | <script> |
| 33 | jQuery("#mo_firebase_auth_contact_us_phone").intlTelInput(); |
| 34 | function mo_firebase_auth_contact_us_valid_query(f) { |
| 35 | !(/^[a-zA-Z?,.\(\)\/@ 0-9]*$/).test(f.value) ? f.value = f.value.replace( |
| 36 | /[^a-zA-Z?,.\(\)\/@ 0-9]/, '') : null; |
| 37 | } |
| 38 | |
| 39 | </script> |
| 40 | <?php |
| 41 | } |
| 42 | |
| 43 | |
| 44 | } |