Changeset 4177
- Timestamp:
- 10/02/2016 05:38:29 PM (5 years ago)
- Location:
- sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-docs
- Files:
-
- 3 added
- 2 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-docs/classes/class-wordcamp-docs.php
r3870 r4177 51 51 */ 52 52 public static function default_templates( $templates ) { 53 require_once( WORDCAMP_DOCS__PLUGIN_DIR . 'templates/speaker-invitation.php' );54 53 require_once( WORDCAMP_DOCS__PLUGIN_DIR . 'templates/sponsorship-agreement.php' ); 54 require_once( WORDCAMP_DOCS__PLUGIN_DIR . 'templates/speaker-visa.php' ); 55 require_once( WORDCAMP_DOCS__PLUGIN_DIR . 'templates/attendee-visa.php' ); 55 56 56 $templates['speaker-invitation'] = new WordCamp_Docs_Template_Speaker_Invitation;57 57 $templates['sponsorship-agreement'] = new WordCamp_Docs_Template_Sponsorship_Agreement; 58 $templates['speaker-visa'] = new WordCamp_Docs_Template_Speaker_Visa; 59 $templates['attendee-visa'] = new WordCamp_Docs_Template_Attendee_Visa; 58 60 59 61 return $templates; -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-docs/templates/sponsorship-agreement.php
r3870 r4177 260 260 public function sanitize( $input ) { 261 261 $output = array(); 262 $data = wp_parse_args( $data, array(263 'sponsor_name' => '',264 'sponsor_rep_name' => '',265 'sponsor_rep_title' => '',266 267 'agreement_date' => '',268 'wordcamp_location' => '',269 'wordcamp_date' => '',270 271 'sponsorship_amount' => '',272 'sponsorship_amount_num' => '',273 'sponsorship_benefits' => '',274 ) );275 276 262 foreach ( array( 277 263 'sponsor_name', … … 299 285 300 286 public function get_assets() { 301 return array( 302 dirname( __FILE__ ) . '/assets/logo.png', 303 ); 304 } 305 } 287 return array(); 288 } 289 }
Note: See TracChangeset
for help on using the changeset viewer.