* messages.c: include the "edit html source" button in the message editor
authorArt Cancro <ajc@citadel.org>
Sat, 17 Dec 2005 05:25:18 +0000 (05:25 +0000)
committerArt Cancro <ajc@citadel.org>
Sat, 17 Dec 2005 05:25:18 +0000 (05:25 +0000)
  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
webcit/messages.c

index 9df4009144167fc3767f5c68c5f1f26df732c0de..fde36776dddd509bd9e3f960a82a51663ddb921a 100644 (file)
@@ -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.
index 038711622e39689055585a40876bc0ab6771077e..f7b8a95d553002fc7e5f9d95baad6efc1e1484b7 100644 (file)
@@ -2664,7 +2664,7 @@ void display_enter(void)
                wprintf("<br>"
                        "<blockquote>");
                pullquote_message(atol(bstr("replyquote")), 0);
-               wprintf("</blockquote>");
+               wprintf("</blockquote>\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 : \"\" "
                "});"