Changeset 2602 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/wc-post-types/views/sponsors/metabox-sponsor-info.php
- Timestamp:
- 02/25/2016 12:46:24 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wc-post-types/views/sponsors/metabox-sponsor-info.php
r2458 r2602 15 15 name="_wcpt_sponsor_company_name" 16 16 value="<?php echo esc_attr( $company_name ); ?>" 17 /> 17 required 18 /> 19 20 <?php $this->render_form_field_required_indicator(); ?> 18 21 </li> 19 22 … … 29 32 name="_wcpt_sponsor_website" 30 33 value="<?php echo esc_url( $website ); ?>" 31 /> 34 required 35 /> 36 37 <?php $this->render_form_field_required_indicator(); ?> 32 38 </li> 33 39 … … 46 52 /> 47 53 48 <span class="description"><?php _e( '(required)', 'wordcamporg' ); ?></span>54 <?php $this->render_form_field_required_indicator(); ?> 49 55 </li> 50 56 … … 63 69 /> 64 70 65 <span class="description"><?php _e( '(required)', 'wordcamporg' ); ?></span>71 <?php $this->render_form_field_required_indicator(); ?> 66 72 </li> 67 73 … … 80 86 /> 81 87 82 <span class="description"><?php _e( '(required)', 'wordcamporg' ); ?></span>88 <?php $this->render_form_field_required_indicator(); ?> 83 89 </li> 84 90 … … 94 100 name="_wcpt_sponsor_phone_number" 95 101 value="<?php echo esc_attr( $phone_number ); ?>" 96 /> 102 required 103 /> 104 105 <?php $this->render_form_field_required_indicator(); ?> 97 106 </li> 98 107 </ul> … … 114 123 name="_wcpt_sponsor_street_address1" 115 124 value="<?php echo esc_attr( $street_address1 ); ?>" 116 /> 125 required 126 /> 127 128 <?php $this->render_form_field_required_indicator(); ?> 117 129 </li> 118 130 … … 142 154 name="_wcpt_sponsor_city" 143 155 value="<?php echo esc_attr( $city ); ?>" 144 /> 156 required 157 /> 158 159 <?php $this->render_form_field_required_indicator(); ?> 145 160 </li> 146 161 … … 156 171 name="_wcpt_sponsor_state" 157 172 value="<?php echo esc_attr( $state ); ?>" 158 /> 173 required 174 /> 175 176 <?php $this->render_form_field_required_indicator(); ?> 159 177 </li> 160 178 … … 170 188 name="_wcpt_sponsor_zip_code" 171 189 value="<?php echo esc_attr( $zip_code ); ?>" 172 /> 190 required 191 /> 192 193 <?php $this->render_form_field_required_indicator(); ?> 173 194 </li> 174 195 … … 178 199 </label> 179 200 201 <?php // todo add selected attribute to select and change first option value to empty string ?> 180 202 <select id="_wcpt_sponsor_country" name="_wcpt_sponsor_country"> 181 203 <option value="null" <?php selected( $country, 'null' ); ?>> … … 189 211 <?php endforeach; ?> 190 212 </select> 213 214 <?php $this->render_form_field_required_indicator(); ?> 191 215 </li> 192 216 </ul> 217 218 <span class="wcpt-form-required"> 219 <?php _e( '* required', 'wordcamporg' ); ?> 220 </span>
Note: See TracChangeset
for help on using the changeset viewer.