Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   about shiftcheck, posted by Xuan Wu on Tue May 15 04:41:23 2018 shiftcheck1.pngshiftcheck2.pngshiftcheck3.png
    icon2.gif   Re: about shiftcheck, posted by Andreas Luedeke on Tue May 15 10:35:32 2018 
       icon2.gif   Re: about shiftcheck, posted by Xuan Wu on Wed May 16 02:20:24 2018 
Message ID: 68800     Entry time: Tue May 15 10:35:32 2018     In reply to: 68799     Reply to this: 68801
Icon: Reply  Author: Andreas Luedeke  Author Email: andreas.luedeke@psi.ch 
Category: Question  OS: Linux  ELOG Version: 3.1.2 
Subject: Re: about shiftcheck 

An attribute is similar to a variable. Do you know any programming language that allows to start a variable with a digit? I don't.

The solution is very obvious: start your attributes with a letter.

Cheers, Andreas

Xuan Wu wrote:

Hi all,

I try to implement a shift check list for our facility. The attributes called "a1, a2, b1, b2 etc" are used in original shiftcheck.html, However, we would like to use "1.1, 1.2, 2.1, 2.2 etc". So I try to change the name of checkbox in shiftcheck.html and the attributes in elogd.cfg file to "1.1, 1.2, 2.1, 2.2 etc". The elog web page can display the attributes like "1.1, 1.2...", but the checked value of "on" seems not working. And I have used wirshark to monitor the http package, the request message seems correct, but the service response seems can't deal with attributes like "1.1, 1.2...", so is there a way to work around?

 

ELOG V3.1.5-fe60aaf