mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-12 19:33:03 +00:00
Solved bug with 'fixed' ROptions attributes
SVN revision: 1198
This commit is contained in:
parent
55d409a6fc
commit
0ffec93216
10
src/elogd.c
10
src/elogd.c
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.555 2005/02/13 15:42:39 ritt
|
||||||
|
Solved bug with 'fixed' ROptions attributes
|
||||||
|
|
||||||
Revision 1.554 2005/02/12 16:14:19 ritt
|
Revision 1.554 2005/02/12 16:14:19 ritt
|
||||||
Removed superflous </a>
|
Removed superflous </a>
|
||||||
|
|
||||||
@ -8214,13 +8217,6 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
|||||||
if (strstr(attrib[index], attr_options[index][i]))
|
if (strstr(attrib[index], attr_options[index][i]))
|
||||||
rsprintf("<input type=\"hidden\" name=\"%s\" value=\"%s\">\n", str, attr_options[index][i]);
|
rsprintf("<input type=\"hidden\" name=\"%s\" value=\"%s\">\n", str, attr_options[index][i]);
|
||||||
}
|
}
|
||||||
} else if (attr_flags[index] & AF_RADIO) {
|
|
||||||
for (i = 0; i < MAX_N_LIST && attr_options[index][i][0]; i++) {
|
|
||||||
sprintf(str, "%s_%d", ua, i);
|
|
||||||
|
|
||||||
if (strstr(attrib[index], attr_options[index][i]))
|
|
||||||
rsprintf("<input type=\"hidden\" name=\"%s\" value=\"%s\">\n", str, attr_options[index][i]);
|
|
||||||
}
|
|
||||||
} else if (attr_flags[index] & AF_ICON) {
|
} else if (attr_flags[index] & AF_ICON) {
|
||||||
for (i = 0; i < MAX_N_LIST && attr_options[index][i][0]; i++) {
|
for (i = 0; i < MAX_N_LIST && attr_options[index][i][0]; i++) {
|
||||||
sprintf(str, "%s_%d", ua, i);
|
sprintf(str, "%s_%d", ua, i);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user