sparta_login.php is very easy to change. The basic setup is there, and there are two variables from apache you can use:
sparta_error and
sparta_username. Both can be fetched with apache_note as shown in the default sparta_login.php.
Other than that, sparta_login.php is a totally normal php script with html right inside of it, so you can design all that you see right there. To modify the size and other settings of the verification image, refer to SpartaVerifyChars, SpartaVerifySize, SpartaVerifyHorizontalLines, SpartaVerifyVerticalLines Apache settings.
Please note that on the login page you can only include files and images that are NOT SPARTA protected. In other words, they need to be located on the free part of your site.
The sparta_username variable will simply be the last username tried with the current session. The sparta_error variable can be one of the following:
- VERIFY - Means the verification string was not entered correctly
- NO_USER - Means the form was submitted without a username or password.
- BAD_USER - Means the username or password was wrong.
- BLOCKED_USER - The current username or IP is blocked by SPARTA.
- PERM_USER - The current username or IP is banned by SPARTA.