|
@@ 679-691 (lines=13) @@
|
| 676 |
|
break; |
| 677 |
|
|
| 678 |
|
// Custom: Default gateways setting field. |
| 679 |
|
case 'default_gateway' : |
| 680 |
|
$option_value = self::get_option( $option_name, $value['id'], $value['default'] ); |
| 681 |
|
?> |
| 682 |
|
<tr valign="top" <?php echo ! empty( $value['wrapper_class'] ) ? 'class="' . $value['wrapper_class'] . '"' : '' ?>> |
| 683 |
|
<th scope="row" class="titledesc"> |
| 684 |
|
<label for="<?php echo esc_attr( $value['id'] ); ?>"><?php echo self::get_field_title( $value ); ?></label> |
| 685 |
|
</th> |
| 686 |
|
<td class="give-forminp"> |
| 687 |
|
<?php give_default_gateway_callback( $value, $option_value ); ?> |
| 688 |
|
<?php echo $description; ?> |
| 689 |
|
</td> |
| 690 |
|
</tr><?php |
| 691 |
|
break; |
| 692 |
|
|
| 693 |
|
// Custom: Enable gateways setting field. |
| 694 |
|
case 'enabled_gateways' : |
|
@@ 694-706 (lines=13) @@
|
| 691 |
|
break; |
| 692 |
|
|
| 693 |
|
// Custom: Enable gateways setting field. |
| 694 |
|
case 'enabled_gateways' : |
| 695 |
|
$option_value = self::get_option( $option_name, $value['id'], $value['default'] ); |
| 696 |
|
?> |
| 697 |
|
<tr valign="top" <?php echo ! empty( $value['wrapper_class'] ) ? 'class="' . $value['wrapper_class'] . '"' : '' ?>> |
| 698 |
|
<th scope="row" class="titledesc"> |
| 699 |
|
<label for="<?php echo esc_attr( $value['id'] ); ?>"><?php echo self::get_field_title( $value ); ?></label> |
| 700 |
|
</th> |
| 701 |
|
<td class="give-forminp"> |
| 702 |
|
<?php give_enabled_gateways_callback( $value, $option_value ); ?> |
| 703 |
|
<?php echo $description; ?> |
| 704 |
|
</td> |
| 705 |
|
</tr><?php |
| 706 |
|
break; |
| 707 |
|
|
| 708 |
|
// Custom: Email preview buttons field. |
| 709 |
|
case 'email_preview_buttons' : |