diff --git a/src/elogd.c b/src/elogd.c
index a9611e90..279f53c3 100755
--- a/src/elogd.c
+++ b/src/elogd.c
@@ -6,6 +6,9 @@
Contents: Web server program for Electronic Logbook ELOG
$Log$
+ Revision 1.199 2004/01/19 09:13:28 midas
+ Removed '{n}' in quick filter and find page list
+
Revision 1.198 2004/01/18 21:47:11 midas
Continued working on synchronizing
@@ -6454,7 +6457,7 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
void show_find_form(LOGBOOK * lbs)
{
int i, j;
- char str[NAME_LENGTH], mode[256], comment[256];
+ char str[NAME_LENGTH], mode[NAME_LENGTH], comment[NAME_LENGTH], option[NAME_LENGTH];
/*---- header ----*/
@@ -6625,26 +6628,35 @@ void show_find_form(LOGBOOK * lbs)
/* display image for icon */
else if (attr_flags[i] & AF_ICON) {
for (j = 0; j < MAX_N_LIST && attr_options[i][j][0]; j++) {
- sprintf(str, "Icon comment %s", attr_options[i][j]);
+ strcpy(option, attr_options[i][j]);
+ if (strchr(option, '{'))
+ *strchr(option, '{') = 0;
+
+ sprintf(str, "Icon comment %s", option);
getcfg(lbs->name, str, comment);
rsprintf("\n", attr_options[i][j]);
+ rsprintf("
\n", option);
}
}
else {
rsprintf("\n");
}
}
@@ -9195,7 +9207,7 @@ void show_page_filters(LOGBOOK * lbs, int n_msg, int page_n, int n_page, BOOL to
{
int cur_exp, n, i, j, index;
char ref[256], str[NAME_LENGTH], comment[NAME_LENGTH];
- char list[MAX_N_LIST][NAME_LENGTH];
+ char list[MAX_N_LIST][NAME_LENGTH], option[NAME_LENGTH];
rsprintf("