Changeset 7915 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/camptix-badge-generator/views/common/page-generate-badges.php
- Timestamp:
- 11/29/2018 03:19:31 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/camptix-badge-generator/views/common/page-generate-badges.php
r5819 r7915 2 2 3 3 namespace CampTix\Badge_Generator; 4 defined( 'WPINC' ) or die(); 4 defined( 'WPINC' ) || die(); 5 6 /** 7 * @var string $html_customizer_url 8 * @var string $indesign_page_url 9 * @var string $notify_tool_url 10 */ 5 11 6 12 ?> 7 13 8 14 <p> 9 <?php _e(15 <?php esc_html_e( 10 16 'This tool will help you create personalized badges for attendees to wear during the event. There are two methods for this, depending on your preferences:', 11 17 'wordcamporg' … … 15 21 <div id="cbg-method-overviews"> 16 22 <div id="html-badge-overview"> 17 <h2><?php _e( 'HTML and CSS', 'wordcamporg' ); ?></h2> 23 <h2> 24 <?php esc_html_e( 'HTML and CSS', 'wordcamporg' ); ?> 25 </h2> 18 26 19 27 <ul class="ul-disc"> 20 <li><?php _e( 'The Easiest method.', 'wordcamporg' ); ?></li>21 <li><?php _e( 'Can be as simple as using the default design and printing at home.', 'wordcamporg' ); ?></li>22 <li><?php _e( 'Design is customizable by a designer or developer, but options are limited compared to InDesign.', 'wordcamporg' ); ?></li>28 <li><?php esc_html_e( 'The Easiest method.', 'wordcamporg' ); ?></li> 29 <li><?php esc_html_e( 'Can be as simple as using the default design and printing at home.', 'wordcamporg' ); ?></li> 30 <li><?php esc_html_e( 'Design is customizable by a designer or developer, but options are limited compared to InDesign.', 'wordcamporg' ); ?></li> 23 31 </ul> 24 32 25 33 <a class="button button-primary" href="<?php echo esc_url( $html_customizer_url ); ?>"> 26 <?php _e( 'Create Badges with HTML and CSS', 'wordcamporg' ); ?>34 <?php esc_html_e( 'Create Badges with HTML and CSS', 'wordcamporg' ); ?> 27 35 </a> 28 36 </div> 29 37 30 38 <div id="indesign-badges-overview" class="cbg-method-overview"> 31 <h2><?php _e( 'InDesign', 'wordcamporg' ); ?></h2> 39 <h2> 40 <?php esc_html_e( 'InDesign', 'wordcamporg' ); ?> 41 </h2> 32 42 33 43 <ul class="ul-disc"> 34 <li><?php _e( 'The best results, but requires more work.', 'wordcamporg' ); ?></li>35 <li><?php _e( 'Most flexible design options.', 'wordcamporg' ); ?></li>44 <li><?php esc_html_e( 'The best results, but requires more work.', 'wordcamporg' ); ?></li> 45 <li><?php esc_html_e( 'Most flexible design options.', 'wordcamporg' ); ?></li> 36 46 <li> 37 47 <?php printf( 38 __( 'Requires a designer and a copy of InDesign. <a href="%s">Free trial copies are available</a>.', 'wordcamporg'),48 wp_kses_post( __( 'Requires a designer and a copy of InDesign. <a href="%s">Free trial copies are available</a>.', 'wordcamporg' ) ), 39 49 'https://www.adobe.com/products/indesign.html' 40 50 ); ?> … … 43 53 44 54 <a class="button button-primary" href="<?php echo esc_url( $indesign_page_url ); ?>"> 45 <?php _e( 'Create Badges with InDesign', 'wordcamporg' ); ?>55 <?php esc_html_e( 'Create Badges with InDesign', 'wordcamporg' ); ?> 46 56 </a> 47 57 </div> … … 50 60 <p> 51 61 <?php printf( 52 // translators: 1: Gravatar.com URL, 2: Notify tool URL 53 __(62 // translators: 1: Gravatar.com URL, 2: Notify tool URL. 63 wp_kses_post( __( 54 64 'Regardless of which method you choose, you\'ll get the best results if you encourage attendees to create <a href="%1$s">Gravatar</a> accounts before you create the badges. You can use <a href="%2$s">the Notify tool</a> to e-mail everyone. Make sure to tell them to create their Gravatar account using the same e-mail address that provided when purchasing a ticket.', 55 65 'wordcamporg' 56 ) ,66 ) ), 57 67 'https://gravatar.com', 58 68 esc_url( $notify_tool_url )
Note: See TracChangeset
for help on using the changeset viewer.