diff --git a/doc/ChangeLog b/doc/ChangeLog
index bd11b986..8db8346c 100755
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -2,6 +2,8 @@ Version 2.3.6, released April xxx, 2003
=======================================
- Eliminated WEB_BUFFER_SIZE, made memory allocation dynamically
+- Fixed bug that attachments were deleted on reply
+- Added flag "Hide from selection"
Version 2.3.5, released April 9th, 2003
=======================================
diff --git a/doc/config.html b/doc/config.html
index f346fb63..d7bb644f 100755
--- a/doc/config.html
+++ b/doc/config.html
@@ -1170,6 +1170,13 @@ message body. The number of lines is controlled by the Summary lines1.
+
Hide from selection = 0|1
+
+If this flag is 1, the logbook is not displayed in the initial logbook selection
+page. This can be useful for "hidden" logbooks, which are only accessed for backup or
+archiving and would clutter up the logbook selection page. Default is 0.
++
diff --git a/src/elogd.c b/src/elogd.c
index 5f3d3211..125c5f0c 100755
--- a/src/elogd.c
+++ b/src/elogd.c
@@ -6,6 +6,9 @@
Contents: Web server program for Electronic Logbook ELOG
$Log$
+ Revision 1.84 2003/04/15 10:58:09 midas
+ Added 'hide from selection' flag
+
Revision 1.83 2003/04/14 08:43:11 midas
Fixed bug that attachments got deleted if one replies to a message
@@ -11001,15 +11004,18 @@ char str[10000];
if (!lb_list[i].name[0])
break;
- rsprintf("%s ", lb_list[i].name_enc, lb_list[i].name);
+ if (!getcfg(lb_list[i].name, "Hide from selection", str) || atoi(str) == 0)
+ {
+ rsprintf(" \n");
+ rsprintf("%s ", lb_list[i].name_enc, lb_list[i].name);
- str[0] = 0;
- getcfg(lb_list[i].name, "Comment", str);
- rsprintf("%s \n", str);
+ str[0] = 0;
+ getcfg(lb_list[i].name, "Comment", str);
+ rsprintf("%s \n", str);
- rsprintf("");
- rsprintf(loc("%d entries"), *lb_list[i].n_el_index);
- rsprintf("