@@ -106,11 +106,13 @@ discard block |
||
106 | 106 | //Print thank you message. |
107 | 107 | echo "<p class=\"give-from-thankyou-msg\">{$display_thankyou_message}</p>"; |
108 | 108 | ?> |
109 | - <?php else : ?> |
|
109 | + <?php else { |
|
110 | + : ?> |
|
110 | 111 | <?php |
111 | 112 | if ( isset( $args['show_title'] ) && $args['show_title'] == true ) { |
112 | 113 | |
113 | 114 | echo apply_filters( 'give_form_title', '<h2 class="give-form-title">' . get_the_title( $form_id ) . '</h2>' ); |
115 | +} |
|
114 | 116 | |
115 | 117 | } ?> |
116 | 118 | |
@@ -781,8 +783,11 @@ discard block |
||
781 | 783 | } |
782 | 784 | ?> |
783 | 785 | </select> |
784 | - <?php else : ?> |
|
785 | - <input type="text" size="6" name="card_state" id="card_state" class="card_state give-input" placeholder="<?php _e( 'State / Province', 'give' ); ?>"/> |
|
786 | + <?php else { |
|
787 | + : ?> |
|
788 | + <input type="text" size="6" name="card_state" id="card_state" class="card_state give-input" placeholder="<?php _e( 'State / Province', 'give' ); |
|
789 | +} |
|
790 | +?>"/> |
|
786 | 791 | <?php endif; ?> |
787 | 792 | </p> |
788 | 793 | <?php do_action( 'give_cc_billing_bottom' ); ?> |