Ticket #3026: wp-register.php.diff
File wp-register.php.diff, 3.5 KB (added by , 18 years ago) |
---|
-
wp-register.php
55 55 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 56 56 <html xmlns="http://www.w3.org/1999/xhtml"> 57 57 <head> 58 <title>WordPress &r aquo; <?php _e('Registration Complete') ?></title>58 <title>WordPress › <?php _e('Registration Complete') ?></title> 59 59 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_settings('blog_charset'); ?>" /> 60 <link rel="stylesheet" href=" wp-admin/wp-admin.css" type="text/css" />60 <link rel="stylesheet" href="<?php echo get_settings('siteurl'); ?>/wp-admin/wp-admin.css" type="text/css" /> 61 61 <style type="text/css"> 62 62 .submit { 63 63 font-size: 1.7em; … … 88 88 <head> 89 89 <title>WordPress » <?php _e('Registration Form') ?></title> 90 90 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_settings('blog_charset'); ?>" /> 91 <link rel="stylesheet" href="wp-admin/wp-admin.css" type="text/css" /> 91 <link rel="stylesheet" href="<?php echo get_settings('siteurl'); ?>/wp-admin/wp-admin.css" type="text/css" /> 92 <script type="text/javascript"> 93 function focusit() { 94 document.getElementById('user_login').focus(); 95 } 96 window.onload = focusit; 97 </script> 92 98 <style type="text/css"> 93 99 #user_email, #user_login, #submit { 94 100 font-size: 1.7em; … … 99 105 <body> 100 106 <div id="login"> 101 107 <h1><a href="http://wordpress.org/">WordPress</a></h1> 102 <h2><?php _e('Register for this blog') ?></h2> 108 <p><?php _e('Register for this blog') ?></p> 109 103 110 <?php if ( isset($errors) ) : ?> 104 <div class="error">111 <div id='login_error'> 105 112 <p> 106 <?php 107 foreach($errors as $error) echo "$error<br />"; 108 ?> 113 <?php foreach($errors as $error) echo "$error<br />"; ?> 109 114 </p> 110 115 </div> 111 116 <?php endif; ?> 117 112 118 <form method="post" action="wp-register.php" id="registerform"> 113 119 <p><input type="hidden" name="action" value="register" /> 114 120 <label for="user_login"><?php _e('Username:') ?></label><br /> <input type="text" name="user_login" id="user_login" size="20" maxlength="20" value="<?php echo wp_specialchars($user_login); ?>" /><br /></p> … … 137 143 <head> 138 144 <title>WordPress » <?php _e('Registration Currently Disabled') ?></title> 139 145 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_settings('blog_charset'); ?>" /> 140 <link rel="stylesheet" href=" wp-admin/wp-admin.css" type="text/css">146 <link rel="stylesheet" href="<?php echo get_settings('siteurl'); ?>/wp-admin/wp-admin.css" type="text/css" /> 141 147 </head> 142 148 143 149 <body> 144 150 145 151 <div id="login"> 146 <h2><?php _e('Registration Disabled') ?></h2> 147 <p><?php _e('User registration is currently not allowed.') ?><br /> 148 <a href="<?php echo get_settings('home'); ?>/" title="<?php _e('Go back to the blog') ?>"><?php _e('Home') ?></a> 149 </p> 152 <h1><a href="http://wordpress.org/">WordPress</a></h1> 153 <p><?php _e('User registration is currently not allowed.') ?></p> 154 <ul> 155 <li><a href="<?php bloginfo('home'); ?>/" title="<?php _e('Are you lost?') ?>">« <?php _e('Back to blog') ?></a></li> 156 <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php"><?php _e('Login') ?></a></li> 157 <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=lostpassword" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a></li> 158 </ul> 150 159 </div> 151 160 152 161 </body>