From 8ac530fbcd02369335b2907c4c0d0d4be4a07b8c Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Thu, 2 Aug 2007 15:38:52 +0000 Subject: [PATCH] Added custom configuration for FCKeditor SVN revision: 1899 --- src/elogd.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/elogd.c b/src/elogd.c index 6c02ef3e..9f205735 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -9483,6 +9483,7 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL rsprintf("{\n"); rsprintf(" var oFCKeditor = new FCKeditor('Text', '100%%', '500');\n"); rsprintf(" oFCKeditor.BasePath = '../fckeditor/';\n"); + rsprintf(" oFCKeditor.Config['CustomConfigurationsPath'] = '../fckelog.js';\n"); rsprintf(" oFCKeditor.ReplaceTextarea();\n"); rsprintf("}\n"); rsprintf("\n\n"); @@ -25933,7 +25934,11 @@ void server_loop(void) send(_sock, return_buffer, return_length, 0); if (verbose) { eprintf("==== Return ================================\n"); - eputs(return_buffer); + if (chkext(str, ".gif") || chkext(str, ".jpg") + || chkext(str, ".png") || chkext(str, ".ico") || return_length > 10000) + eprintf("\n<%d bytes of %s>\n\n", return_length, str); + else + eputs(return_buffer); eprintf("\n\n"); } goto finished;