update changes in login.html
This commit is contained in:
@@ -3,19 +3,22 @@
|
||||
<TITLE type="title">
|
||||
<en><![CDATA[Login]]></en>
|
||||
</TITLE>
|
||||
<USR_USERNAME type="text" size="30" maxlength="50" validate="Any">
|
||||
<USR_USERNAME type="text" size="30" maxlength="50" validate="Any" autocomplete="0">
|
||||
<en><![CDATA[User]]></en>
|
||||
</USR_USERNAME>
|
||||
<USR_PASSWORD type="password" size="30" maxlength="32" autocomplete="0">
|
||||
<USR_PASSWORD type="text" size="30" maxlength="32" autocomplete="0">
|
||||
<en><![CDATA[Password]]></en>
|
||||
</USR_PASSWORD>
|
||||
<USR_PASSWORD_MASK type="password" size="30" maxlength="32" autocomplete="0">
|
||||
<en><![CDATA[Password]]></en>
|
||||
</USR_PASSWORD_MASK>
|
||||
<USER_LANG type="dropdown" sqlconnection="dbarray">
|
||||
SELECT LANG_ID, LANG_NAME FROM langOptions
|
||||
<en><![CDATA[Language]]></en>
|
||||
</USER_LANG>
|
||||
<URL type="hidden"/>
|
||||
<LOGIN_VERIFY_MSG type="private" showInTable="0"/>
|
||||
<BSUBMIT type="submit">
|
||||
<BSUBMIT type="button">
|
||||
<en><![CDATA[Login]]></en>
|
||||
</BSUBMIT>
|
||||
<FORGOT_PASWORD_LINK type="link" link="forgotPassword" onclick="" colAlign="right" colWidth="135" style="display:none;">
|
||||
@@ -25,7 +28,7 @@ SELECT LANG_ID, LANG_NAME FROM langOptions
|
||||
|
||||
window.onload= function(){
|
||||
document.getElementById('form[USR_USERNAME]').placeholder = _('ID_USER');
|
||||
document.getElementById('form[USR_PASSWORD]').placeholder = _('ID_PASSWORD');
|
||||
document.getElementById('form[USR_PASSWORD_MASK]').placeholder = _('ID_PASSWORD');
|
||||
};
|
||||
|
||||
// enable/disable forgot password link
|
||||
@@ -98,6 +101,11 @@ leimnud.event.add(document.getElementById('form[BSUBMIT]'), 'click', function()
|
||||
if (client.browser != "firefox") {
|
||||
document.login.submit();
|
||||
}
|
||||
document.getElementById('form[USR_PASSWORD]').value = document.getElementById('form[USR_PASSWORD_MASK]').value;
|
||||
document.getElementById('form[USR_PASSWORD_MASK]').value = '';
|
||||
document.getElementById('form[USR_PASSWORD_MASK]').setAttribute('type', 'text');
|
||||
document.login.submit();
|
||||
//return true;
|
||||
}.extend(document.getElementById('form[BSUBMIT]')));
|
||||
|
||||
]]></JS>
|
||||
|
||||
Reference in New Issue
Block a user