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 fields needed by SquirrelMail for the
16 * login. YOU SHOULD ALWAYS INCLUDE THIS FIELD!!
18 * @copyright © 1999-2006 The SquirrelMail Project Team
19 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
21 * @package squirrelmail
22 * @subpackage templates
26 require(SM_PATH . 'templates/util_global.php');
28 /* retrieve the template vars */
33 <table cellspacing="0">
36 <?php echo getIcon($icon_theme_path, 'login1.png', _("Login"), _("Login")); ?>
40 <td class="orgName" colspan="2">
41 <?php echo $org_name_str; ?>
45 <td class="attr" colspan="2">
46 <?php echo $sm_attribute_str; ?>
51 <img src="<?php echo $logo_path; ?>" width="50px" />
54 <table cellspacing="0">
56 <td class="fieldName">
57 <?php echo _("Name:"); ?>
59 <td class="fieldInput">
60 <input type="text" name="login_username" value="<?php echo $login_field_value; ?>" id="login_username" class="input" />
64 <td class="fieldName">
65 <?php echo _("Password:"); ?>
67 <td class="fieldInput">
68 <input type="password" name="secretkey" value="" id="secretkey" class="input" />
69 <?php echo $login_extra; ?>
73 <td class="loginSubmit" colspan="2">
74 <input type="image" src="<?php echo getIconPath($icon_theme_path, 'login_submit.png'); ?>" alt="<?php echo _("Login"); ?>" />