From d6a32cdbb4a6c7dae7d32a3b9ddff6b5a2619b3b Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Wed, 23 May 2007 12:55:17 +0000 Subject: [PATCH] Templatized the invocation of TinyMCE so it can be site customized (or even completely replaced) if desired --- webcit/messages.c | 17 ++--------------- webcit/static/richedit.html | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 15 deletions(-) create mode 100644 webcit/static/richedit.html diff --git a/webcit/messages.c b/webcit/messages.c index 6c19be0ce..7d1ace54c 100644 --- a/webcit/messages.c +++ b/webcit/messages.c @@ -3132,22 +3132,10 @@ void display_enter(void) wprintf(""); /** - * The following script embeds the TinyMCE richedit control, and automatically + * The following template embeds the TinyMCE richedit control, and automatically * transforms the textarea into a richedit textarea. */ - wprintf( - "\n" - "\n" - ); + do_template("richedit"); /** Enumerate any attachments which are already in place... */ wprintf("
\n", _("Add")); wprintf("
"); - /** Seth asked for these to be at the top *and* bottom... (removed) */ wprintf("
"); wprintf(" + -- 2.39.2