Skip to content

Commit

Permalink
Add vendor header, PFWMA-131
Browse files Browse the repository at this point in the history
  • Loading branch information
kcppdevelopers committed Jun 6, 2020
1 parent 3ebd4e1 commit 2c06f8a
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,14 @@ public function angelleye_multi_account_settings_fields() {
</fieldset>
</td>
</tr>
</table>
<?php if (function_exists('dokan') ) {
echo '<h2>' . __('Dokan Settings', 'paypal-for-woocommerce-multi-account-management') . '</h2>';
} elseif(class_exists('WCV_Vendors')) {
echo '<h2>' . __('WC Vendors Settings', 'paypal-for-woocommerce-multi-account-management') . '</h2>';
}
?>
<table class="form-table">
<?php if (function_exists('dokan') || class_exists('WCV_Vendors')) { ?>
<tr class="angelleye_multi_account_paypal_express_field" valign="top">
<th scope="row" class="titledesc">
Expand All @@ -574,7 +582,7 @@ public function angelleye_multi_account_settings_fields() {
<td class="forminp">
<fieldset>
<label for="global_automatic_rule_creation_enable">
<input class="global_automatic_rule_creation_enable" name="global_automatic_rule_creation_enable" id="global_automatic_rule_creation_enable" type="checkbox" <?php echo ($global_automatic_rule_creation_enable == 'on') ? 'checked' : '' ?> ><?php echo __('Enable Automatic Rule Creation', ''); ?> </label><br>
<input class="global_automatic_rule_creation_enable" name="global_automatic_rule_creation_enable" id="global_automatic_rule_creation_enable" type="checkbox" <?php echo ($global_automatic_rule_creation_enable == 'on') ? 'checked' : '' ?> ><?php echo __('Enable Automatic Rule Creation', 'paypal-for-woocommerce-multi-account-management'); ?> </label><br>
</fieldset>
</td>
</tr>
Expand All @@ -585,7 +593,7 @@ public function angelleye_multi_account_settings_fields() {
<td class="forminp">
<fieldset>
<label for="global_automatic_rule_creation_testmode">
<input class="global_automatic_rule_creation_testmode" name="global_automatic_rule_creation_testmode" id="global_automatic_rule_creation_testmode" type="checkbox" <?php echo ($global_automatic_rule_creation_testmode == 'on') ? 'checked' : '' ?> ><?php echo __('Enable PayPal Sandbox for Automatic Rule Creation', ''); ?></label><br>
<input class="global_automatic_rule_creation_testmode" name="global_automatic_rule_creation_testmode" id="global_automatic_rule_creation_testmode" type="checkbox" <?php echo ($global_automatic_rule_creation_testmode == 'on') ? 'checked' : '' ?> ><?php echo __('Enable PayPal Sandbox for Automatic Rule Creation', 'paypal-for-woocommerce-multi-account-management'); ?></label><br>
</fieldset>
</td>
</tr>
Expand Down

0 comments on commit 2c06f8a

Please sign in to comment.