Code

Added a filter preparation files
[gosa.git] / gosa-core / ihtml / themes / default / login.tpl
index 0c6beb35fd03a61d1b7c4ed090584271855c7db6..2563ea095ecc7becca686d0ece71efb3a0a91d2c 100644 (file)
@@ -1,4 +1,5 @@
 <body style="background-color:white;background-image:none;">
+
 {$php_errors}
 <div>
         <div class='setup_header'>
@@ -19,6 +20,7 @@
 <div style='float:left; width:50%; border:1px solid #AAAAAA;background-color:white'>
 <form action='index.php' method='post' name='mainform' onSubmit='js_check(this);return true;'>
 
+{$msg_dialogs}
        <div style='border-bottom:1px solid #AAAAAA'>
                <div style='padding:3px; background-color:#F8F8F8'>
                <p class="center" style="margin:0px 0px 0px 5px;padding:5px;font-size:24px;font-weight:bold;">
                <input id='focus' name='focus' type='image' src='images/empty.png' style='width:0px; height:0px;' />
                <div style='text-align:center; padding:10px;'>  
                <img class='center' align='middle' src='{$personal_img}' alt='{t}Username{/t}' title='{t}Username{/t}' />&nbsp;
-               <input type='text' name='username' maxlength='25' value='{$username}'
+               <input type='text' name='username' maxlength='40' value='{$username}'
                         title='{t}Username{/t}' onFocus="nextfield= 'password';" />
                <br />
                <br />
                <img class='center' align='middle' src='{$password_img}' alt='{t}Password{/t}' title='{t}Password{/t}' />&nbsp;
-               <input type='password' name='password' maxlength='25' value=''
+               <input type='password' name='password' maxlength='40' value=''
                         title='{t}Password{/t}' onFocus="nextfield= 'login';" />
                </div>  
                <div style='text-align:center; padding:15px;'>
 
 {$errors}
 
-<!-- Place cursor in username field -->
 <script language="JavaScript" type="text/javascript">
-  <!-- // First input field on page
+<!-- 
+  enable_keyPress = false;
   nextfield= "{$nextfield}";
   focus_field("{$nextfield}");
-  -->
+  next_msg_dialog();
+-->
 </script>
-
+</body>
+</html>