X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2Fdefault%2Flogin.tpl;h=ca1292613148eef018607c087bed9130641f5d6e;hb=22387c8d44f3ab104db6e19180d3775a45762359;hp=d68c38fc6ba0c38fedb1ca20009e3f3ce4d1b3bd;hpb=f5dcd7f397592d2e271e80f97555701fb4ad3a66;p=squirrelmail.git diff --git a/templates/default/login.tpl b/templates/default/login.tpl index d68c38fc..ca129261 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-2017 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