mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-10 18:23:28 +00:00
Fixed problem with {..} in attributes
SVN revision: 1006
This commit is contained in:
parent
d4e0d55987
commit
325223da37
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.422 2004/08/03 14:16:11 midas
|
||||||
|
Fixed problem with {..} in attributes
|
||||||
|
|
||||||
Revision 1.421 2004/08/03 09:58:36 midas
|
Revision 1.421 2004/08/03 09:58:36 midas
|
||||||
Added 0644 to mkdir under linux
|
Added 0644 to mkdir under linux
|
||||||
|
|
||||||
@ -7941,7 +7944,7 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
|||||||
loc("Submit as HTML text"));
|
loc("Submit as HTML text"));
|
||||||
else
|
else
|
||||||
rsprintf("<input type=checkbox name=html value=1>%s\n",
|
rsprintf("<input type=checkbox name=html value=1>%s\n",
|
||||||
loc("Submit as HTML text"));
|
loc("Submit as HTML text")); \
|
||||||
} else if (atoi(str) == 3) {
|
} else if (atoi(str) == 3) {
|
||||||
rsprintf("<input type=hidden name=html value=1>\n");
|
rsprintf("<input type=hidden name=html value=1>\n");
|
||||||
}
|
}
|
||||||
@ -15885,7 +15888,7 @@ void submit_elog(LOGBOOK * lbs)
|
|||||||
strlcpy(attrib[i], getparam(ua), NAME_LENGTH);
|
strlcpy(attrib[i], getparam(ua), NAME_LENGTH);
|
||||||
|
|
||||||
/* strip trailing "{...}" */
|
/* strip trailing "{...}" */
|
||||||
if (strchr(attrib[i], '{') && strchr(attrib[i], '}'))
|
if (is_cond_attr(i) && strchr(attrib[i], '{') && strchr(attrib[i], '}'))
|
||||||
*strchr(attrib[i], '{') = 0;
|
*strchr(attrib[i], '{') = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user