X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fdefault%2Flogin.tpl;h=cbb37152c50c44fa133950545359cbc5b0ca85e8;hb=701e7beed3baca980039f978c6d536dd91cae775;hp=ddfc4bc74918a0d3c2dea1a0b7c801e48690e98d;hpb=2f04c558e8c1c35af35126a58b10724e8c51b5c5;p=squirrelmail.git diff --git a/templates/default/login.tpl b/templates/default/login.tpl index ddfc4bc7..cbb37152 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-2014 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 + +