| 1 |
<?php do_action( 'uwp_template_before', 'register' ); |
| 2 |
$css_class = ! empty( $args['css_class'] ) ? esc_attr( $args['css_class'] ) : ''; |
| 3 |
$form_title = ! empty( $args['form_title'] ) ? esc_attr__( $args['form_title'], 'userswp' ) : __( 'Register', 'userswp' ); |
| 4 |
$form_title = apply_filters( 'uwp_template_form_title', $form_title, 'register' ); |
| 5 |
?> |
| 6 |
<div class="uwp-content-wrap <?php echo esc_attr( $css_class ); ?>"> |
| 7 |
<div class="uwp-registration"> |
| 8 |
<div class="uwp-rf-icon"><i class="fas fa-pencil-alt fa-fw"></i></div> |
| 9 |
<?php do_action( 'uwp_template_form_title_before', 'register' ); ?> |
| 10 |
<h2><?php |
| 11 |
echo apply_filters( 'uwp_template_form_title', $form_title, 'register' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped |
| 12 |
?> |
| 13 |
</h2> |
| 14 |
<?php do_action( 'uwp_template_display_notices', 'register' ); ?> |
| 15 |
<form class="uwp-registration-form uwp_form" method="post" enctype="multipart/form-data"> |
| 16 |
<?php do_action( 'uwp_template_fields', 'register', $args ); ?> |
| 17 |
<input name="uwp_register_submit" value="<?php esc_attr_e( 'Create Account', 'userswp' ); ?>" type="submit"> |
| 18 |
</form> |
| 19 |
<div class="uwp-footer-link uwp-login-now"><?php esc_html_e( 'Already a member?', 'userswp' ); ?> <a |
| 20 |
rel="nofollow" |
| 21 |
href="<?php echo esc_url( uwp_get_login_page_url() ); ?>"><?php echo uwp_get_option("login_link_title") ? esc_html( uwp_get_option("login_link_title") ) : esc_html__( 'Login here', 'userswp' ); ?></a> |
| 22 |
</div> |
| 23 |
<?php do_action( 'uwp_social_fields', 'register', $args ); ?> |
| 24 |
</div> |
| 25 |
</div> |
| 26 |
<?php do_action( 'uwp_template_after', 'register' ); ?> |