Changeset 2376 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/page-submit.php
- Timestamp:
- 01/26/2016 11:41:27 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/page-submit.php
r1474 r2376 26 26 <?php if ( $_POST && ! $error ) : ?> 27 27 <div id="return"> 28 <h3> Submitted!</h3>29 <p> Thanks! You have successfully submitted a site for consideration to be added to the WordPress Showcase. If the site you submitted is added, you will be contacted via email within one week. We appreciate your interest in the WordPress Showcase! If you'd like to submit another site, head back to the <a href="http://wordpress.org/showcase/submit-a-wordpress-site/">submission form</a>.</p>28 <h3><?php _e( 'Submitted!', 'wporg-showcase' ); ?></h3> 29 <p><?php printf( __( 'Thanks! You have successfully submitted a site for consideration to be added to the WordPress Showcase. If the site you submitted is added, you will be contacted via email within one week. We appreciate your interest in the WordPress Showcase! If you\'d like to submit another site, head back to the <a href="%s">submission form</a>.', 'wporg-showcase' ), 'https://wordpress.org/showcase/submit-a-wordpress-site/' ); ?></p> 30 30 </div> 31 31 <?php endif; // $_POST && ! $error ?> … … 48 48 ?> 49 49 50 <?php if ( $error ) : ?> 51 <h3 id="return"> Whoops!</h3>50 <?php if ( $error ) : ?> 51 <h3 id="return"><?php _e( 'Whoops!', 'wporg-showcase' ); ?></h3> 52 52 53 53 <?php if ( strstr( $url, 'blogspot.com' ) || strstr( $url, 'blogger.com' ) ) : ?> 54 <p> Please submit a WordPress blog URL. Blogspot/Blogger blogs are not accepted.</p>54 <p><?php _e( 'Please submit a WordPress blog URL. Blogspot/Blogger blogs are not accepted.', 'wporg-showcase' ); ?></p> 55 55 56 56 <?php elseif ( $site_detected == "NO" ) : ?> 57 <p> We didn't detect WordPress at the given URL. Please submit the URL of a site running WordPress.</p>57 <p><?php _e( 'We didn\'t detect WordPress at the given URL. Please submit the URL of a site running WordPress.', 'wporg-showcase' ); ?></p> 58 58 59 59 <?php elseif ( $site_detected == "YES" && version_compare($site_version, $latest_release, '<' ) ) : ?> 60 <p>We were unable to detect the latest version of WordPress at the given URL. 61 We'd prefer submissions to the showcase to be running up-to-date versions of WordPress.</p> 62 <p>If you're sure the site is running the latest version of WordPress, then please 63 check the URL to make sure it's accurate, and that the URL you submit points directly 64 to the location where WordPress is running.</p> 60 <p><?php _e( 'We were unable to detect the latest version of WordPress at the given URL. We\'d prefer submissions to the showcase to be running up-to-date versions of WordPress.', 'wporg-showcase' ); ?></p> 61 <p><?php _e( 'If you\'re sure the site is running the latest version of WordPress, then please check the URL to make sure it\'s accurate, and that the URL you submit points directly to the location where WordPress is running.', 'wporg-showcase' ); ?></p> 65 62 66 63 <?php else : ?> 67 <p>There seems to have been a problem with the information you entered. Please make sure 68 all fields have data and resubmit.</p> 64 <p><?php _e( 'There seems to have been a problem with the information you entered. Please make sure all fields have data and resubmit.', 'wporg-showcase' ); ?></p> 69 65 70 66 <?php endif; ?> … … 75 71 <input type="hidden" name="comment_post_ID" value="<?php echo $post->ID; ?>" /> 76 72 77 <p><label for="submitname"><?php _e( 'Your Name'); ?></label><br />73 <p><label for="submitname"><?php _e( 'Your Name', 'wporg-showcase' ); ?></label><br /> 78 74 <input type="text" name="submitname" id="submitname" class="text" value="<?php echo esc_attr( $submitname ); ?>" size="28" tabindex="1" /></p> 79 75 80 <p><label for="email"><?php _e( 'Your E-mail'); ?></label><br />76 <p><label for="email"><?php _e( 'Your E-mail', 'wporg-showcase'); ?></label><br /> 81 77 <input type="text" name="email" id="email" value="<?php echo esc_attr( $email ); ?>" size="28" tabindex="2" class="text" /></p> 82 78 83 <p><label for="url"><?php _e( 'Site URL'); ?></label><br />79 <p><label for="url"><?php _e( 'Site URL', 'wporg-showcase' ); ?></label><br /> 84 80 <input type="text" name="url" id="url" value="<?php echo esc_url( $url ); ?>" size="28" tabindex="3" class="text" /></p> 85 81 86 <p><label for="owner"><?php _e( "Do you own this site? (It's okay if you don't - we just want to know for contact purposes.)"); ?></label><br />82 <p><label for="owner"><?php _e( "Do you own this site? (It's okay if you don't - we just want to know for contact purposes.)", 'wporg-showcase' ); ?></label><br /> 87 83 <select name="owner" id="owner"> 88 <option value="yes" <?php selected( $owner, 'yes' ); ?> ><?php _e( 'Yes' ); ?></option>89 <option value="no" <?php selected( $owner, 'no' ); ?> ><?php _e( 'No' ); ?></option>84 <option value="yes" <?php selected( $owner, 'yes' ); ?> ><?php _e( 'Yes', 'wporg-showcase' ); ?></option> 85 <option value="no" <?php selected( $owner, 'no' ); ?> ><?php _e( 'No', 'wporg-showcase' ); ?></option> 90 86 </select> 91 87 92 <p><label for="description"><?php _e( 'Please describe the site and, if applicable, the person or organization it represents.' ); ?></label><br />88 <p><label for="description"><?php _e( 'Please describe the site and, if applicable, the person or organization it represents.', 'wporg-showcase' ); ?></label><br /> 93 89 <textarea name="description" id="description" cols="60" rows="4" tabindex="4" class="text"><?php echo esc_textarea( $description ); ?></textarea></p> 94 90 95 <p><label for="why"><?php _e( 'What justifies this site being added to the WordPress Showcase? What makes it unique or interesting?' ); ?></label><br />91 <p><label for="why"><?php _e( 'What justifies this site being added to the WordPress Showcase? What makes it unique or interesting?', 'wporg-showcase' ); ?></label><br /> 96 92 <textarea name="why" id="why" cols="60" rows="4" tabindex="5" class="text"><?php echo esc_textarea( $why ); ?></textarea></p> 97 93 98 <p class="required"> * All fields are required.</p>94 <p class="required"><?php _e( '* All fields are required.', 'wporg-showcase' ); ?></p> 99 95 100 96 <?php … … 114 110 ?> 115 111 116 <p><input id="submit" type="submit" tabindex="6" value="<?php _e('Submit Site'); ?>" class="button" /></p>112 <p><input id="submit" type="submit" tabindex="6" value="<?php esc_attr_e( 'Submit Site', 'wporg-showcase' ); ?>" class="button" /></p> 117 113 <?php do_action( 'comment_form', $post->ID ); ?> 118 114 </form>
Note: See TracChangeset
for help on using the changeset viewer.