mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-29 04:04:29 +00:00
Expand substitutions with 'preset' and conditional attributes
SVN revision: 794
This commit is contained in:
parent
f2ba0ff6e9
commit
0e3e4199f0
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.265 2004/02/25 15:55:19 midas
|
||||||
|
Expand substitutions with 'preset' and conditional attributes
|
||||||
|
|
||||||
Revision 1.264 2004/02/25 14:39:26 midas
|
Revision 1.264 2004/02/25 14:39:26 midas
|
||||||
Automatic hot links terminated with a '.' get correctly displayed
|
Automatic hot links terminated with a '.' get correctly displayed
|
||||||
|
|
||||||
@ -6498,7 +6501,7 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
|||||||
|
|
||||||
if (!bedit || (breedit && i == 2)) { /* subst on reedit only if preset is under condition */
|
if (!bedit || (breedit && i == 2)) { /* subst on reedit only if preset is under condition */
|
||||||
|
|
||||||
i = build_subst_list(lbs, slist, svalue, NULL);
|
i = build_subst_list(lbs, slist, svalue, attrib);
|
||||||
strsubst(preset, slist, svalue, i);
|
strsubst(preset, slist, svalue, i);
|
||||||
|
|
||||||
/* check for index substitution */
|
/* check for index substitution */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user