autocomplete values for jabber password forms, remove xhtml-style tag endings
Hanno Böck

Hanno Böck commited on 2024-01-25 13:28:08
Zeige 2 geänderte Dateien mit 9 Einfügungen und 9 Löschungen.

... ...
@@ -26,10 +26,10 @@ $account_string = $account['local'] . '@' . $account['domain'];
26 26
 output(html_form('jabber_chpass', 'save', 'action=chpass', '
27 27
 <table>
28 28
 <tr><td>Account-Name:</td><td>' . $account_string . '</td></tr>
29
-<tr><td>Passwort:</td><td><input type="password" name="newpass" value="" /></td></tr>
30
-<tr><td>Wiederholung:</td><td><input type="password" name="newpass2" value="" /></td></tr>
29
+<tr><td>Passwort:</td><td><input type="password" name="newpass" value="" autocomplete="new-password"></td></tr>
30
+<tr><td>Wiederholung:</td><td><input type="password" name="newpass2" value="" autocomplete="new-password"></td></tr>
31 31
 </table>
32
-<br />
33
-<input type="hidden" name="accountid" value="' . $account['id'] . '" />
34
-<input type="submit" name="submit" value="Speichern" />
32
+<br>
33
+<input type="hidden" name="accountid" value="' . $account['id'] . '">
34
+<input type="submit" name="submit" value="Speichern">
35 35
 '));
... ...
@@ -40,13 +40,13 @@ output('<p>Erstellen Sie hier ein neues Jabber-Konto. Ihre Änderungen werden na
40 40
 
41 41
 ' . html_form('jabber_new_account', 'save', 'action=new', '
42 42
 <table>
43
-<tr><td>Account-Name:</td><td><input type="text" name="local" value="" />&#160;@&#160;<select name="domain" size="1">
43
+<tr><td>Account-Name:</td><td><input type="text" name="local" value="">&#160;@&#160;<select name="domain" size="1">
44 44
 ' . $options . '
45 45
 </select></td></tr>
46
-<tr><td>Passwort:</td><td><input type="password" name="password" value="" /></td></tr>
46
+<tr><td>Passwort:</td><td><input type="password" name="password" value="" autocomplete="new-password"></td></tr>
47 47
 </table>
48
-<br />
49
-<input type="submit" name="submit" value="Anlegen" />
48
+<br>
49
+<input type="submit" name="submit" value="Anlegen">
50 50
 '));
51 51
 
52 52
 
53 53