• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
    • Help
      • Online help
      • Learn Git
      • Welcome to Bitbucket
      • Keyboard shortcuts
    • Log In
    Blackrock
    1. Blackrock

    main

    Public
    Actions
    • Clone

    Learn more about cloning repositories

    You have read-only access

    Navigation
    • Source
    • Commits
    • Branches
    • All Branches Graph
    • Graphs
    • Forks
    1. Blackrock
    2. main

    Source

    main/wp-content/plugins/nextend-facebook-connect/admin/templates/settings/woocommerce.php
    Артем ШиряевАртем Ширяев committed 554847ddcb906 Apr 2021
    Raw file
    Source viewDiff to previous
                <p class="description"><?php printf(__('Defines whether the registration with %1$s will send the same registration notification that %2$s does, instead of the %3$s default one.', 'nextend-facebook-connect'), '<b>Nextend Social Login</b>', '<b>WooCommerce</b>', '<b>WordPress</b>'); ?></p>
     
    1
    <?php
    2
    defined('ABSPATH') || die();
    3
    ​
    4
    $isPRO = NextendSocialLoginAdmin::isPro();
    5
    ​
    6
    $attr = '';
    7
    if (!$isPRO) {
    8
        $attr = ' disabled ';
    9
    }
    10
    ​
    11
    $settings = NextendSocialLogin::$settings;
    12
    ​
    13
    NextendSocialLoginAdmin::showProBox();
    14
    ?>
    15
    <table class="form-table">
    16
        <tbody>
    17
        <tr>
    18
            <th scope="row"><?php _e('Button style', 'nextend-facebook-connect'); ?></th>
    19
            <td>
    20
                <fieldset>
    21
                    <label>
    22
                        <input type="radio" name="woocoommerce_form_button_style"
    23
                               value="default" <?php if ($settings->get('woocoommerce_form_button_style') == 'default') : ?> checked="checked" <?php endif; ?><?php echo $attr; ?>>
    24
                        <span><?php _e('Default', 'nextend-facebook-connect'); ?></span><br/>
    25
                        <img src="<?php echo plugins_url('images/buttons/default.png', NSL_ADMIN_PATH) ?>"/>
    26
                    </label>
    27
                    <label>
    28
                        <input type="radio" name="woocoommerce_form_button_style"
    29
                               value="icon" <?php if ($settings->get('woocoommerce_form_button_style') == 'icon') : ?> checked="checked" <?php endif; ?><?php echo $attr; ?>>
    30
                        <span><?php _e('Icon', 'nextend-facebook-connect'); ?></span><br/>
    31
                        <img src="<?php echo plugins_url('images/buttons/icon.png', NSL_ADMIN_PATH) ?>"/>
    32
                    </label><br>
    33
                </fieldset>
    34
            </td>
    35
        </tr>
    36
    ​
    37
        <tr>
    38
            <th scope="row"><?php _e('Login form', 'nextend-facebook-connect'); ?></th>
    39
            <td>
    40
                <fieldset>
    41
                    <label><input type="radio" name="woocommerce_login"
    42
                                  value="" <?php if ($settings->get('woocommerce_login') == '') : ?> checked="checked" <?php endif; ?><?php echo $attr; ?>>
    43
                        <span><?php _e('No Connect button in login form', 'nextend-facebook-connect'); ?></span></label><br>
    44
                    <label><input type="radio" name="woocommerce_login"
    45
                                  value="before" <?php if ($settings->get('woocommerce_login') == 'before') : ?> checked="checked" <?php endif; ?><?php echo $attr; ?>>
    46
                        <span><?php _e('Connect button on', 'nextend-facebook-connect'); ?></span>
    47
                        <code><?php _e('Action:'); ?>
    48
                            woocommerce_login_form_start</code></label><br>
    49
                    <label><input type="radio" name="woocommerce_login"
    50
                                  value="after" <?php if ($settings->get('woocommerce_login') == 'after') : ?> checked="checked" <?php endif; ?><?php echo $attr; ?>>
    51
                        <span><?php _e('Connect button on', 'nextend-facebook-connect'); ?></span>
    52
                        <code><?php _e('Action:'); ?>
    53
                            woocommerce_login_form_end</code></label><br>
    54
                </fieldset>
    55
            </td>
    56
        </tr>
    57
        <tr>
    58
            <th scope="row"><?php _e('Login layout', 'nextend-facebook-connect'); ?></th>
    59
            <td>
    60
                <fieldset>
    61
                    <label>
    62
                        <input type="radio" name="woocommerce_login_form_layout"
    63
                               value="default" <?php if ($settings->get('woocommerce_login_form_layout') == 'default') : ?> checked="checked" <?php endif; ?><?php echo $attr; ?>>
    64
                        <span><?php _e('Default', 'nextend-facebook-connect'); ?></span><br/>
    65
                        <img src="<?php echo plugins_url('images/layouts/default.png', NSL_ADMIN_PATH) ?>"/>
    66
                    </label>
    67
                    <label>
    68
                        <input type="radio" name="woocommerce_login_form_layout"
    69
                               value="below" <?php if ($settings->get('woocommerce_login_form_layout') == 'below') : ?> checked="checked" <?php endif; ?><?php echo $attr; ?>>
    70
                        <span><?php _e('Below', 'nextend-facebook-connect'); ?></span><br/>
    71
                        <img src="<?php echo plugins_url('images/layouts/below.png', NSL_ADMIN_PATH) ?>"/>
    72
                    </label>
    73
                    <label>
    74
                        <input type="radio" name="woocommerce_login_form_layout"
    75
                               value="below-separator" <?php if ($settings->get('woocommerce_login_form_layout') == 'below-separator') : ?> checked="checked" <?php endif; ?><?php echo $attr; ?>>
    76
                        <span><?php _e('Below with separator', 'nextend-facebook-connect'); ?></span><br/>
    77
                        <img src="<?php echo plugins_url('images/layouts/below-separator.png', NSL_ADMIN_PATH) ?>"/>
    78
                    </label>
    79
                    <label>
    80
                        <input type="radio" name="woocommerce_login_form_layout"
    81
                               value="above" <?php if ($settings->get('woocommerce_login_form_layout') == 'above') : ?> checked="checked" <?php endif; ?><?php echo $attr; ?>>
    82
                        <span><?php _e('Above', 'nextend-facebook-connect'); ?></span><br/>
    83
                        <img src="<?php echo plugins_url('images/layouts/above.png', NSL_ADMIN_PATH) ?>"/>
    84
                    </label>
    85
                    <label>
    86
                        <input type="radio" name="woocommerce_login_form_layout"
    87
                               value="above-separator" <?php if ($settings->get('woocommerce_login_form_layout') == 'above-separator') : ?> checked="checked" <?php endif; ?><?php echo $attr; ?>>
    88
                        <span><?php _e('Above with separator', 'nextend-facebook-connect'); ?></span><br/>
    89
                        <img src="<?php echo plugins_url('images/layouts/above-separator.png', NSL_ADMIN_PATH) ?>"/>
    90
                    </label><br>
    91
                </fieldset>
    92
            </td>
    • Git repository management for enterprise teams powered by Atlassian Bitbucket
    • Atlassian Bitbucket v5.10.1
    • Documentation
    • Contact Support
    • Request a feature
    • About
    • Contact Atlassian
    Atlassian

    Everything looks good. Well let you know here if theres anything you should know about.