Changeset 3784 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-coming-soon-page/views/template-coming-soon.php
- Timestamp:
- 08/09/2016 02:53:51 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-coming-soon-page/views/template-coming-soon.php
r3780 r3784 6 6 <title><?php echo esc_html( get_bloginfo( 'name' ) ); ?></title> 7 7 8 <?php extract( $GLOBALS['WordCamp_Coming_Soon_Page']->get_template_variables() ); ?> 8 9 <?php wp_head(); ?> 9 <?php extract( $GLOBALS['WordCamp_Coming_Soon_Page']->get_template_variables() ); ?>10 10 </head> 11 11 12 12 <body <?php body_class(); ?>> 13 13 <div id="wccsp-container"> 14 <div class="wccsp-header <?php echo $background_url ? 'overlay' : ''; ?>"> 15 <div class="wccsp-container"> 16 <?php if ( $image_url ) : ?> 17 <div class="wccsp-image"> 18 <img id="wccsp-image" src="<?php echo esc_attr( $image_url ); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name' ) ); ?>" /> 19 </div> 20 <?php endif; ?> 14 21 15 <h1><?php echo esc_attr( get_bloginfo( 'name' ) ); ?></h1>22 <h1><?php echo esc_html( get_bloginfo( 'name' ) ); ?></h1> 16 23 17 <?php if ( $image_url ) : ?> 18 <img id="wccsp-image" src="<?php echo esc_attr( $image_url ); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name' ) ); ?>" /> 19 <?php endif; ?> 24 <?php if ( $dates ) : ?> 25 <h2 class="wccsp-dates"> 26 <?php echo esc_html( $dates ); ?> 27 </h2> 28 <?php endif; ?> 20 29 21 <?php if ( $dates ) : ?> 22 <h2><?php echo esc_html( $dates ); ?></h2> 23 <?php endif; ?> 30 <?php if ( in_array( 'subscriptions', $active_modules ) ) : ?> 31 <div class="wccsp-subscription"> 32 <?php echo do_shortcode( sprintf( 33 '[jetpack_subscription_form subscribe_text="" title="" subscribe_button="%s"]', 34 esc_html__( 'Send me updates!', 'wordcamporg' ) 35 ) ); ?> 36 </div> 37 <?php endif; ?> 38 </div><!-- .wccsp-container --> 39 </div><!-- .wccsp-header --> 24 40 25 <p id="wccsp-introduction"> 26 <?php printf( 27 // translators: %s is the name of the blog 28 __( '%s is in the early planning stages. In the meantime, you can subscribe to be notified when the site goes live, or contact the organizers to get involved.', 'wordcamporg' ), 29 esc_html( get_bloginfo( 'name' ) ) 30 ); ?> 31 </p> 41 <div class="wccsp-container"> 42 <div class="wccsp-introduction"> 43 <p id="wccsp-introduction"> 44 <?php printf( 45 // translators: %s is the name of the blog 46 __( 47 '%s is in the early planning stages. 48 In the meantime, you can subscribe to be notified when the site goes live, or contact the organizers to get involved.', 49 'wordcamporg' 50 ), 51 esc_html( get_bloginfo( 'name' ) ) 52 ); ?> 53 </p> 54 </div><!-- .wccsp-introduction --> 32 55 33 <?php if ( in_array( 'subscriptions', $active_modules ) ) : ?> 34 <div class="wccsp-box"> 35 <?php echo do_shortcode( sprintf( 36 '[jetpack_subscription_form title="%s"]', 37 __( 'Subscribe for Updates', 'wordcamporg' ) 38 ) ); ?> 39 </div> 40 <?php endif; ?> 56 <?php if ( in_array( 'contact-form', $active_modules ) && $contact_form_shortcode ) : ?> 57 <div class="wccsp-contact"> 58 <h2><?php esc_html_e( 'Contact the Organizers' , 'wordcamporg' ); ?></h2> 41 59 42 <?php if ( in_array( 'contact-form', $active_modules ) && $contact_form_shortcode ) : ?> 43 <div class="wccsp-box"> 44 <h2><?php _e( 'Contact the Organizers' , 'wordcamporg' ); ?></h2> 45 46 <?php echo $contact_form_shortcode; // intentionally not escaping because it's the output of do_shortcode() ?> 47 </div> 48 <?php endif; ?> 60 <?php echo $contact_form_shortcode; // intentionally not escaping because it's the output of do_shortcode() ?> 61 </div> 62 <?php endif; ?> 63 </div><!-- .wccsp-container --> 49 64 50 65 </div><!-- #wccsp_container --> 66 67 <div class="wccsp-footer"> 68 <p> 69 <a href="https://central.wordcamp.org/schedule/"> 70 <?php esc_html_e( 'See all upcoming events at WordCamp Central', 'wordcamporg' ); ?> 71 </a> 72 </p> 73 </div> 51 74 52 75 <?php wp_footer(); ?>
Note: See TracChangeset
for help on using the changeset viewer.