Theme: Set select password fields to monospace font when revealed. New input_text_font_password setting to control default font.

This commit is contained in:
fusionate
2025-03-18 17:55:41 -06:00
parent 0bec2b9aef
commit 42c96239c8
10 changed files with 23 additions and 8 deletions

View File

@@ -423,7 +423,7 @@
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input type='password' style='display: none;' disabled='disabled'>\n"; //help defeat browser auto-fill
echo " <input class='formfld' type='password' name='password' id='password' autocomplete='new-password' maxlength='255' onmouseover=\"this.type='text';\" onfocus=\"this.type='text';\" onmouseout=\"if (!$(this).is(':focus')) { this.type='password'; }\" onblur=\"this.type='password';\" value=\"".escape($password)."\">\n";
echo " <input class='formfld password' type='password' name='password' id='password' autocomplete='new-password' maxlength='255' onmouseover=\"this.type='text';\" onfocus=\"this.type='text';\" onmouseout=\"if (!$(this).is(':focus')) { this.type='password'; }\" onblur=\"this.type='password';\" value=\"".escape($password)."\">\n";
echo " <br />\n";
echo " ".$text['description-password']."\n";
echo "</td>\n";