mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-10 18:23:28 +00:00
Display message comment on reedit
SVN revision: 641
This commit is contained in:
parent
81417f7945
commit
68e1636b70
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.169 2004/01/05 15:01:22 midas
|
||||||
|
Display message comment on reedit
|
||||||
|
|
||||||
Revision 1.168 2003/12/31 19:47:06 midas
|
Revision 1.168 2003/12/31 19:47:06 midas
|
||||||
Implemented conditional attributes
|
Implemented conditional attributes
|
||||||
|
|
||||||
@ -5844,7 +5847,7 @@ struct tm *ts;
|
|||||||
if (bedit && message_id)
|
if (bedit && message_id)
|
||||||
rsprintf("<input type=hidden name=edit_id value=\"%d\">\n", message_id);
|
rsprintf("<input type=hidden name=edit_id value=\"%d\">\n", message_id);
|
||||||
|
|
||||||
if (getcfg_cond(lbs->name, condition, "Message comment", comment) && !bedit && !message_id)
|
if (getcfg_cond(lbs->name, condition, "Message comment", comment) && !message_id)
|
||||||
{
|
{
|
||||||
rsputs(comment);
|
rsputs(comment);
|
||||||
rsputs("<br>\n");
|
rsputs("<br>\n");
|
||||||
@ -6132,7 +6135,7 @@ struct tm *ts;
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* optional attachment comment */
|
/* optional attachment comment */
|
||||||
if (getcfg_cond(lbs->name, condition, "Attachment comment", comment) && !bedit && !message_id)
|
if (getcfg_cond(lbs->name, condition, "Attachment comment", comment) && !message_id)
|
||||||
{
|
{
|
||||||
rsprintf("<tr><td colspan=2 class=\"attribvalue\">\n");
|
rsprintf("<tr><td colspan=2 class=\"attribvalue\">\n");
|
||||||
rsputs(comment);
|
rsputs(comment);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user