Code

Removed redundant key
[gosa.git] / ihtml / themes / default / login.tpl
1 <body style="background-color:white;background-image:none;">
2 {$php_errors}
3 <div>
4         <div class='setup_header'>
5                 <div style="float:left;"><img src='themes/default/images/go_logo.png' class='center' alt='GOsa' /></div>
6                 <div style="padding-top:8px;text-align:right;height:28px">{$version}</div>
7         </div>
8         <div class='setup_menu'>
9                 <b>{t}GOsa login screen{/t}</b>
10         </div>
11 </div>
13 {* GOsa login - smarty template *}
15 <!-- Spacer for some browsers -->
16 <div class='gosaLoginSpacer'></div>
18 <div style='float:left; width:25%;'>&nbsp;</div>
19 <div style='float:left; width:50%; border:1px solid #AAAAAA;background-color:white'>
20 <form action='index.php' method='post' name='mainform' onSubmit='js_check(this);return true;'>
22         <div style='border-bottom:1px dashed #AAAAAA'>
23                 <div style='padding:3px;'>
24                 <p class="center" style="margin:0px 0px 0px 5px;padding:5px;font-size:24px;font-weight:bold;">
25                         {t}Login screen{/t}
26                 </p>
27                 </div>
28         </div>
29         <div style='border-bottom:1px dashed #AAAAAA'>
31             <div style='padding:12px;text-align:center;'>
32                 {t}Please use your username and your password to log into the site administration system.{/t}<br />
33                 {if $ssl}<b>{$ssl}</b>{/if}
34             </div>
35   
37                 <input id='focus' name='focus' type='image' src='images/empty.png' style='width:0px; height:0px;' />
38                 <div style='text-align:center; padding:10px;'>  
39                 <img class='center' align='middle' src='{$personal_img}' alt='{t}Username{/t}' title='{t}Username{/t}' />&nbsp;
40                 <input type='text' name='username' maxlength='25' value='{$username}'
41                          title='{t}Username{/t}' onFocus="nextfield= 'password';" />
42                 <br />
43                 <br />
44                 <img class='center' align='middle' src='{$password_img}' alt='{t}Password{/t}' title='{t}Password{/t}' />&nbsp;
45                 <input type='password' name='password' maxlength='25' value=''
46                          title='{t}Password{/t}' onFocus="nextfield= 'login';" />
47                 </div>  
48                 <div style='text-align:center; padding:15px;'>
49                         <img class='center' align='middle' src='{$directory_img}' alt='{t}Directory{/t}' title='{t}Directory{/t}' />&nbsp;
50                         <select name='server'  title='{t}Directory{/t}'>
51                                 {html_options options=$server_options selected=$server_id}
52                         </select>
53                 </div>
55             <!-- check, if cookies are enabled -->
56             <p class='gosaLoginWarning'>
57              <script language="JavaScript" type="text/javascript">
58                 <!--
59                     document.cookie = "gosatest=empty;path=/";
60                     if (document.cookie.indexOf( "gosatest=") > -1 )
61                         document.cookie = "gosatest=empty;path=/;expires=Thu, 01-Jan-1970 00:00:01 GMT";
62                     else
63                         document.write("{$cookies}");
64                 -->
65              </script>
66             </p>
67 {$errors}
68         </div>
69         <div style='padding:10px;'>
70                 <div style='float:left; color:red; font-weight:bold'>
71                 {$message}
72                 </div>
73                 <div style='float:right; text-align:right; background-color:blue'>
74                         <!-- Display error message on demand -->
75                           <input type='submit' name='login' value='{t}Sign in{/t}'
76                                  title='{t}Click here to log in{/t}' onFocus="nextfield='login';" />
77                         <input type='hidden' name='javascript' value='false' />         
78                         <input type='hidden' name='login' value='{t}Sign in{/t}' />             
79                 </div>
80                 <div style="clear:both"></div>
81         </div>
83 </form>
84 </div>
86 <div style="clear:both"></div>
88 <!-- Place cursor in username field -->
89 <script language="JavaScript" type="text/javascript">
90   <!-- // First input field on page
91   nextfield= "{$nextfield}";
92   document.mainform.{$nextfield}.focus();
93   -->
94 </script>