I don't remember why the login_form hook had to be moved up into the table (it was...
[squirrelmail.git] / templates / default / login.tpl
... / ...
CommitLineData
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 */
26extract($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 </td>
57 </tr>
58 <tr>
59 <td colspan="2">
60 <?php echo $login_extra; ?>
61 </td>
62 </tr>
63 <tr>
64 <td class="sqm_loginSubmit" colspan="2">
65 <input type="submit" value="<?php echo _("Login"); ?>" />
66 </td>
67 </tr>
68</table>
69</div>