Let me introduce to you how to use the user login frame of Dongyi. <script src=/JS/prototype.js></script>
<script src=/JS/scriptaculous.js></script>
<script src=/JS/checklogin.js></script>
<div id=UserLogin>Loading...<script language=JavaScript type=text/JavaScript>LoadUserLogin('/',3,2);</script></div>
LoadUserLogin('{$InstallDir}',0,2) --------------- Parameter description:
a.$InstallDir: system installation directory;
b. Corresponds to several preset styles of the checklogin.js file in the /JS/ directory. 0 represents the default vertical login box style; 1 represents the horizontal login box; 3 represents the horizontal login box adapted to the Dongyi Hailan template, which is shorter; optional Add or modify according to the user's own needs;
c. User short message pop-up window setting parameters, 1 means that the unread short message window will pop up when the user enters the member center; 2 means that the unread short message window will pop up after the user successfully logs in.
1. Remove the permanent login checkbox
/JS/checklogin.js
UTF-8 conversion tool converts checklogin.js (note UTF-8 conversion tool bug: don’t miss it after conversion;)
source code:
<input type=/checkbox/ name=/CookieDate/ value=/3/>login forever;
-------------------->change chieckbox to hidden :)
2. Verification code modification
/Inc/CheckCode.asp contains detailed parameter setting instructions