Code

Updated MultiSelectDialog template to include a post_id
[gosa.git] / gosa-core / ihtml / themes / default / login.tpl
index 83f48de0e6b479133b0bbdd2d8c90ded204a2c2c..380e29b4ae1b593c2a3cd68676bc2754b48e04c1 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;'>
@@ -65,7 +67,6 @@
                -->
             </script>
            </p>
-{$errors}
        </div>
        <div style='padding:10px;'>
                <div style='float:left; color:red; font-weight:bold'>
 
 <div style="clear:both"></div>
 
+{$errors}
+
 <!-- Place cursor in username field -->
 <script language="JavaScript" type="text/javascript">
+  <!-- // Disable KeyPress actions
+  enable_keyPress = false;
+
   <!-- // First input field on page
   nextfield= "{$nextfield}";
   focus_field("{$nextfield}");
   -->
+
+next_msg_dialog();
 </script>