Esempio n. 1
0
        <p class="forgetmenot">
            <input name="rememberme" type="checkbox" id="wpuf-rememberme" value="forever" />
            <label for="wpuf-rememberme"><?php 
esc_attr_e('Remember Me');
?>
</label>
        </p>

        <p class="submit">
            <input type="submit" name="wp-submit" id="wp-submit" value="<?php 
esc_attr_e('Log In');
?>
" />
            <input type="hidden" name="redirect_to" value="<?php 
echo WPUF_Login::get_posted_value('redirect_to');
?>
" />
            <input type="hidden" name="wpuf_login" value="true" />
            <input type="hidden" name="action" value="login" />
            <?php 
wp_nonce_field('wpuf_login_action');
?>
        </p>
    </form>

    <?php 
echo WPUF_Login::init()->get_action_links(array('login' => false));
?>
</div>
Esempio n. 2
0
<?php

/*
If you would like to edit this file, copy it to your current theme's directory and edit it there.
WPUF will always look in your theme's directory first, before using this default template.
*/
?>
<div class="login" id="wpuf-login-form">

    <?php 
WPUF_Login::init()->show_errors();
?>
    <?php 
WPUF_Login::init()->show_messages();
?>

	<form name="resetpasswordform" id="resetpasswordform" action="" method="post">
		<p>
			<label for="wpuf-pass1"><?php 
_e('New password');
?>
</label>
			<input autocomplete="off" name="pass1" id="wpuf-pass1" class="input" size="20" value="" type="password" autocomplete="off" />
		</p>

		<p>
			<label for="wpuf-pass2"><?php 
_e('Confirm new password');
?>
</label>
			<input autocomplete="off" name="pass2" id="wpuf-pass2" class="input" size="20" value="" type="password" autocomplete="off" />
Esempio n. 3
0
 /**
  * Instantiate the classes
  *
  * @return void
  */
 function instantiate()
 {
     // var_dump( get_option( 'wpuf_payment' ) );
     new WPUF_Upload();
     new WPUF_Frontend_Form_Profile();
     new WPUF_Payment();
     WPUF_Frontend_Form_Post::init();
     // requires for form preview
     WPUF_Login::init();
     WPUF_Subscription::init();
     WPUF_Coupons::init();
     if (is_admin()) {
         WPUF_Admin_Settings::init();
         new WPUF_Admin_Form();
         new WPUF_Admin_Posting();
         new WPUF_Admin_Posting_Profile();
         new WPUF_Admin_Coupon();
         new WPUF_Updates();
         new WPUF_Admin_Subscription();
         new WPUF_Admin_Installer();
     } else {
         new WPUF_Frontend_Dashboard();
     }
 }
Esempio n. 4
0
 public function instantiate()
 {
     WPUF_Login::init();
     new WPUF_Frontend_Form_Profile();
     if (is_admin()) {
         new WPUF_Updates();
         new WPUF_Admin_Posting_Profile();
         new WPUF_Admin_Coupon();
         WPUF_Coupons::init();
     }
 }
Esempio n. 5
0
</label>
			<input type="text" name="user_login" id="wpuf-user_login" class="input" value="" size="20" />
		</p>

		<?php 
do_action('lostpassword_form');
?>

		<p class="submit">
			<input type="submit" name="wp-submit" id="wp-submit" value="<?php 
esc_attr_e('Get New Password');
?>
" />
			<input type="hidden" name="redirect_to" value="<?php 
echo WPUF_Login::get_posted_value('redirect_to');
?>
" />
			<input type="hidden" name="wpuf_reset_password" value="true" />
			<input type="hidden" name="action" value="lostpassword" />

			<?php 
wp_nonce_field('wpuf_lost_pass');
?>
		</p>
	</form>

	<?php 
echo WPUF_Login::init()->get_action_links(array('lostpassword' => false));
?>
</div>