Fix validation issue with Special:Userlogin , the div and the form shared
authorAntoine Musso <hashar@users.mediawiki.org>
Sat, 3 Dec 2005 16:51:26 +0000 (16:51 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Sat, 3 Dec 2005 16:51:26 +0000 (16:51 +0000)
the same id / name wich is invalid. Form element is now named userloginForm

includes/templates/Userlogin.php
skins/monobook/main.css

index 8e6fcda..aa7eff3 100644 (file)
@@ -26,7 +26,7 @@ class UserloginTemplate extends QuickTemplate {
        <div class="visualClear"></div>
 <?php } ?>
 
-<div id="userlogin">
+<div id="userloginForm">
 <form name="userlogin" method="post" action="<?php $this->text('action') ?>">
        <h2><?php $this->msg('login') ?></h2>
        <p id="userloginlink"><?php $this->html('link') ?></p>
index a2b52cc..81325f8 100644 (file)
@@ -1065,7 +1065,7 @@ div.prefsectiontip {
        margin-top: 2em;
 }
 
-#userlogin {
+#userloginForm {
        margin: 0 3em 1em 0;
        border: 1px solid #aaa;
        clear: both;
@@ -1074,11 +1074,11 @@ div.prefsectiontip {
        float: left;
 }
 
-#userlogin table {
+#userloginForm table {
        background-color: #f9f9f9;
 }
 
-#userlogin h2 {
+#userloginForm h2 {
        padding-top: 0;
 }
 
@@ -1400,4 +1400,4 @@ div.noarticletext {
        background: #fff;
        padding: .2em 1em;
        color: #000;
-}
\ No newline at end of file
+}