Index: /Users/Bryan/Code/wporg/wp-login.php
===================================================================
--- /Users/Bryan/Code/wporg/wp-login.php	(revision 4119)
+++ /Users/Bryan/Code/wporg/wp-login.php	(working copy)
@@ -59,7 +59,12 @@
 	}
 	</style>
 </head>
+<?php if (get_settings('users_can_register')) : ?>
+<body id="register">
+<?php else : ?>
 <body>
+<?php endif; ?>
+
 <div id="login">
 <h1><a href="http://wordpress.org/">WordPress</a></h1>
 <p><?php _e('Please enter your information here. We will send you a new password.') ?></p>
@@ -224,7 +229,11 @@
 	window.onload = focusit;
 	</script>
 </head>
+<?php if (get_settings('users_can_register')) : ?>
+<body id="register">
+<?php else : ?>
 <body>
+<?php endif; ?>
 
 <div id="login">
 <h1><a href="http://wordpress.org/">WordPress</a></h1>
@@ -246,10 +255,12 @@
 </form>
 <ul>
 	<li><a href="<?php bloginfo('home'); ?>/" title="<?php _e('Are you lost?') ?>">&laquo; <?php _e('Back to blog') ?></a></li>
-<?php if (get_settings('users_can_register')) : ?>
-	<li><a href="<?php bloginfo('wpurl'); ?>/wp-register.php"><?php _e('Register') ?></a></li>
-<?php endif; ?>
-	<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>
+	<?php if (get_settings('users_can_register')) : ?>
+		<li><a href="<?php bloginfo('wpurl'); ?>/wp-register.php"><?php _e('Register') ?></a></li>
+		<li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=lostpassword" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost password?') ?></a></li>
+	<?php else : ?>
+		<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>
+	<?php endif; ?>
 </ul>
 </div>
 
