@@ -689,7 +689,7 @@ |
||
| 689 | 689 | "{$this->checkout_url}?edd_license_key={$subscription['license_key']}&utm_campaign=admin&utm_source=licenses&utm_medium=expired", |
| 690 | 690 | esc_url( add_query_arg( '_give_hide_license_notices_permanently', $subscription['id'], $_SERVER['REQUEST_URI'] ) ) |
| 691 | 691 | ); |
| 692 | - }else{ |
|
| 692 | + } else{ |
|
| 693 | 693 | $messages[$subscription['id']] = sprintf( |
| 694 | 694 | __( 'You Give addon license will expire in %s for payment <a href="%s" target="_blank">#%d</a>. <a href="%s" target="_blank">Click to renew an existing license</a> or <a href="%s">Click here if already renewed</a>.', 'give' ), |
| 695 | 695 | human_time_diff( current_time( 'timestamp', 1 ), strtotime( $subscription['expires'] ) ), |
@@ -1001,8 +1001,11 @@ discard block |
||
| 1001 | 1001 | } |
| 1002 | 1002 | ?> |
| 1003 | 1003 | </select> |
| 1004 | - <?php else : ?> |
|
| 1005 | - <input type="text" size="6" name="card_state" id="card_state" class="card_state give-input" placeholder="<?php esc_attr_e( 'State / Province', 'give' ); ?>"/> |
|
| 1004 | + <?php else { |
|
| 1005 | + : ?> |
|
| 1006 | + <input type="text" size="6" name="card_state" id="card_state" class="card_state give-input" placeholder="<?php esc_attr_e( 'State / Province', 'give' ); |
|
| 1007 | +} |
|
| 1008 | +?>"/> |
|
| 1006 | 1009 | <?php endif; ?> |
| 1007 | 1010 | </p> |
| 1008 | 1011 | <?php |
@@ -1288,7 +1291,10 @@ discard block |
||
| 1288 | 1291 | do_action( 'give_payment_mode_top', $form_id ); |
| 1289 | 1292 | ?> |
| 1290 | 1293 | |
| 1291 | - <fieldset id="give-payment-mode-select" <?php if ( count($gateways) <= 1 ) echo 'style="display: none;"'; ?>> |
|
| 1294 | + <fieldset id="give-payment-mode-select" <?php if ( count($gateways) <= 1 ) { |
|
| 1295 | + echo 'style="display: none;"'; |
|
| 1296 | +} |
|
| 1297 | +?>> |
|
| 1292 | 1298 | <?php |
| 1293 | 1299 | /** |
| 1294 | 1300 | * Fires while selecting payment gateways, before the wrap div. |