Pulling imapConnection var. Still causes segfaults which cannot be tracked down.
[squirrelmail.git] / templates / default_advanced / login.tpl
CommitLineData
6c026667 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
31633bef 15 * $login_extra - Some extra form fields needed by SquirrelMail
16 * for the login. Template designers SHOULD ALWAYS
17 * INCLUDE this value somewhere in the form.
18 * $plugin_extra - Extra table row(s) that may be added by plugin(s).
6c026667 19 *
20 * @copyright &copy; 1999-2006 The SquirrelMail Project Team
21 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
22 * @version $Id$
23 * @package squirrelmail
24 * @subpackage templates
25 */
26
27// add includes
28require(SM_PATH . 'templates/util_global.php');
29
30/* retrieve the template vars */
31extract($t);
32
33?>
34<div id="sqm_login">
35<table cellspacing="0">
36 <tr>
37 <td colspan="2">
fe549255 38 <?php echo getIcon($icon_theme_path, 'login1.png', ''); ?>
6c026667 39 </td>
40 </tr>
41 <tr>
42 <td class="orgName" colspan="2">
43 <?php echo $org_name_str; ?>
44 </td>
45 </tr>
46 <tr>
47 <td class="attr" colspan="2">
48 <?php echo $sm_attribute_str; ?>
49 </td>
50 </tr>
51 <tr>
52 <td class="orgLogo">
53 <img src="<?php echo $logo_path; ?>" width="50px" />
54 </td>
55 <td>
56 <table cellspacing="0">
57 <tr>
58 <td class="fieldName">
59 <?php echo _("Name:"); ?>
60 </td>
61 <td class="fieldInput">
62 <input type="text" name="login_username" value="<?php echo $login_field_value; ?>" id="login_username" class="input" />
63 </td>
64 </tr>
65 <tr>
66 <td class="fieldName">
67 <?php echo _("Password:"); ?>
68 </td>
69 <td class="fieldInput">
70 <input type="password" name="secretkey" value="" id="secretkey" class="input" />
71 <?php echo $login_extra; ?>
72 </td>
73 </tr>
31633bef 74 <?php echo $plugin_extra; ?>
6c026667 75 <tr>
76 <td class="loginSubmit" colspan="2">
fe549255 77 <input type="image" src="<?php echo getIconPath($icon_theme_path, 'login_submit.png', _("Login"), _("Login")); ?>" alt="<?php echo _("Login"); ?>" />
6c026667 78 </td>
79 </tr>
80 </table>
81 </td>
82 </tr>
83</table>
3410accc 84</div>