010ab15d35618d622b4df6c62d3572e9913dabdc
[squirrelmail.git] / templates / default / login.tpl
1 <?php
2 /**
3 * login.tpl
4 *
5 * Template to create the login page
6 *
7 * The following variables are available to this template:
8 * $logo_str - string containing HTML to display the org logo
9 * $logo_path - path to the org logo, in case you want to do
10 * something else with it.
11 * $sm_attribute_str - string containg SQM attributes. Will be empty if
12 * this has been disabled by the admin.
13 * $org_name_str - translated string containing orginization's name
14 * $login_field_value - default value for the user name field
15 * $login_extra - Some extra fields needed by SquirrelMail for the
16 * login. YOU SHOULD ALWAYS INCLUDE THIS FIELD!!
17 *
18 * @copyright &copy; 1999-2006 The SquirrelMail Project Team
19 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
20 * @version $Id$
21 * @package squirrelmail
22 * @subpackage templates
23 */
24
25 /* retrieve the template vars */
26 extract($t);
27
28 ?>
29 <div id="sqm_login">
30 <table cellspacing="0">
31 <tr>
32 <td class="sqm_loginTop" colspan="2">
33 <?php echo $logo_str; ?>
34 <?php echo $sm_attribute_str; ?>
35 </td>
36 </tr>
37 <tr>
38 <td class="sqm_loginOrgName" colspan="2">
39 <?php echo $org_name_str; ?>
40 </td>
41 </tr>
42 <tr>
43 <td class="sqm_loginFieldName">
44 <?php echo _("Name:"); ?>
45 </td>
46 <td class="sqm_loginFieldInput">
47 <input type="text" name="login_username" value="<?php echo $login_field_value; ?>" id="login_username" />
48 </td>
49 </tr>
50 <tr>
51 <td class="sqm_loginFieldName">
52 <?php echo _("Password:"); ?>
53 </td>
54 <td class="sqm_loginFieldInput">
55 <input type="password" name="secretkey" value="" id="secretkey" />
56 <?php echo $login_extra; ?>
57 </td>
58 </tr>
59 <tr>
60 <td class="sqm_loginSubmit" colspan="2">
61 <input type="submit" value="<?php echo _("Login"); ?>" />
62 </td>
63 </tr>
64 </table>
65 </div>