X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=templates%2Fdefault%2Flogin.tpl;h=2f830cab433dbb6f0199b913202d0759539e2b8e;hp=d68c38fc6ba0c38fedb1ca20009e3f3ce4d1b3bd;hb=1e532e26cb164aba478840773ca0b68ebb92a148;hpb=f5dcd7f397592d2e271e80f97555701fb4ad3a66 diff --git a/templates/default/login.tpl b/templates/default/login.tpl index d68c38fc..2f830cab 100644 --- a/templates/default/login.tpl +++ b/templates/default/login.tpl @@ -4,7 +4,21 @@ * * Template to create the login page * - * @copyright © 1999-2006 The SquirrelMail Project Team + * The following variables are available to this template: + * $logo_str - string containing HTML to display the org logo + * $logo_path - path to the org logo, in case you want to do + * something else with it. + * $sm_attribute_str - string containg SQM attributes. Will be empty if + * this has been disabled by the admin. + * $org_name_str - translated string containing orginization's name + * $login_field_value - default value for the user name field + * $login_extra - Some extra form fields needed by SquirrelMail + * for the login. Template designers SHOULD ALWAYS + * INCLUDE this value somewhere in the form. + * $plugin_output - An array of extra output that may be added by + * plugin(s). + * + * @copyright © 1999-2009 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail @@ -14,17 +28,16 @@ /* retrieve the template vars */ extract($t); -?> - +?> +
+
- - @@ -34,30 +47,28 @@ extract($t); - + - + +
'; + echo nl2br($sm_attribute_str) . (empty($sm_attribute_str) ? '' : '

'); ?>
+ - +
+ - + +
- + " />
+
- - \ No newline at end of file