WordPress.org

Making WordPress.org

Changeset 5607


Ignore:
Timestamp:
06/29/2017 10:47:27 PM (2 years ago)
Author:
coreymckrill
Message:

WordCamp Docs: Allow non-USD currencies in sponsorship agreement

This simply removes the hard-coded "$US" from the template and adds
notes to the generation form asking the user to include the currency
type when they enter values. This makes it possible to generate a
sponsorship agreement that specifies a local currency.

Fixes #2914
Props tyxla

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-docs/templates/sponsorship-agreement.php

    r4177 r5607  
    6161            <input name="wordcamp_location" value="<?php echo esc_attr( $data['wordcamp_location'] ); ?>" />
    6262
    63             <label><?php _e( 'Sponsorship Amount (in words):', 'wordcamporg' ); ?></label>
     63            <label><?php _e( 'Sponsorship Amount (in words, including the currency):', 'wordcamporg' ); ?></label>
    6464            <input name="sponsorship_amount" value="<?php echo esc_attr( $data['sponsorship_amount'] ); ?>" />
    6565
    66             <label><?php _e( 'Sponsorship Amount (in numbers):', 'wordcamporg' ); ?></label>
     66            <label><?php _e( 'Sponsorship Amount (in numbers, including the currency symbol):', 'wordcamporg' ); ?></label>
    6767            <input name="sponsorship_amount_num" value="<?php echo esc_attr( $data['sponsorship_amount_num'] ); ?>" />
    6868
     
    151151        Time Period: <?php echo esc_html( $data['wordcamp_date'] ); ?></p>
    152152
    153         <p>2. Sponsorship Amount. Within 30 days of this Agreement or before the start of the first Sponsored WordCamp, whichever is sooner, the Sponsor agrees to pay <?php echo esc_html( $data['sponsorship_amount'] ); ?> (US$ <?php echo esc_html( $data['sponsorship_amount_num'] ); ?>) to WPCS (the "Sponsorship").</p>
     153        <p>2. Sponsorship Amount. Within 30 days of this Agreement or before the start of the first Sponsored WordCamp, whichever is sooner, the Sponsor agrees to pay <?php echo esc_html( $data['sponsorship_amount'] ); ?> (<?php echo esc_html( $data['sponsorship_amount_num'] ); ?>) to WPCS (the "Sponsorship").</p>
    154154
    155155        <p>3. Use of Funds. WPCS will use the Sponsorship to cover its costs and the costs of its volunteers and agents in connection with organizing, promoting, and operating the Sponsored WordCamp(s). Any excess remaining after these costs are paid may be used by WPCS for its unrestricted general support.</p>
Note: See TracChangeset for help on using the changeset viewer.