Changeset 4967 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/sponsor-payment/main.php
- Timestamp:
- 02/21/2017 12:03:58 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/sponsor-payment/main.php
r4156 r4967 8 8 <div id="content" class="wcorg-sponsor-payment" role="main"> 9 9 10 <h1 class="entry-title"> Sponsorship Payment</h1>10 <h1 class="entry-title"><?php esc_html_e( 'Sponsorship Payment', 'wordcamporg' ); ?></h1> 11 11 12 12 <?php if ( ! empty( $data['errors'] ) ) : ?> 13 13 <?php foreach ( $data['errors'] as $error ) : ?> 14 <p><strong> Error:</strong> <?php echo esc_html( $error ); ?></p>14 <p><strong><?php esc_html_e( 'Error:', 'wordcamporg' ); ?></strong> <?php echo esc_html( $error ); ?></p> 15 15 <?php endforeach; ?> 16 16 <?php endif; ?> … … 18 18 <?php if ( $data['step'] == STEP_SELECT_INVOICE ) : ?> 19 19 20 <p> Use this form to pay your WordCamp sponsorship fee to WordPress Community Support, PBC. If you did not receive an invoice ID yet, please get in touch with the event's Sponsorships Coordinator for more information.</p>20 <p><?php esc_html_e( 'Use this form to pay your WordCamp sponsorship fee to WordPress Community Support, PBC. If you did not receive an invoice ID yet, please get in touch with the event\'s Sponsorships Coordinator for more information.', 'wordcamporg' ); ?></p> 21 21 22 22 <form method="POST"> … … 24 24 <input type="hidden" name="sponsor_payment_submit" value="1" /> 25 25 26 <label> Event</label>26 <label><?php esc_html_e( 'Event', 'wordcamporg' ); ?></label> 27 27 <div class="control"> 28 28 <select name="wordcamp_id"> 29 <option value="" disabled selected> Select a WordCamp</option>29 <option value="" disabled selected><?php esc_html_e( 'Select a WordCamp', 'wordcamporg' ); ?></option> 30 30 <?php foreach ( $data['wordcamps'] as $wordcamp ) : ?> 31 31 <option value="<?php echo esc_attr( $wordcamp->ID ); ?>"><?php echo esc_html( $wordcamp->post_title ); ?></option> … … 34 34 </div> 35 35 36 <label> Invoice ID</label>36 <label><?php esc_html_e( 'Invoice ID', 'wordcamporg' ); ?></label> 37 37 <div class="control"> 38 38 <input type="text" name="invoice_id" /> 39 39 </div> 40 40 41 <label> Currency</label>41 <label><?php esc_html_e( 'Currency', 'wordcamporg' ); ?></label> 42 42 <div class="control"> 43 43 <select name="currency"> 44 <option value="" disabled selected> Select a Currency</option>44 <option value="" disabled selected><?php esc_html_e( 'Select a Currency', 'wordcamporg' ); ?></option> 45 45 <?php foreach ( $data['currencies'] as $currency_key => $currency_name ) : ?> 46 46 <option value="<?php echo esc_attr( $currency_key ); ?>"> … … 51 51 </div> 52 52 53 <label> Amount</label>53 <label><?php esc_html_e( 'Amount', 'wordcamporg' ); ?></label> 54 54 <div class="control"> 55 55 <input type="text" name="amount" /> … … 58 58 <div class="clear"></div> 59 59 60 <input type="submit" value=" Continue" />60 <input type="submit" value="<?php esc_attr_e( 'Continue', 'wordcamporg' ); ?>" /> 61 61 </form> 62 62 63 63 <?php elseif ( $data['step'] == STEP_PAYMENT_DETAILS ) : ?> 64 64 65 <p> Please review the details below and hit "Make a Payment" when you're ready.</p>65 <p><?php esc_html_e( 'Please review the details below and hit "Make a Payment" when you\'re ready.', 'wordcamporg' ); ?></p> 66 66 67 67 <table> 68 68 <tr> 69 <td> Invoice</td>69 <td><?php esc_html_e( 'Invoice', 'wordcamporg' ); ?></td> 70 70 <td><?php echo esc_html( $data['payment']['invoice_id'] ); ?></td> 71 71 </tr> 72 72 <tr> 73 <td> Event</td>73 <td><?php esc_html_e( 'Event', 'wordcamporg' ); ?></td> 74 74 <td><?php echo esc_html( $data['payment']['wordcamp_obj']->post_title ); ?></td> 75 75 </tr> 76 76 <tr> 77 <td> Currency</td>77 <td><?php esc_html_e( 'Currency', 'wordcamporg' ); ?></td> 78 78 <td><?php echo esc_html( $data['payment']['currency'] ); ?></td> 79 79 </tr> 80 80 <tr> 81 <td> Amount</td>81 <td><?php esc_html_e( 'Amount', 'wordcamporg' ); ?></td> 82 82 <td><?php echo number_format( round( $data['payment']['amount'], 2 ), 2, '.', ' ' ); ?></td> 83 83 </tr> … … 95 95 data-currency="<?php echo esc_attr( $data['payment']['currency'] ); ?>" 96 96 data-name="WordPress Community Support, PBC" 97 data-description=" Event Sponsorship Payment"97 data-description="<?php esc_attr_e( 'Event Sponsorship Payment', 'wordcamporg' ); ?>" 98 98 data-image="https://stripe.com/img/documentation/checkout/marketplace.png" 99 99 data-locale="auto" 100 data-panel-label=" Pay"101 data-label=" Make a Payment"100 data-panel-label="<?php esc_attr_e( 'Pay', 'wordcamporg' ); ?>" 101 data-label="<?php esc_attr_e( 'Make a Payment', 'wordcamporg' ); ?>" 102 102 data-zip-code="true"> 103 103 </script> … … 106 106 <?php elseif ( $data['step'] == STEP_PAYMENT_SUCCESS ) : ?> 107 107 108 <p><strong> Success!</strong> Your payment has been received, thank you!</p>108 <p><strong><?php esc_html_e( 'Success!', 'wordcamporg' ); ?></strong> <?php esc_html_e( 'Your payment has been received, thank you!', 'wordcamporg' ); ?></p> 109 109 110 110 <ul> 111 <li><a href="<?php echo esc_url( add_query_arg( 'again', 1 ) ); ?>"> Make another payment</a></li>112 <li><a href="<?php echo esc_url( home_url( '/' ) ); ?>"> Go back to Central</a></li>111 <li><a href="<?php echo esc_url( add_query_arg( 'again', 1 ) ); ?>"><?php esc_html_e( 'Make another payment', 'wordcamporg' ); ?></a></li> 112 <li><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php esc_html_e( 'Go back to Central', 'wordcamporg' ); ?></a></li> 113 113 </ul> 114 114
Note: See TracChangeset
for help on using the changeset viewer.