-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage-cadastrar.php
41 lines (36 loc) · 1.61 KB
/
page-cadastrar.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php get_header(); ?>
<section id="cadastro" class="Page">
<div class="content u-xs-sizeFull">
<header class="header-padrao Page-header">
<svg class="Section-icon">
<use xlink:href="#icon-prancheta-ok" />
</svg>
<h2 class="Section--multiRow-title">Formulário de cadastro</h2>
</header>
<?php // wc_print_notices(); ?>
<?php do_action( 'woocommerce_before_customer_login_form' ); ?>
<form class="form-principal register Form Form--cadastrar u-xs-sizeFull" method="post" id="form-registeruser">
<input type="hidden" name="billing_country" value="BR">
<?php do_action( 'woocommerce_register_form_start' ); ?>
<!-- Spam Trap -->
<div style="<?php echo ( ( is_rtl() ) ? 'right' : 'left' ); ?>: -999em; position: absolute;"><label for="trap"><?php _e( 'Anti-spam', 'woocommerce' ); ?></label><input type="text" name="email_2" id="trap" tabindex="-1" /></div>
<?php do_action( 'woocommerce_register_form' ); ?>
<?php do_action( 'register_form' ); ?>
<fieldset>
<?php wp_nonce_field( 'woocommerce-register' ); ?>
<button class="u-xs-blockCenter" type="submit" name="register" value="1">
<span>Finalizar cadastro</span>
<svg>
<use xlink:href="#icon-aviao" />
</svg>
</button>
</fieldset>
<?php // $referer = isset( $_GET['referer'] ) ? $_GET['referer'] : $_SERVER['REQUEST_URI']; ?>
<!--<input type="hidden" name="referer" value="<?php // echo bloginfo( 'url' ) . $referer; ?>" />-->
<?php do_action( 'woocommerce_register_form_end' ); ?>
</form>
<?php do_action( 'woocommerce_after_customer_login_form' ); ?>
</div>
</section>
<?php
get_footer();