mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-10-01 05:05:19 +00:00
Evaluage 'pre/append on edit/reply' even for empty entries
SVN revision: 815
This commit is contained in:
parent
661c0d395c
commit
2a6c16519c
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.282 2004/03/08 08:59:06 midas
|
||||||
|
Evaluage 'pre/append on edit/reply' even for empty entries
|
||||||
|
|
||||||
Revision 1.281 2004/03/08 08:13:09 midas
|
Revision 1.281 2004/03/08 08:13:09 midas
|
||||||
Replaces __TIMESTAMP__ with __DATE__ and __TIME__
|
Replaces __TIMESTAMP__ with __DATE__ and __TIME__
|
||||||
|
|
||||||
@ -6907,7 +6910,6 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
|||||||
|| atoi(str) == 1) {
|
|| atoi(str) == 1) {
|
||||||
rsprintf("<textarea rows=%d cols=%d wrap=hard name=Text>", height, width);
|
rsprintf("<textarea rows=%d cols=%d wrap=hard name=Text>", height, width);
|
||||||
|
|
||||||
if (text[0]) {
|
|
||||||
if (bedit) {
|
if (bedit) {
|
||||||
if (bupload || (!bupload && !breedit)
|
if (bupload || (!bupload && !breedit)
|
||||||
|| (breedit && !getcfg_cond(lbs->name, condition, "Preset text", str))) {
|
|| (breedit && !getcfg_cond(lbs->name, condition, "Preset text", str))) {
|
||||||
@ -6995,7 +6997,6 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if ((!message_id || breedit)
|
if ((!message_id || breedit)
|
||||||
&& getcfg_cond(lbs->name, condition, "Preset text", str)) {
|
&& getcfg_cond(lbs->name, condition, "Preset text", str)) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user