X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=templates%2Fdefault%2Flogin.tpl;h=2f830cab433dbb6f0199b913202d0759539e2b8e;hp=ddfc4bc74918a0d3c2dea1a0b7c801e48690e98d;hb=5602ae82c86b5fb9537b618b79e0f2a192183722;hpb=2f04c558e8c1c35af35126a58b10724e8c51b5c5 diff --git a/templates/default/login.tpl b/templates/default/login.tpl index ddfc4bc7..2f830cab 100644 --- a/templates/default/login.tpl +++ b/templates/default/login.tpl @@ -5,15 +5,20 @@ * Template to create the login page * * The following variables are available to this template: - * $logo_str - string containing HTML to display the org logo + * $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 fields needed by SquirrelMail for the - * login. YOU SHOULD ALWAYS INCLUDE THIS 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-2006 The SquirrelMail Project Team + * @copyright © 1999-2009 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail @@ -23,13 +28,17 @@ /* retrieve the template vars */ extract($t); -?> +?> +
+
@@ -38,26 +47,28 @@ extract($t); - + - + +
- - + '; + echo nl2br($sm_attribute_str) . (empty($sm_attribute_str) ? '' : '

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