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