Code

Need to have required form in alternative theme, too.
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 14 Oct 2005 11:32:32 +0000 (11:32 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 14 Oct 2005 11:32:32 +0000 (11:32 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1569 594d385d-05f5-0310-b6e9-bd551577e9d8

ihtml/themes/altlinux/login.tpl

index 1cd36c1b055a9244ea117e65bee96be20eccacb1..db1a70b256688f11981d955029d89959ceda0ef8 100644 (file)
@@ -19,7 +19,7 @@
     <p class='gosaLoginWarning'> {$ssl} </p>
 
     <!-- Formular data, containing a table to center fields -->
-    <form action='index.php' method='post' name='mainform'>
+    <form action='index.php' method='post' name='mainform' onSubmit='js_check(this);return true;'>
      <table summary="" style='align:center; text-align:left;' cellspacing='7' align='center'>
       <tr>
         <td>
@@ -57,6 +57,7 @@
        </td>
       </tr>
      </table>
+                               <input type='hidden' name='javascript' value='false'/>
     </form>
 
     <!-- Display error message on demand -->