3f2cd959 |
1 | <?php |
2 | /** |
3 | * login.tpl |
4 | * |
5 | * Template to create the login page |
6 | * |
2f04c558 |
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 | * |
3f2cd959 |
16 | * @copyright © 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 | ?> |
3f2cd959 |
27 | <div id="sqm_login"> |
3f2cd959 |
28 | <table cellspacing="0"> |
29 | <tr> |
30 | <td class="sqm_loginTop" colspan="2"> |
2f04c558 |
31 | <?php echo $logo_str; ?> |
32 | <?php echo $sm_attribute_str; ?> |
3f2cd959 |
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"> |
2f04c558 |
45 | <input type="text" name="login_username" value="<?php echo $login_field_value; ?>" id="login_username" /> |
3f2cd959 |
46 | </td> |
47 | </tr> |
48 | <tr> |
49 | <td class="sqm_loginFieldName"> |
50 | <?php echo _("Password:"); ?> |
51 | </td> |
52 | <td class="sqm_loginFieldInput"> |
2f04c558 |
53 | <input type="password" name="secretkey" value="" id="secretkey" /> |
54 | <?php echo $login_extra; ?> |
3f2cd959 |
55 | </td> |
56 | </tr> |
57 | <tr> |
58 | <td class="sqm_loginSubmit" colspan="2"> |
2f04c558 |
59 | <input type="submit" value="<?php echo _("Login"); ?>" /> |
3f2cd959 |
60 | </td> |
61 | </tr> |
62 | </table> |
f5dcd7f3 |
63 | </div> |