defined('ABSPATH') || die();
$isPRO = NextendSocialLoginAdmin::isPro();
$settings = NextendSocialLogin::$settings;
NextendSocialLoginAdmin::showProBox();
<table class="form-table">
<th scope="row"><?php _e('Button style', 'nextend-facebook-connect'); ?></th>
<input type="radio" name="woocoommerce_form_button_style"
value="default" <?php if ($settings->get('woocoommerce_form_button_style') == 'default') : ?> checked="checked" <?php endif; ?><?php echo $attr; ?>>
<span><?php _e('Default', 'nextend-facebook-connect'); ?></span><br/>
<img src="<?php echo plugins_url('images/buttons/default.png', NSL_ADMIN_PATH) ?>"/>
<input type="radio" name="woocoommerce_form_button_style"
value="icon" <?php if ($settings->get('woocoommerce_form_button_style') == 'icon') : ?> checked="checked" <?php endif; ?><?php echo $attr; ?>>
<span><?php _e('Icon', 'nextend-facebook-connect'); ?></span><br/>
<img src="<?php echo plugins_url('images/buttons/icon.png', NSL_ADMIN_PATH) ?>"/>
<th scope="row"><?php _e('Login form', 'nextend-facebook-connect'); ?></th>
<label><input type="radio" name="woocommerce_login"
value="" <?php if ($settings->get('woocommerce_login') == '') : ?> checked="checked" <?php endif; ?><?php echo $attr; ?>>
<span><?php _e('No Connect button in login form', 'nextend-facebook-connect'); ?></span></label><br>
<label><input type="radio" name="woocommerce_login"
value="before" <?php if ($settings->get('woocommerce_login') == 'before') : ?> checked="checked" <?php endif; ?><?php echo $attr; ?>>
<span><?php _e('Connect button on', 'nextend-facebook-connect'); ?></span>
<code><?php _e('Action:'); ?>
woocommerce_login_form_start</code></label><br>
<label><input type="radio" name="woocommerce_login"
value="after" <?php if ($settings->get('woocommerce_login') == 'after') : ?> checked="checked" <?php endif; ?><?php echo $attr; ?>>
<span><?php _e('Connect button on', 'nextend-facebook-connect'); ?></span>
<code><?php _e('Action:'); ?>
woocommerce_login_form_end</code></label><br>
<th scope="row"><?php _e('Login layout', 'nextend-facebook-connect'); ?></th>
<input type="radio" name="woocommerce_login_form_layout"
value="default" <?php if ($settings->get('woocommerce_login_form_layout') == 'default') : ?> checked="checked" <?php endif; ?><?php echo $attr; ?>>
<span><?php _e('Default', 'nextend-facebook-connect'); ?></span><br/>
<img src="<?php echo plugins_url('images/layouts/default.png', NSL_ADMIN_PATH) ?>"/>
<input type="radio" name="woocommerce_login_form_layout"
value="below" <?php if ($settings->get('woocommerce_login_form_layout') == 'below') : ?> checked="checked" <?php endif; ?><?php echo $attr; ?>>
<span><?php _e('Below', 'nextend-facebook-connect'); ?></span><br/>
<img src="<?php echo plugins_url('images/layouts/below.png', NSL_ADMIN_PATH) ?>"/>
<input type="radio" name="woocommerce_login_form_layout"
value="below-separator" <?php if ($settings->get('woocommerce_login_form_layout') == 'below-separator') : ?> checked="checked" <?php endif; ?><?php echo $attr; ?>>
<span><?php _e('Below with separator', 'nextend-facebook-connect'); ?></span><br/>
<img src="<?php echo plugins_url('images/layouts/below-separator.png', NSL_ADMIN_PATH) ?>"/>
<input type="radio" name="woocommerce_login_form_layout"
value="above" <?php if ($settings->get('woocommerce_login_form_layout') == 'above') : ?> checked="checked" <?php endif; ?><?php echo $attr; ?>>
<span><?php _e('Above', 'nextend-facebook-connect'); ?></span><br/>
<img src="<?php echo plugins_url('images/layouts/above.png', NSL_ADMIN_PATH) ?>"/>
<input type="radio" name="woocommerce_login_form_layout"
value="above-separator" <?php if ($settings->get('woocommerce_login_form_layout') == 'above-separator') : ?> checked="checked" <?php endif; ?><?php echo $attr; ?>>
<span><?php _e('Above with separator', 'nextend-facebook-connect'); ?></span><br/>
<img src="<?php echo plugins_url('images/layouts/above-separator.png', NSL_ADMIN_PATH) ?>"/>