Changeset 12733 for trunk/wp-signup.php
- Timestamp:
- 01/15/2010 10:11:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-signup.php
r12689 r12733 30 30 function wpmu_signup_stylesheet() { 31 31 ?> 32 <style type="text/css"> 32 <style type="text/css"> 33 33 .mu_register { width: 90%; margin:0 auto; } 34 34 .mu_register form { margin-top: 2em; } … … 36 36 .mu_register input[type="submit"], 37 37 .mu_register #blog_title, 38 .mu_register #user_email, 38 .mu_register #user_email, 39 39 .mu_register #blogname, 40 .mu_register #user_name { width:100%; font-size: 24px; margin:5px 0; } 40 .mu_register #user_name { width:100%; font-size: 24px; margin:5px 0; } 41 41 .mu_register .prefix_address, 42 .mu_register .suffix_address {font-size: 18px;display:inline; } 42 .mu_register .suffix_address {font-size: 18px;display:inline; } 43 43 .mu_register label { font-weight:700; font-size:15px; display:block; margin:10px 0; } 44 44 .mu_register label.checkbox { display:inline; } … … 83 83 // Blog Title 84 84 ?> 85 <label for="blog_title"><?php _e('Blog Title:') ?></label> 85 <label for="blog_title"><?php _e('Blog Title:') ?></label> 86 86 <?php if ( $errmsg = $errors->get_error_message('blog_title') ) { ?> 87 87 <p class="error"><?php echo $errmsg ?></p> … … 93 93 <p class="privacy-intro"> 94 94 <label for="blog_public_on"><?php _e('Privacy:') ?></label> 95 <?php _e('I would like my blog to appear in search engines like Google and Technorati, and in public listings around this site.'); ?> 95 <?php _e('I would like my blog to appear in search engines like Google and Technorati, and in public listings around this site.'); ?> 96 96 <div style="clear:both;"></div> 97 97 <label class="checkbox" for="blog_public_on"> … … 105 105 </p> 106 106 </div> 107 107 108 108 <?php 109 109 do_action('signup_blogform', $errors); … … 131 131 <?php if ( $errmsg = $errors->get_error_message('user_email') ) { ?> 132 132 <p class="error"><?php echo $errmsg ?></p> 133 <?php } ?> 133 <?php } ?> 134 134 <input name="user_email" type="text" id="user_email" value="<?php echo esc_attr($user_email) ?>" maxlength="200" /><br /><?php _e('(We’ll send your password to this address, so <strong>triple-check it</strong>.)') ?> 135 135 <?php … … 146 146 function signup_another_blog($blogname = '', $blog_title = '', $errors = '') { 147 147 global $current_user, $current_site; 148 148 149 149 if ( ! is_wp_error($errors) ) { 150 150 $errors = new WP_Error(); … … 164 164 ?> 165 165 <p><?php printf(__("Welcome back, %s. By filling out the form below, you can <strong>add another blog to your account</strong>. There is no limit to the number of blogs you can have, so create to your heart's content, but blog responsibly."), $current_user->display_name) ?></p> 166 167 <?php 168 $blogs = get_blogs_of_user($current_user->ID); 166 167 <?php 168 $blogs = get_blogs_of_user($current_user->ID); 169 169 if ( !empty($blogs) ) { ?> 170 170 <p> … … 177 177 </p> 178 178 <?php } ?> 179 179 180 180 <p><?php _e("If you’re not going to use a great blog domain, leave it for a new user. Now have at it!") ?></p> 181 181 <form id="setupform" method="post" action="wp-signup.php"> … … 239 239 240 240 ?> 241 241 242 242 <h2><?php printf( __('Get your own %s account in seconds'), $current_site->site_name ) ?></h2> 243 243 <form id="setupform" method="post" action="wp-signup.php"> … … 245 245 <?php do_action( "signup_hidden_fields" ); ?> 246 246 <?php show_user_form($user_name, $user_email, $errors); ?> 247 247 248 248 <p> 249 249 <?php if( $active_signup == 'blog' ) { ?> … … 253 253 <?php } else { ?> 254 254 <input id="signupblog" type="radio" name="signup_for" value="blog" <?php echo $signup['blog'] ?> /> 255 <label class="checkbox" for="signupblog"><?php _e('Gimme a blog!') ?></label> 256 <br /> 257 <input id="signupuser" type="radio" name="signup_for" value="user" <?php echo $signup['user'] ?> /> 255 <label class="checkbox" for="signupblog"><?php _e('Gimme a blog!') ?></label> 256 <br /> 257 <input id="signupuser" type="radio" name="signup_for" value="user" <?php echo $signup['user'] ?> /> 258 258 <label class="checkbox" for="signupuser"><?php _e('Just a username, please.') ?></label> 259 259 <?php } ?> 260 260 </p> 261 261 262 262 <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e('Next') ?>" /></p> 263 263 </form> … … 351 351 ?> 352 352 <h2><?php printf(__('Congratulations! Your new blog, %s, is almost ready.'), "<a href='http://{$domain}{$path}'>{$blog_title}</a>" ) ?></h2> 353 353 354 354 <p><?php _e('But, before you can start using your blog, <strong>you must activate it</strong>.') ?></p> 355 355 <p><?php printf(__('Check your inbox at <strong>%s</strong> and click the link given. It should arrive within 30 minutes.'), $user_email) ?></p>
Note: See TracChangeset
for help on using the changeset viewer.