From 0138649f2b9c7415f1bcf2512946655c1542cd5d Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Sat, 17 Dec 2005 05:25:18 +0000 Subject: [PATCH] * messages.c: include the "edit html source" button in the message editor window. Also, when pullquoting a message, insert a \n\n at the end so the TinyMCE editor allows the user to advance past the quote. --- webcit/ChangeLog | 5 +++++ webcit/messages.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/webcit/ChangeLog b/webcit/ChangeLog index 9df400914..fde36776d 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,5 +1,10 @@ $Id$ +Sat Dec 17 00:24:05 EST 2005 ajc +* messages.c: include the "edit html source" button in the message editor + window. Also, when pullquoting a message, insert a \n\n at the end so + the TinyMCE editor allows the user to advance past the quote. + Thu Dec 15 23:50:45 EST 2005 ajc * Checkbox to allow anonymous posting in rooms which allow it. Resolves bugzilla #65. diff --git a/webcit/messages.c b/webcit/messages.c index 038711622..f7b8a95d5 100644 --- a/webcit/messages.c +++ b/webcit/messages.c @@ -2664,7 +2664,7 @@ void display_enter(void) wprintf("
" "
"); pullquote_message(atol(bstr("replyquote")), 0); - wprintf("
"); + wprintf("\n\n"); } /* Insert our signature if appropriate... */ @@ -2713,7 +2713,7 @@ void display_enter(void) "tinyMCE.init({" " mode : \"textareas\", width : \"100%%\", browsers : \"msie,gecko\", " " theme : \"advanced\", plugins : \"iespell\", " - " theme_advanced_buttons1 : \"bold, italic, underline, strikethrough, justifyleft, justifycenter, justifyright, justifyfull, bullist, numlist, cut, copy, paste, link, image, help, forecolor, iespell\", " + " theme_advanced_buttons1 : \"bold, italic, underline, strikethrough, justifyleft, justifycenter, justifyright, justifyfull, bullist, numlist, cut, copy, paste, link, image, help, forecolor, iespell, code\", " " theme_advanced_buttons2 : \"\", " " theme_advanced_buttons3 : \"\" " "});" -- 2.39.2