From 03872e679d4bed3354b006cc158018ecae332fda Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Tue, 26 Jul 2005 18:15:19 +0000 Subject: [PATCH] Added 'reply comment' SVN revision: 1455 --- doc/config.html | 6 ++++++ src/elogd.c | 9 +++++++++ 2 files changed, 15 insertions(+) diff --git a/doc/config.html b/doc/config.html index 51118562..81e71cb9 100755 --- a/doc/config.html +++ b/doc/config.html @@ -519,6 +519,12 @@ This optional comment is displayed on top of the text entry field when submittin a new message. It can contain a sentence like "Please enter your message here:".

+

  • Reply comment = <comment> +
    +This optional comment is displayed on top of the text entry field when replying to an +exiting entry. It can contain a sentence like "Please enter your reply here:". +

    +

  • Attachment comment = <comment>
    This optional comment is displayed on top of the attachment sumbission section when entering diff --git a/src/elogd.c b/src/elogd.c index 2d333253..610d5dfa 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -6,6 +6,9 @@ Contents: Web server program for Electronic Logbook ELOG $Log$ + Revision 1.726 2005/07/26 18:15:19 ritt + Added 'reply comment' + Revision 1.725 2005/07/26 18:11:06 ritt Changed 'summary page title' to 'list page title' @@ -10165,6 +10168,12 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL rsputs("
    \n"); } + if (getcfg(lbs->name, "Reply comment", comment, sizeof(comment)) + && breply) { + rsputs(comment); + rsputs("
    \n"); + } + preset_text = getcfg(lbs->name, "Preset text", str, sizeof(str)); if (preset_text) {