Permalink
Browse files

Valid HTML for wp-signup. fixes #13369, props ocean90, snumb130.

git-svn-id: http://svn.automattic.com/wordpress/trunk@15199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent 33051cf commit c7600ab27b1bf65447e8ca5ab2414a2de7d9d54b nacin committed Jun 10, 2010
Showing with 9 additions and 10 deletions.
  1. +5 −5 wp-admin/includes/template.php
  2. +4 −5 wp-signup.php
@@ -3748,23 +3748,23 @@ function screen_options($screen) {
$per_page_label = $post_type_object->labels->name;
break;
case 'ms-sites':
- $per_page_label = __('Sites');
+ $per_page_label = _x( 'Sites', 'sites per page (screen options)' );
break;
case 'ms-users':
- $per_page_label = __('Users');
+ $per_page_label = _x( 'Users', 'users per page (screen options)' );
break;
case 'edit-comments':
- $per_page_label = __('Comments');
+ $per_page_label = _x( 'Comments', 'comments per page (screen options)' );
break;
case 'upload':
- $per_page_label = __('Media items');
+ $per_page_label = _x( 'Media items', 'items per page (screen options)' );
break;
case 'edit-tags':
global $tax;
$per_page_label = $tax->labels->name;
break;
case 'plugins':
- $per_page_label = __('Plugins');
+ $per_page_label = _x( 'Plugins', 'plugins per page (screen options)' );
break;
default:
return '';
View
@@ -95,14 +95,14 @@ function show_blog_form($blogname = '', $blog_title = '', $errors = '') {
<?php if ( $errmsg = $errors->get_error_message('blog_title') ) { ?>
<p class="error"><?php echo $errmsg ?></p>
<?php }
- echo '<input name="blog_title" type="text" id="blog_title" value="'.esc_attr($blog_title).'" /></p>';
+ echo '<input name="blog_title" type="text" id="blog_title" value="'.esc_attr($blog_title).'" />';
?>
<div id="privacy">
<p class="privacy-intro">
<label for="blog_public_on"><?php _e('Privacy:') ?></label>
<?php _e('Allow my site to appear in search engines like Google, Technorati, and in public listings around this network.'); ?>
- <div style="clear:both;"></div>
+ <br style="clear:both" />
<label class="checkbox" for="blog_public_on">
<input type="radio" id="blog_public_on" name="blog_public" value="1" <?php if ( !isset( $_POST['blog_public'] ) || $_POST['blog_public'] == '1' ) { ?>checked="checked"<?php } ?> />
<strong><?php _e( 'Yes' ); ?></strong>
@@ -176,15 +176,14 @@ function signup_another_blog($blogname = '', $blog_title = '', $errors = '') {
<?php
$blogs = get_blogs_of_user($current_user->ID);
if ( !empty($blogs) ) { ?>
- <p>
- <?php _e( 'Sites you are already a member of:' ) ?>
+
+ <p><?php _e( 'Sites you are already a member of:' ) ?></p>
<ul>
<?php foreach ( $blogs as $blog ) {
$home_url = get_home_url( $blog->userblog_id );
echo '<li><a href="' . esc_url( $home_url ) . '">' . $home_url . '</a></li>';
} ?>
</ul>
- </p>
<?php } ?>
<p><?php _e( 'If you&#8217;re not going to use a great site domain, leave it for a new user. Now have at it!' ) ?></p>

0 comments on commit c7600ab

Please sign in to comment.