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