~robotparade/wordpress/stable

« back to all changes in this revision

Viewing changes to wp-signup.php

  • Committer: Jeff Waugh
  • Date: 2010-06-11 21:00:40 UTC
  • Revision ID: jdub@bethesignal.org-20100611210040-9narx3kdlayc8x39
WordPress 3.0 RC3

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
        <?php }
77
77
 
78
78
        if ( !is_subdomain_install() )
79
 
                echo '<span class="prefix_address">' . $current_site->domain . $current_site->path . '</span><input name="blogname" type="text" id="blogname" value="'. esc_attr($blogname) .'" maxlength="50" /><br />';
 
79
                echo '<span class="prefix_address">' . $current_site->domain . $current_site->path . '</span><input name="blogname" type="text" id="blogname" value="'. esc_attr($blogname) .'" maxlength="60" /><br />';
80
80
        else
81
 
                echo '<input name="blogname" type="text" id="blogname" value="'.esc_attr($blogname).'" maxlength="50" /><span class="suffix_address">.' . ( $site_domain = preg_replace( '|^www\.|', '', $current_site->domain ) ) . '</span><br />';
 
81
                echo '<input name="blogname" type="text" id="blogname" value="'.esc_attr($blogname).'" maxlength="60" /><span class="suffix_address">.' . ( $site_domain = preg_replace( '|^www\.|', '', $current_site->domain ) ) . '</span><br />';
82
82
 
83
83
        if ( !is_user_logged_in() ) {
84
84
                print '(<strong>' . __( 'Your address will be ' );
95
95
        <?php if ( $errmsg = $errors->get_error_message('blog_title') ) { ?>
96
96
                <p class="error"><?php echo $errmsg ?></p>
97
97
        <?php }
98
 
        echo '<input name="blog_title" type="text" id="blog_title" value="'.esc_attr($blog_title).'" /></p>';
 
98
        echo '<input name="blog_title" type="text" id="blog_title" value="'.esc_attr($blog_title).'" />';
99
99
        ?>
100
100
 
101
101
        <div id="privacy">
102
102
        <p class="privacy-intro">
103
103
            <label for="blog_public_on"><?php _e('Privacy:') ?></label>
104
104
            <?php _e('Allow my site to appear in search engines like Google, Technorati, and in public listings around this network.'); ?>
105
 
            <div style="clear:both;"></div>
 
105
            <br style="clear:both" />
106
106
            <label class="checkbox" for="blog_public_on">
107
107
                <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 } ?> />
108
108
                <strong><?php _e( 'Yes' ); ?></strong>
132
132
        if ( $errmsg = $errors->get_error_message('user_name') ) {
133
133
                echo '<p class="error">'.$errmsg.'</p>';
134
134
        }
135
 
        echo '<input name="user_name" type="text" id="user_name" value="'. esc_attr($user_name) .'" maxlength="50" /><br />';
 
135
        echo '<input name="user_name" type="text" id="user_name" value="'. esc_attr($user_name) .'" maxlength="60" /><br />';
136
136
        _e( '(Must be at least 4 characters, letters and numbers only.)' );
137
137
        ?>
138
138
 
176
176
        <?php
177
177
        $blogs = get_blogs_of_user($current_user->ID);
178
178
        if ( !empty($blogs) ) { ?>
179
 
                <p>
180
 
                        <?php _e( 'Sites you are already a member of:' ) ?>
 
179
 
 
180
                        <p><?php _e( 'Sites you are already a member of:' ) ?></p>
181
181
                        <ul>
182
182
                                <?php foreach ( $blogs as $blog ) {
183
183
                                        $home_url = get_home_url( $blog->userblog_id );
184
184
                                        echo '<li><a href="' . esc_url( $home_url ) . '">' . $home_url . '</a></li>';
185
185
                                } ?>
186
186
                        </ul>
187
 
                </p>
188
187
        <?php } ?>
189
188
 
190
189
        <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>