Changeset 6764 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/wc-post-types/views/sponsors/metabox-sponsor-agreement.php
- Timestamp:
- 02/26/2018 06:38:19 PM (7 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-agreement.php
r5784 r6764 1 1 <?php 2 /* @var int $agreement_id */ 3 /* @var string $agreement_url */ 4 /* @var int $mes_id */ 2 3 /** 4 * @var int $agreement_id 5 * @var string $agreement_url 6 * @var int $mes_id 7 */ 8 5 9 ?> 6 10 … … 11 15 <?php if ( $agreement_url ) : ?> 12 16 <p id="sponsor-agreement-view-container"> 13 <a id="sponsor-agreement-view" class="button secondary" href="<?php echo esc_url( $agreement_url ); ?>" target="sponsor-agreement"><?php esc_html_e( 'View Agreement', 'wordcamporg' ); ?></a> 17 <a id="sponsor-agreement-view" class="button secondary" href="<?php echo esc_url( $agreement_url ); ?>" target="sponsor-agreement"> 18 <?php esc_html_e( 'View Agreement', 'wordcamporg' ); ?> 19 </a> 14 20 </p> 15 21 <?php endif; ?> … … 19 25 <p id="sponsor-agreement-description-container" class="description hidden"> 20 26 <?php 27 21 28 printf( 22 wp_kses( 23 __( '<strong>Instructions:</strong> You can generate an agreement for this sponsor <a href="%s">here</a>. Upload a PDF or image file of the signed, dated sponsor agreement.', 'wordcamporg' ), 24 array( 25 'a' => array( 'href' => true ), 26 'strong' => true, 27 ) 28 ), 29 wp_kses_data( __( 30 '<strong>Instructions:</strong> You can generate an agreement for this sponsor <a href="%s">here</a>. Upload a PDF or image file of the signed, dated sponsor agreement.', 'wordcamporg' 31 ) ), 29 32 esc_url( add_query_arg( array( 'page' => 'wcdocs' ), admin_url( 'admin.php' ) ) ) 30 33 ); 34 31 35 ?> 32 36 </p> 37 33 38 <p id="sponsor-agreement-upload-container" class="hidden"> 34 <a id="sponsor-agreement-upload" class="button secondary" href="#"><?php esc_html_e( 'Attach Signed Agreement', 'wordcamporg' ); ?></a> 39 <a id="sponsor-agreement-upload" class="button secondary" href="#"> 40 <?php esc_html_e( 'Attach Signed Agreement', 'wordcamporg' ); ?> 41 </a> 35 42 </p> 36 43 37 44 <p id="sponsor-agreement-view-container" class="hidden"> 38 <a id="sponsor-agreement-view" class="button secondary<?php if ( ! $agreement_url ) echo ' hidden'; ?>" href="<?php echo esc_url( $agreement_url ); ?>" target="sponsor-agreement"><?php esc_html_e( 'View Agreement', 'wordcamporg' ); ?></a> 45 <a id="sponsor-agreement-view" 46 class="button secondary <?php if ( ! $agreement_url ) { echo ' hidden'; } ?>" 47 href="<?php echo esc_url( $agreement_url ); ?>" 48 target="sponsor-agreement"> 49 <?php esc_html_e( 'View Agreement', 'wordcamporg' ); ?> 50 </a> 39 51 </p> 52 40 53 <p id="sponsor-agreement-remove-container" class="hidden"> 41 <a id="sponsor-agreement-remove" href="#"><?php esc_html_e( 'Remove Agreement', 'wordcamporg' ); ?></a> 54 <a id="sponsor-agreement-remove" href="#"> 55 <?php esc_html_e( 'Remove Agreement', 'wordcamporg' ); ?> 56 </a> 42 57 </p> 43 58 44 59 <input id="sponsor-agreement-id" name="_wcpt_sponsor_agreement" type="hidden" value="<?php echo esc_attr( $agreement_id ); ?>" /> 45 60 46 <?php endif; ?>61 <?php endif;
Note: See TracChangeset
for help on using the changeset viewer.