Changeset 2610
- Timestamp:
- 02/25/2016 01:57:40 AM (10 years ago)
- Location:
- sites/branches/wcb-payment-request-statuses/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments
- Files:
-
- 4 edited
- 1 copied
-
. (modified) (1 prop)
-
css/wordcamp-budgets.css (modified) (1 diff)
-
includes/wordcamp-budgets.php (modified) (1 diff)
-
views/sponsor-invoice/metabox-general.php (modified) (7 diffs)
-
views/wordcamp-budgets/form-field-required-indicator.php (copied) (copied from sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/wordcamp-budgets/form-field-required-indicator.php )
Legend:
- Unmodified
- Added
- Removed
-
sites/branches/wcb-payment-request-statuses/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments
-
Property svn:mergeinfo
set to
/sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments 2603-2609
-
Property svn:mergeinfo
set to
-
sites/branches/wcb-payment-request-statuses/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/css/wordcamp-budgets.css
r2411 r2610 41 41 margin-left: 1em; 42 42 margin-bottom: 1em; 43 } 44 45 .wcb-form-required { 46 color: #dc3232; 43 47 } 44 48 -
sites/branches/wcb-payment-request-statuses/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/wordcamp-budgets.php
r2535 r2610 768 768 769 769 /** 770 * Display the indicator that marks a form field as required 771 */ 772 public static function render_form_field_required_indicator() { 773 require( dirname( __DIR__ ) . '/views/wordcamp-budgets/form-field-required-indicator.php' ); 774 } 775 776 /** 770 777 * Insert an entry into a log for one of the custom post types 771 778 * -
sites/branches/wcb-payment-request-statuses/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/sponsor-invoice/metabox-general.php
r2601 r2610 13 13 14 14 <div class="wcb-form-input-wrapper"> 15 <?php // todo add selected attribute to select and change first option value to empty string. do for other selects too ?> 15 16 <select id="_wcbsi_sponsor_id" name="_wcbsi_sponsor_id"> 16 17 <option value="null-select-one"> … … 33 34 <?php endforeach; ?> 34 35 </select> 36 37 <?php \WordCamp_Budgets::render_form_field_required_indicator(); ?> 35 38 36 39 [<a href="<?php echo esc_url( admin_url( 'post-new.php?post_type=wcb_sponsor') ); ?>"><?php … … 69 72 <?php endforeach; ?> 70 73 </select> 74 75 <?php \WordCamp_Budgets::render_form_field_required_indicator(); ?> 71 76 </div> 72 77 </li> … … 83 88 name="_wcbsi_description" 84 89 value="<?php echo esc_attr( $description ); ?>" 90 required 85 91 /> 92 93 <?php \WordCamp_Budgets::render_form_field_required_indicator(); ?> 86 94 </li> 87 95 … … 103 111 <?php endforeach; ?> 104 112 </select> 113 114 <?php \WordCamp_Budgets::render_form_field_required_indicator(); ?> 105 115 </li> 106 116 … … 117 127 name="_wcbsi_amount" 118 128 value="<?php echo esc_attr( $amount ); ?>" 129 required 119 130 /> 131 132 <?php \WordCamp_Budgets::render_form_field_required_indicator(); ?> 120 133 121 134 <p class="description"> … … 126 139 127 140 </ul> 141 142 <span class="wcb-form-required"> 143 <?php _e( '* required', 'wordcamporg' ); ?> 144 </span>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)