From 2957325d8d14fe6261d28e65d1a72ec8f3d93503 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Fri, 21 Mar 2003 16:04:28 +0000 Subject: [PATCH] Added 'admin textarea' SVN revision: 446 --- doc/config.html | 5 +++++ src/elogd.c | 18 ++++++++++++++++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/doc/config.html b/doc/config.html index e651aa5b..cf99091c 100755 --- a/doc/config.html +++ b/doc/config.html @@ -539,6 +539,11 @@ The default value is 20, and can be changed for installations which need a different window size.

+

  • Admin textarea = <cols>,<rows> +
    +This defines the textarea size for the admin page. Default is 80,40. +

    +

  • Display mode = [full|summary|threaded]
    Default mode for search display. On the find entry form, the checkboxes diff --git a/src/elogd.c b/src/elogd.c index 6bccc485..c329f7ed 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -6,6 +6,9 @@ Contents: Web server program for Electronic Logbook ELOG $Log$ + Revision 1.50 2003/03/21 16:04:28 midas + Added 'admin textarea' + Revision 1.49 2003/03/19 08:56:40 midas Added 'quote on reply' @@ -5725,7 +5728,7 @@ char str[NAME_LENGTH], mode[256]; void show_admin_page(LOGBOOK *lbs) { -int fh, length; +int fh, length, rows, cols; char *buffer; char str[NAME_LENGTH]; @@ -5774,7 +5777,18 @@ char str[NAME_LENGTH]; buffer[length] = 0; close(fh); - rsprintf("