Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon7.gif   Display legal banner, posted by Ed To on Wed May 24 08:22:36 2006 
    icon2.gif   Re: Display legal banner, posted by Stefan Ritt on Wed May 24 09:00:34 2006 
       icon2.gif   Re: Display legal banner, posted by Ed To on Wed May 24 18:09:51 2006 
          icon14.gif   Re: Display legal banner, posted by Ed To on Thu May 25 02:28:27 2006 
Message ID: 1837     Entry time: Wed May 24 09:00:34 2006     In reply to: 1836     Reply to this: 1838
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: Windows  ELOG Version: 2.6.1 
Subject: Re: Display legal banner 

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.
ELOG V3.1.5-fe60aaf