diff --git a/doc/config.html b/doc/config.html index 36e7159e..482a044d 100755 --- a/doc/config.html +++ b/doc/config.html @@ -876,6 +876,14 @@ message body is controlled by the Display mode and an additional colums with the logbook name of each entry is added in front.

+

  • Guest List display = <list> +
    +Same as List display, but for guest access (user level +access with password, but not logged in). Please see also Guest +display. +

    + +

  • Thread display = <string>
    Optional way to specify the line contents in the threaded search result. Following diff --git a/doc/wishlist.html b/doc/wishlist.html index 174e67db..7d676b9e 100755 --- a/doc/wishlist.html +++ b/doc/wishlist.html @@ -32,7 +32,7 @@ starting at the items with the most votes. You can vote for a feature, or sugges - + diff --git a/src/elogd.c b/src/elogd.c index 53691efc..4c129a2b 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -6,6 +6,9 @@ Contents: Web server program for Electronic Logbook ELOG $Log$ + Revision 1.303 2004/03/19 15:11:20 midas + Implemented 'guest list display' + Revision 1.302 2004/03/19 11:12:00 midas Implemented 'extendable options' for MOptions @@ -12660,10 +12663,26 @@ void show_elog_list(LOGBOOK * lbs, INT past_n, INT last_n, INT page_n) rsprintf("
    FeatureVotes
    Implement groups of users3
    Implement groups of users4
    Use "and" and "or" operands in queries3
    Password expiration1
    Account expiration1
    \n"); size = printable ? 2 : 3; + show_text = TRUE; list[0] = 0; - if (!getcfg(lbs->name, "List display", list)) /* new 2.3.10 format */ - getcfg(lbs->name, "Display search", list); /* old 2.3.9 format */ + getcfg(lbs->name, "List display", list); + + /* evaluate Guest display list */ + if (getcfg(lbs->name, "Password file", str) && + getcfg(lbs->name, "Guest list display", str) && + !isparam("unm")) { + + strcpy(list, str); + + n = strbreak(list, (char (*)[NAME_LENGTH])gattr, MAX_N_ATTR, ","); + for (j=0 ; jname, "Password file", str) && - getcfg(lbs->name, "Guest display", str) && - !isparam("unm")) { - - n = strbreak(str, (char (*)[NAME_LENGTH])gattr, MAX_N_ATTR, ","); - for (i=0 ; i\n");