WordPress.org

Make WordPress Core

Ticket #3026: wp-register.php.diff

File wp-register.php.diff, 3.5 KB (added by Sewar, 14 years ago)
  • wp-register.php

     
    5555<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    5656<html xmlns="http://www.w3.org/1999/xhtml">
    5757<head>
    58         <title>WordPress &raquo; <?php _e('Registration Complete') ?></title>
     58        <title>WordPress &rsaquo; <?php _e('Registration Complete') ?></title>
    5959        <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" />
    6161        <style type="text/css">
    6262        .submit {
    6363                font-size: 1.7em;
     
    8888<head>
    8989        <title>WordPress &raquo; <?php _e('Registration Form') ?></title>
    9090        <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>
    9298        <style type="text/css">
    9399        #user_email, #user_login, #submit {
    94100                font-size: 1.7em;
     
    99105<body>
    100106<div id="login">
    101107<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
    103110<?php if ( isset($errors) ) : ?>
    104 <div class="error">
     111<div id='login_error'>
    105112        <p>
    106         <?php
    107         foreach($errors as $error) echo "$error<br />";
    108         ?>
     113        <?php foreach($errors as $error) echo "$error<br />"; ?>
    109114        </p>
    110115</div>
    111116<?php endif; ?>
     117
    112118<form method="post" action="wp-register.php" id="registerform">
    113119        <p><input type="hidden" name="action" value="register" />
    114120        <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>
     
    137143<head>
    138144        <title>WordPress &raquo; <?php _e('Registration Currently Disabled') ?></title>
    139145        <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" />
    141147</head>
    142148
    143149<body>
    144150
    145151<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?') ?>">&laquo; <?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>
    150159</div>
    151160
    152161</body>