Changeset 6067 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/payment-request/input-select.php
- Timestamp:
- 11/01/2017 04:33:47 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/payment-request/input-select.php
r4967 r6067 12 12 <?php __checked_selected_helper( $required, true, true, 'required' ); ?> 13 13 > 14 <option value="null-select-one"> 14 <option value=""> 15 <?php // translators: %s is a label in a dropdown. For example, "Select a currency", or "Select a category". ?> 15 16 <?php printf( esc_html__( '-- Select a %s --', 'wordcamporg' ), $label ); ?> 16 17 </option> 17 <option value=" null-separator1"></option>18 <option value=""></option> 18 19 19 20 <?php foreach ( $options as $value => $option_label ) : ?> 20 21 <option value="<?php echo esc_attr( $value ); ?>" <?php selected( $value, $selected ); ?>> 21 22 <?php echo esc_html( $option_label ); ?> 23 <?php if ( 'currency' === $name && $value ) : ?> 24 (<?php echo esc_html( $value ); ?>) 25 <?php endif; ?> 22 26 </option> 23 27 <?php endforeach; ?>
Note: See TracChangeset
for help on using the changeset viewer.