83f48de0e6b479133b0bbdd2d8c90ded204a2c2c
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%;'> </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 solid #AAAAAA'>
23 <div style='padding:3px; background-color:#F8F8F8'>
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 solid #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 {if $lifetime}<b><font style="color:red";>{$lifetime}</font></b>{/if}
35 </div>
38 <input id='focus' name='focus' type='image' src='images/empty.png' style='width:0px; height:0px;' />
39 <div style='text-align:center; padding:10px;'>
40 <img class='center' align='middle' src='{$personal_img}' alt='{t}Username{/t}' title='{t}Username{/t}' />
41 <input type='text' name='username' maxlength='25' value='{$username}'
42 title='{t}Username{/t}' onFocus="nextfield= 'password';" />
43 <br />
44 <br />
45 <img class='center' align='middle' src='{$password_img}' alt='{t}Password{/t}' title='{t}Password{/t}' />
46 <input type='password' name='password' maxlength='25' value=''
47 title='{t}Password{/t}' onFocus="nextfield= 'login';" />
48 </div>
49 <div style='text-align:center; padding:15px;'>
50 <img class='center' align='middle' src='{$directory_img}' alt='{t}Directory{/t}' title='{t}Directory{/t}' />
51 <select name='server' title='{t}Directory{/t}'>
52 {html_options options=$server_options selected=$server_id}
53 </select>
54 </div>
56 <!-- check, if cookies are enabled -->
57 <p class='gosaLoginWarning'>
58 <script language="JavaScript" type="text/javascript">
59 <!--
60 document.cookie = "gosatest=empty;path=/";
61 if (document.cookie.indexOf( "gosatest=") > -1 )
62 document.cookie = "gosatest=empty;path=/;expires=Thu, 01-Jan-1970 00:00:01 GMT";
63 else
64 document.write("{$cookies}");
65 -->
66 </script>
67 </p>
68 {$errors}
69 </div>
70 <div style='padding:10px;'>
71 <div style='float:left; color:red; font-weight:bold'>
72 {$message}
73 </div>
74 <div style='float:right; text-align:right; background-color:blue'>
75 <!-- Display error message on demand -->
76 <input type='submit' name='login' value='{t}Sign in{/t}'
77 title='{t}Click here to log in{/t}' onFocus="nextfield='login';" />
78 <input type='hidden' name='javascript' value='false' />
79 <input type='hidden' name='login' value='{t}Sign in{/t}' />
80 </div>
81 <div style="clear:both"></div>
82 </div>
84 </form>
85 </div>
87 <div style="clear:both"></div>
89 <!-- Place cursor in username field -->
90 <script language="JavaScript" type="text/javascript">
91 <!-- // First input field on page
92 nextfield= "{$nextfield}";
93 focus_field("{$nextfield}");
94 -->
95 </script>