Changeset 6053 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-docs/templates/speaker-visa.php
- Timestamp:
- 10/25/2017 02:04:18 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-docs/templates/speaker-visa.php
r6036 r6053 6 6 public function form( $data ) { 7 7 $data = wp_parse_args( $data, array( 8 ' attendee_first_name'=> '',9 ' attendee_last_name'=> '',8 'speaker_first_name' => '', 9 'speaker_last_name' => '', 10 10 'country_of_residency' => '', 11 11 'passport_number' => '', … … 43 43 </style> 44 44 45 <h2> 46 <?php _e( 'Speaker Visa Letter', 'wordcamporg' ); ?> 47 </h2> 48 45 49 <div class="wcorg-docs-form"> 46 50 <label><?php _e( 'Speaker First Name:', 'wordcamporg' ); ?></label> 47 <input name=" attendee_first_name" value="<?php echo esc_attr( $data['attendee_first_name'] ); ?>" />51 <input name="speaker_first_name" value="<?php echo esc_attr( $data['speaker_first_name'] ); ?>" /> 48 52 49 53 <label><?php _e( 'Speaker Last Name:', 'wordcamporg' ); ?></label> 50 <input name=" attendee_last_name" value="<?php echo esc_attr( $data['attendee_last_name'] ); ?>" />54 <input name="speaker_last_name" value="<?php echo esc_attr( $data['speaker_last_name'] ); ?>" /> 51 55 52 56 <label><?php _e( 'Country of Residency:', 'wordcamporg' ); ?></label> … … 164 168 <p>To Whom It May Concern:</p> 165 169 166 <p>This letter is to confirm that <?php echo esc_html( $data[' attendee_first_name'] ); ?> <?php echo esc_html( $data['attendee_last_name'] ); ?>170 <p>This letter is to confirm that <?php echo esc_html( $data['speaker_first_name'] ); ?> <?php echo esc_html( $data['speaker_last_name'] ); ?> 167 171 <?php echo esc_html( $data['country_of_residency'] ); ?> passport number <?php echo esc_html( $data['passport_number'] ); ?>, 168 172 has been invited to speak at <?php echo esc_html( $data['wordcamp_name'] ); ?>, a community-organized event focusing on WordPress … … 172 176 volunteers. The mission of the WordPress open source project is to democratize publishing through Open Source, GPL software.</p> 173 177 174 <p>To fulfill speaking duties at <?php echo esc_html( $data['wordcamp_name'] ); ?>, <?php echo esc_html( $data[' attendee_first_name'] ); ?>178 <p>To fulfill speaking duties at <?php echo esc_html( $data['wordcamp_name'] ); ?>, <?php echo esc_html( $data['speaker_first_name'] ); ?> 175 179 will need to be in <?php echo esc_html( $data['wordcamp_location'] ); ?> from <?php echo esc_html( $data['wordcamp_date_start'] ); ?> 176 180 through <?php echo esc_html( $data['wordcamp_date_end'] ); ?>. … … 197 201 $output = array(); 198 202 foreach ( array( 199 ' attendee_first_name',200 ' attendee_last_name',203 'speaker_first_name', 204 'speaker_last_name', 201 205 'country_of_residency', 202 206 'passport_number',
Note: See TracChangeset
for help on using the changeset viewer.