From 83b0c9201a084527e7b913ee505ee0271b9baa10 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Thu, 17 Jul 2003 08:01:24 +0000 Subject: [PATCH] Renames 'display search' to 'list display' SVN revision: 591 --- doc/config.html | 12 ++++++------ src/elogd.c | 9 ++++++++- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/doc/config.html b/doc/config.html index 08af8aa4..ac4c064a 100755 --- a/doc/config.html +++ b/doc/config.html @@ -725,13 +725,13 @@ used by most browsers for bookmark names. The string can contain substitutions as described unter the "Subst <attribute>" option.

-

  • Display search = <list> +
  • List display = <list>
    -Specified the display and order of items in a search result page. In addition -to all attributes, one can specify here "ID" for the message ID, "Logbook" -and "Date". The restriction to certain attributes can be helpful if many -attributes are defined in a logbook, which usually makes the table too big to -fit in the browser. The default +Specified the display and order of items in a message listing page or a search +result page. In addition to all attributes, one can specify here "ID" for +the message ID, "Logbook" and "Date". The restriction to certain +attributes can be helpful if many attributes are defined in a logbook, which +usually makes the table too big to fit in the browser. The default is
     Display search = ID, Date, <all attributs>
    diff --git a/src/elogd.c b/src/elogd.c
    index 00738f60..480af4b0 100755
    --- a/src/elogd.c
    +++ b/src/elogd.c
    @@ -6,6 +6,9 @@
       Contents:     Web server program for Electronic Logbook ELOG
     
       $Log$
    +  Revision 1.137  2003/07/17 08:01:24  midas
    +  Renames 'display search' to 'list display'
    +
       Revision 1.136  2003/07/15 12:29:10  midas
       Fixed typo
     
    @@ -9699,7 +9702,11 @@ LOGBOOK *lbs_cur;
     
       size = printable ? 2 : 3;
     
    -  if (getcfg(lbs->name, "Display search", list))
    +  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 */
    +
    +  if (list[0])
         n_attr_disp = strbreak(list, disp_attr, MAX_N_ATTR);
       else
         {