* Switched our TinyMCE call to the "advanced" theme. Also enabled
authorArt Cancro <ajc@citadel.org>
Sat, 10 Dec 2005 22:45:51 +0000 (22:45 +0000)
committerArt Cancro <ajc@citadel.org>
Sat, 10 Dec 2005 22:45:51 +0000 (22:45 +0000)
  the IESpell plugin (when Internet Explorer is in use).

webcit/ChangeLog
webcit/messages.c
webcit/webcit.h

index 7d00b88e20cb7ff8ca1780786c4e7f441ce78573..d2b6ff59907ccdde5878ca39122faba0427151d6 100644 (file)
@@ -1,5 +1,9 @@
 $Id$
 
+Sat Dec 10 17:44:51 EST 2005 ajc
+* Switched our TinyMCE call to the "advanced" theme.  Also enabled
+  the IESpell plugin (when Internet Explorer is in use).
+
 Fri Dec  9 14:40:21 EST 2005 ajc
 * Deleting a message from the Trash folder now actually deletes it instead
   of trying to move it to the Trash.  Requires Citadel server 6.63.
index f91bb406a6323aeb7b5f93854e53576d84dc6f17..c075d10c473f8269d60fca569c00bd69126ac54e 100644 (file)
@@ -2657,11 +2657,16 @@ void display_enter(void)
                "<script language=\"javascript\" type=\"text/javascript\" src=\"tiny_mce/tiny_mce.js\"></script>\n"
                "<script language=\"javascript\" type=\"text/javascript\">"
                "tinyMCE.init({"
-               "       mode : \"textareas\", width : \"100%%\", browsers : \"msie,gecko\" "
+               "       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_buttons2 : \"\", "
+               "       theme_advanced_buttons3 : \"\" "
                "});"
                "</script>\n"
        );
 
+
        /* Enumerate any attachments which are already in place... */
        wprintf("<img src=\"static/diskette_24x.gif\" border=0 "
                "align=middle height=16 width=16> ");
index d7a3f403abe3d1a87b3123950b5f3b4924dbb86d..fbaccbeba72a848cb545898b3d1ff2507091945c 100644 (file)
 #define DEVELOPER_ID           0
 #define CLIENT_ID              4
 #define CLIENT_VERSION         640             /* This version of WebCit */
-#define MINIMUM_CIT_VERSION    663             /* min required Citadel ver. */
+#define MINIMUM_CIT_VERSION    661             /* min required Citadel ver. */
 #define DEFAULT_HOST           "localhost"     /* Default Citadel server */
 #define DEFAULT_PORT           "504"
 #define LB                     (1)             /* Internal escape chars */