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: |
7f69e141 |
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. |
2f04c558 |
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 | * |
3f2cd959 |
18 | * @copyright © 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 | ?> |
3f2cd959 |
29 | <div id="sqm_login"> |
3f2cd959 |
30 | <table cellspacing="0"> |
31 | <tr> |
32 | <td class="sqm_loginTop" colspan="2"> |
2f04c558 |
33 | <?php echo $logo_str; ?> |
34 | <?php echo $sm_attribute_str; ?> |
3f2cd959 |
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"> |
2f04c558 |
47 | <input type="text" name="login_username" value="<?php echo $login_field_value; ?>" id="login_username" /> |
3f2cd959 |
48 | </td> |
49 | </tr> |
50 | <tr> |
51 | <td class="sqm_loginFieldName"> |
52 | <?php echo _("Password:"); ?> |
53 | </td> |
54 | <td class="sqm_loginFieldInput"> |
2f04c558 |
55 | <input type="password" name="secretkey" value="" id="secretkey" /> |
56 | <?php echo $login_extra; ?> |
3f2cd959 |
57 | </td> |
58 | </tr> |
59 | <tr> |
60 | <td class="sqm_loginSubmit" colspan="2"> |
2f04c558 |
61 | <input type="submit" value="<?php echo _("Login"); ?>" /> |
3f2cd959 |
62 | </td> |
63 | </tr> |
64 | </table> |
f5dcd7f3 |
65 | </div> |