Code

Updated login
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 20 Apr 2007 08:57:49 +0000 (08:57 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 20 Apr 2007 08:57:49 +0000 (08:57 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6153 594d385d-05f5-0310-b6e9-bd551577e9d8

ihtml/themes/default/login.tpl

index fa4beda64267430df5cef5d40f264c0a43a6568e..eac5cca0f6e158bc3272c43f7e9573e1666c46f1 100644 (file)
 </div>
 
 {* GOsa login - smarty template *}
-{$php_errors}
 
 <!-- Spacer for some browsers -->
 <div class='gosaLoginSpacer'></div>
 
 <div style='float:left; width:25%;'>&nbsp;</div>
+<form action='index.php' method='post' name='mainform' onSubmit='js_check(this);return true;'>
 <div style='float:left; width:50%; border:1px solid #AAAAAA;'>
 
        <div style='border-bottom:1px dashed #AAAAAA'>
                </p>
                </div>
        </div>
-       <div>
+       <div style='border-bottom:1px dashed #AAAAAA'>
 
            <div style='padding:12px;text-align:center;'>
                {t}Please use your username and your password to log into the site administration system.{/t}
            </div>
   
-           <form action='index.php' method='post' name='mainform' onSubmit='js_check(this);return true;'>
 
                <input id='focus' name='focus' type='image' src='images/empty.png' style='width:0px; height:0px;' >
                <div style='text-align:center; padding:10px;'>  
                                {html_options options=$server_options selected=$server_id}
                        </select>
                </div>
-           </form>
 
-           <!-- Display error message on demand -->
-           <p class='gosaLoginWarning'> {$message} </p>
            <!-- check, if cookies are enabled -->
            <p class='gosaLoginWarning'>
             <script language="JavaScript" type="text/javascript">
                -->
             </script>
            </p>
+{$errors}
+       </div>
+       <div style='padding:10px;'>
+       <div style='float:left; color:red; font-weight:bold'>
+       {$message}
        </div>
-       <div style='border-top:1px dashed #AAAAAA; text-align:right; padding:5px;'>
+       <div style='float:right; text-align:right; background-color:blue'>
+               <!-- Display error message on demand -->
                  <input type='submit' name='login' value='{t}Sign in{/t}'
                         title='{t}Click here to log in{/t}'>
                <input type='hidden' name='javascript' value='false'/>          
        </div>
+<div style="clear:both"></div>
+       </div>
 
 </div>
+</form>
 
 <div style="clear:both"></div>