Skip to content
Snippets Groups Projects
Commit cbe52b87 authored by Thijs Kinkhorst's avatar Thijs Kinkhorst
Browse files

Fix two html bugs in old login template

parent 8b335f7c
No related branches found
No related tags found
No related merge requests found
...@@ -49,13 +49,12 @@ if ($this->data['errorcode'] !== null) { ...@@ -49,13 +49,12 @@ if ($this->data['errorcode'] !== null) {
<tr> <tr>
<td rowspan="2" class="loginicon"> <td rowspan="2" class="loginicon">
<img alt="" <img alt=""
src="/<?php echo $this->data['baseurlpath']; ?> src="/<?php echo $this->data['baseurlpath']; ?>resources/icons/experience/gtk-dialog-authentication.48x48.png" />
resources/icons/experience/gtk-dialog-authentication.48x48.png" />
</td> </td>
<td><label for="username"><?php echo $this->t('{login:username}'); ?></label></td> <td><label for="username"><?php echo $this->t('{login:username}'); ?></label></td>
<td> <td>
<input id="username" <?php echo ($this->data['forceUsername']) ? 'disabled="disabled"' : ''; ?> <input id="username" <?php echo ($this->data['forceUsername']) ? 'disabled="disabled"' : ''; ?>
type="text" name="username"<?php echo $this->data['forceUsername'] ? '' : 'tabindex="1"'; ?> type="text" name="username"<?php echo $this->data['forceUsername'] ? '' : ' tabindex="1"'; ?>
value="<?php echo htmlspecialchars($this->data['username']); ?>" /> value="<?php echo htmlspecialchars($this->data['username']); ?>" />
</td> </td>
<?php <?php
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment