mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Added 'comment <attribute>'
SVN revision: 634
This commit is contained in:
parent
9ee0cc8bff
commit
6f2b9e78fc
@ -660,6 +660,12 @@ New icons are welcome and should be sent back to the author to be incorporated
|
||||
in the next version.
|
||||
<p>
|
||||
|
||||
<LI><b><code>Comment <attribute> = <comment></code></b>
|
||||
<br>
|
||||
Optional comment which is displayed below the attribute name in the entry form.
|
||||
Can be used to explain the attribute somehow.
|
||||
<p>
|
||||
|
||||
<LI><b><code>Icon comment <icon> = <comment></code></b>
|
||||
<br>
|
||||
Icons may contain a comment, which is then used in email notifications instead
|
||||
|
||||
12
src/elogd.c
12
src/elogd.c
@ -6,6 +6,9 @@
|
||||
Contents: Web server program for Electronic Logbook ELOG
|
||||
|
||||
$Log$
|
||||
Revision 1.163 2003/12/03 14:36:01 midas
|
||||
Added 'comment <attribute>'
|
||||
|
||||
Revision 1.162 2003/12/03 12:49:14 midas
|
||||
Changed email notification format
|
||||
|
||||
@ -5524,7 +5527,14 @@ char fl[8][NAME_LENGTH];
|
||||
}
|
||||
|
||||
/* display text box */
|
||||
rsprintf("<tr><td nowrap class=\"attribname\">%s%s:</td>", attr_list[index], star);
|
||||
rsprintf("<tr><td nowrap class=\"attribname\">%s%s:", attr_list[index], star);
|
||||
|
||||
/* show optional comment */
|
||||
sprintf(str, "Comment %s", attr_list[index]);
|
||||
if (getcfg(lbs->name, str, comment))
|
||||
rsprintf("<br><span class=\"selcomment\"><b>%s</b></span>\n", comment);
|
||||
|
||||
rsprintf("</td>\n");
|
||||
|
||||
/* if attribute cannot be changed, just display text */
|
||||
if ((attr_flags[index] & AF_LOCKED) ||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user