Changeset 12733 for trunk/wp-activate.php
- Timestamp:
- 01/15/2010 10:11:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-activate.php
r12689 r12733 15 15 function wpmu_activate_stylesheet() { 16 16 ?> 17 <style type="text/css"> 17 <style type="text/css"> 18 18 form { margin-top: 2em; } 19 19 #submit, #key { width: 90%; font-size: 24px; } … … 31 31 <div id="content" class="widecolumn"> 32 32 <?php if ( empty($_GET['key']) && empty($_POST['key']) ) { ?> 33 33 34 34 <h2><?php _e('Activation Key Required') ?></h2> 35 35 <form name="activateform" id="activateform" method="post" action="<?php echo 'http://' . $current_site->domain . $current_site->path ?>wp-activate.php"> … … 42 42 </p> 43 43 </form> 44 44 45 45 <?php } else { 46 46 47 47 $key = !empty($_GET['key']) ? $_GET['key'] : $_POST['key']; 48 $result = wpmu_activate_signup($key); 48 $result = wpmu_activate_signup($key); 49 49 if ( is_wp_error($result) ) { 50 50 if ( 'already_active' == $result->get_error_code() || 'blog_taken' == $result->get_error_code() ) { … … 70 70 ?> 71 71 <h2><?php _e('Your account is now active!'); ?></h2> 72 72 73 73 <div id="signup-welcome"> 74 74 <p><span class="h3"><?php _e('Username:'); ?></span> <?php echo $user->user_login ?></p> 75 75 <p><span class="h3"><?php _e('Password:'); ?></span> <?php echo $password; ?></p> 76 76 </div> 77 77 78 78 <?php if( $url != 'http://' . $current_site->domain . $current_site->path ) : ?> 79 79 <p class="view"><?php printf(__('Your account is now activated. <a href="%1$s">View your site</a> or <a href="%2$s">Login</a>'), $url, $url . 'wp-login.php' ); ?></p> … … 81 81 <p class="view"><?php printf( __( 'Your account is now activated. <a href="%1$s">Login</a> or go back to the <a href="%2$s">homepage</a>.' ), 'http://' . $current_site->domain . $current_site->path . 'wp-login.php', 'http://' . $current_site->domain . $current_site->path ); ?></p> 82 82 <?php endif; 83 } 83 } 84 84 } 85 85 ?>
Note: See TracChangeset
for help on using the changeset viewer.