5 * Template to create the login page
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 form fields needed by SquirrelMail
16 * for the login. Template designers SHOULD ALWAYS
17 * INCLUDE this value somewhere in the form.
18 * $plugin_output - An array of extra output that may be added by
21 * @copyright © 1999-2006 The SquirrelMail Project Team
22 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
24 * @package squirrelmail
25 * @subpackage templates
28 /* retrieve the template vars */
33 <table cellspacing="0">
35 <td class="sqm_loginTop" colspan="2">
36 <?php echo $logo_str; ?>
37 <?php echo $sm_attribute_str; ?>
41 <td class="sqm_loginOrgName" colspan="2">
42 <?php echo $org_name_str; ?>
46 <td class="sqm_loginFieldName">
47 <?php echo _("Name:"); ?>
49 <td class="sqm_loginFieldInput">
50 <input type="text" name="login_username" value="<?php echo $login_field_value; ?>" id="login_username" />
54 <td class="sqm_loginFieldName">
55 <?php echo _("Password:"); ?>
57 <td class="sqm_loginFieldInput">
58 <input type="password" name="secretkey" value="" id="secretkey" />
59 <?php echo $login_extra; ?>
62 <?php if (!empty($plugin_output['login_form'])) echo $plugin_output['login_form']; ?>
64 <td class="sqm_loginSubmit" colspan="2">
65 <input type="submit" value="<?php echo _("Login"); ?>" />