|
Demo
Discussion
|
Forum
Config Examples
Contributions
Vulnerabilities
|
Discussion forum about ELOG |
Not logged in |
 |
|
|
Message ID: 1838
Entry time: Wed May 24 18:09:51 2006
In reply to: 1837
Reply to this: 1839
|
|
Category: |
Question |
OS: |
Windows |
ELOG Version: |
2.6.1 |
|
Subject: |
Re: Display legal banner |
|
|
Stefan Ritt wrote: |
Ed To wrote: | I read somewhere that javascript is supported with elog. For legal reasons, I have to post a legal banner before the login prompt. Can you tell me how to do this? I'm not a programmer, but I guess I could use the javascript alert command to do this. What file would I need to change? |
Unfortunately it was not possible to do that for the login page, so I had to add a new option Bottom text login which I implemented just now. You can now indeed use the alert command to do what you want, like
in elog.cfg:
Bottom text login = alert.html
and in alert.html:
<script language="JavaScript" type="text/javascript">
<!--
alert("Hello world");
//-->
</script>
or whatever legal statement you have to make.
The new version can be downloaded as elog261-5.exe from the home page. |
Wow, I wasn't expecting that quick of a response. Thanks Stefan. BTW, I really like elog. It's simple to setup and use. Keep up the good work. |