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
29 require(SM_PATH . 'templates/util_global.php');
31 /* retrieve the template vars */
36 <table cellspacing="0">
39 <?php echo getIcon($icon_theme_path, 'login1.png', ''); ?>
43 <td class="orgName" colspan="2">
44 <?php echo $org_name_str; ?>
48 <td class="attr" colspan="2">
49 <?php echo $sm_attribute_str; ?>
54 <img src="<?php echo $logo_path; ?>" width="50px" />
57 <table cellspacing="0">
59 <td class="fieldName">
60 <?php echo _("Name:"); ?>
62 <td class="fieldInput">
63 <input type="text" name="login_username" value="<?php echo $login_field_value; ?>" id="login_username" class="input" />
67 <td class="fieldName">
68 <?php echo _("Password:"); ?>
70 <td class="fieldInput">
71 <input type="password" name="secretkey" value="" id="secretkey" class="input" />
72 <?php echo $login_extra; ?>
75 <?php if (!empty($plugin_output['login_form'])) echo $plugin_output['login_form']; ?>
77 <td class="loginSubmit" colspan="2">
78 <input type="image" src="<?php echo getIconPath($icon_theme_path, 'login_submit.png', _("Login"), _("Login")); ?>" alt="<?php echo _("Login"); ?>" />