WordPress.org

Make WordPress Core

Changeset 12733 for trunk/wp-signup.php


Ignore:
Timestamp:
01/15/2010 10:11:12 PM (11 years ago)
Author:
ryan
Message:

Trailing whitespace cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-signup.php

    r12689 r12733  
    3030function wpmu_signup_stylesheet() {
    3131    ?>
    32     <style type="text/css"> 
     32    <style type="text/css">
    3333        .mu_register { width: 90%; margin:0 auto; }
    3434        .mu_register form { margin-top: 2em; }
     
    3636        .mu_register input[type="submit"],
    3737            .mu_register #blog_title,
    38             .mu_register #user_email, 
     38            .mu_register #user_email,
    3939            .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; }
    4141        .mu_register .prefix_address,
    42             .mu_register .suffix_address {font-size: 18px;display:inline; }         
     42            .mu_register .suffix_address {font-size: 18px;display:inline; }
    4343        .mu_register label { font-weight:700; font-size:15px; display:block; margin:10px 0; }
    4444        .mu_register label.checkbox { display:inline; }
     
    8383    // Blog Title
    8484    ?>
    85     <label for="blog_title"><?php _e('Blog Title:') ?></label> 
     85    <label for="blog_title"><?php _e('Blog Title:') ?></label>
    8686    <?php if ( $errmsg = $errors->get_error_message('blog_title') ) { ?>
    8787        <p class="error"><?php echo $errmsg ?></p>
     
    9393        <p class="privacy-intro">
    9494            <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.'); ?>
    9696            <div style="clear:both;"></div>
    9797            <label class="checkbox" for="blog_public_on">
     
    105105        </p>
    106106    </div>
    107    
     107
    108108    <?php
    109109    do_action('signup_blogform', $errors);
     
    131131    <?php if ( $errmsg = $errors->get_error_message('user_email') ) { ?>
    132132        <p class="error"><?php echo $errmsg ?></p>
    133     <?php } ?>     
     133    <?php } ?>
    134134    <input name="user_email" type="text" id="user_email" value="<?php  echo esc_attr($user_email) ?>" maxlength="200" /><br /><?php _e('(We&#8217;ll send your password to this address, so <strong>triple-check it</strong>.)') ?>
    135135    <?php
     
    146146function signup_another_blog($blogname = '', $blog_title = '', $errors = '') {
    147147    global $current_user, $current_site;
    148    
     148
    149149    if ( ! is_wp_error($errors) ) {
    150150        $errors = new WP_Error();
     
    164164    ?>
    165165    <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);
    169169    if ( !empty($blogs) ) { ?>
    170170        <p>
     
    177177        </p>
    178178    <?php } ?>
    179    
     179
    180180    <p><?php _e("If you&#8217;re not going to use a great blog domain, leave it for a new user. Now have at it!") ?></p>
    181181    <form id="setupform" method="post" action="wp-signup.php">
     
    239239
    240240    ?>
    241    
     241
    242242    <h2><?php printf( __('Get your own %s account in seconds'), $current_site->site_name ) ?></h2>
    243243    <form id="setupform" method="post" action="wp-signup.php">
     
    245245        <?php do_action( "signup_hidden_fields" ); ?>
    246246        <?php show_user_form($user_name, $user_email, $errors); ?>
    247        
     247
    248248        <p>
    249249        <?php if( $active_signup == 'blog' ) { ?>
     
    253253        <?php } else { ?>
    254254            <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'] ?> />
    258258            <label class="checkbox" for="signupuser"><?php _e('Just a username, please.') ?></label>
    259259        <?php } ?>
    260260        </p>
    261        
     261
    262262        <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e('Next') ?>" /></p>
    263263    </form>
     
    351351    ?>
    352352    <h2><?php printf(__('Congratulations! Your new blog, %s, is almost ready.'), "<a href='http://{$domain}{$path}'>{$blog_title}</a>" ) ?></h2>
    353    
     353
    354354    <p><?php _e('But, before you can start using your blog, <strong>you must activate it</strong>.') ?></p>
    355355    <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.