From 50b447d2a6f5a89e94262db7fc312dec709d5eda Mon Sep 17 00:00:00 2001 From: Tim van Dijen <tvdijen@gmail.com> Date: Thu, 18 Feb 2016 11:29:15 +0100 Subject: [PATCH] Fix misplaced </tr> (2x) The login-page would not verify as valid XHTML 1.0 Transitional --- modules/core/templates/loginuserpass.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/core/templates/loginuserpass.php b/modules/core/templates/loginuserpass.php index b1e627adc..a87c5d965 100644 --- a/modules/core/templates/loginuserpass.php +++ b/modules/core/templates/loginuserpass.php @@ -64,10 +64,10 @@ if ($this->data['errorcode'] !== null) { name="remember_username" value="Yes"/> <small><?php echo $this->t('{login:remember_username}'); ?></small> </td> - </tr> <?php } ?> + </tr> <tr> <td><label for="password"><?php echo $this->t('{login:password}'); ?></label></td> <td> @@ -83,9 +83,11 @@ if ($this->data['errorcode'] !== null) { name="remember_me" value="Yes"/> <small><?php echo $this->t('{login:remember_me}'); ?></small> </td> - </tr> <?php } + ?> + </tr> + <?php if (array_key_exists('organizations', $this->data)) { ?> <tr> -- GitLab