e6c20cde7cf77cfa01bbdf322c4d4b9b0c04c22a
1 <body style="background-color: #8B858B;background-image:none;">
2 {* GOsa login - smarty template *}
3 {$php_errors}
4 {$errors}
6 <!-- Spacer for some browsers -->
7 <div class='gosaLoginSpacer'></div>
9 <table summary="" class='gosaLoginMask' style="text-align:right;" align='center'>
10 <tr>
11 <td class='gosaLoginBack' style="width:606px;">
12 <div class='gosaLoginBack'>
14 <p class='gosaLoginHeader'>
15 {t}Please use your username and password to log in{/t}
16 </p>
18 <!-- Display SSL warning message on demand -->
19 <p class='gosaLoginWarning'> {$ssl} </p>
21 <!-- Formular data, containing a table to center fields -->
22 <form action='index.php' method='post' name='mainform' onSubmit='js_check(this);return true;'>
23 <table summary="" style='vertical-align:middle; text-align:left;' cellspacing='7' align='center'>
24 <tr>
25 <td>
26 <img src='{$personal_img}' alt='{t}Username{/t}' title='{t}Username{/t}'>
27 </td>
28 <td>
29 <input type='text' name='username' maxlength='25' value='{$username}'
30 title='{t}Username{/t}' onFocus="nextfield= 'password';">
31 </td>
32 </tr>
33 <tr>
34 <td>
35 <img src='{$password_img}' alt='{t}Password{/t}' title='{t}Password{/t}'>
36 </td>
37 <td>
38 <input type='password' name='password' maxlength='25' value=''
39 title='{t}Password{/t}' onFocus="nextfield= 'login';">
40 </td>
41 </tr>
42 <tr>
43 <td>
44 <img src='{$directory_img}' alt='{t}Directory{/t}' title='{t}Directory{/t}'>
45 </td>
46 <td style='text-align:left;'>
47 <select name='server' title='{t}Directory{/t}'>
48 {html_options options=$server_options selected=$server_id}
49 </select>
50 </td>
51 </tr>
52 <tr>
53 <td colspan='2' style='text-align:right;'>
54 <br />
55 <input type='submit' name='login' value='{t}Sign in{/t}'
56 title='{t}Click here to log in{/t}'>
57 </td>
58 </tr>
59 </table>
60 <input type='hidden' name='javascript' value='false'/>
61 {$focus}
62 </form>
64 <!-- Display error message on demand -->
65 <p class='gosaLoginWarning'> {$message} </p>
66 <!-- check, if cookies are enabled -->
67 <p class='gosaLoginWarning'>
68 <script language="JavaScript" type="text/javascript">
69 <!--
70 document.cookie = "gosatest=empty;path=/";
71 if (document.cookie.indexOf( "gosatest=") > -1 )
72 document.cookie = "gosatest=empty;path=/;expires=Thu, 01-Jan-1970 00:00:01 GMT";
73 else
74 document.write("{$cookies}");
75 -->
76 </script>
77 </p>
81 </div>
82 </td>
83 </tr>
84 </table>
86 <!-- Place cursor in username field -->
87 <script language="JavaScript" type="text/javascript">
88 <!-- // First input field on page
89 nextfield= "{$nextfield}";
90 document.mainform.{$nextfield}.focus();
91 -->
92 </script>
94 <!-- Spacer for some browsers -->
95 <div class='gosaLoginSpacer'></div>
96 </body>