Added /static/webcit-tinymce.css which is applied when
authorArt Cancro <ajc@citadel.org>
Wed, 26 Apr 2006 02:58:00 +0000 (02:58 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 26 Apr 2006 02:58:00 +0000 (02:58 +0000)
TinyMCE is called from WebCit.  Configured it to use a 10pt font in
the editor window instead of the tiny font.

webcit/src/auth.c
webcit/src/messages.c
webcit/static/beginbox_nt.html

index 3122693daa55401c55a16369b21afa0ac368885c..0f594e163105f87dc7f0e78d5d844945bc133499 100644 (file)
@@ -262,20 +262,13 @@ void do_welcome(void)
 void end_webcit_session(void) {
        char buf[256];
 
-       TRACE;
        if (WC->logged_in) {
-               TRACE;
                sprintf(buf, "%d", WC->current_iconbar);
-               TRACE;
                set_preference("current_iconbar", buf, 0);
-               TRACE;
                set_preference("floordiv_expanded", WC->floordiv_expanded, 1);
-               TRACE;
        }
 
-       TRACE;
        serv_puts("QUIT");
-       TRACE;
        WC->killthis = 1;
        /* close() of citadel socket will be done by do_housekeeping() */
 }
index 1394584edd81e1f697e9122b1705178d5a75bd38..cfce5f9743c401005144e8bd4dc941cae399fe0f 100644 (file)
@@ -3023,7 +3023,8 @@ void display_enter(void)
                "       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, code\", "
                "       theme_advanced_buttons2 : \"\", "
-               "       theme_advanced_buttons3 : \"\" "
+               "       theme_advanced_buttons3 : \"\", "
+               "       content_css : \"static/webcit-tinymce.css\" "
                "});"
                "</script>\n"
        );
index c4add3c9fb42c65b9067e81b4a57db27c0f0fd42..adb84e34b378c240884c248f09154434345a1039 100644 (file)
@@ -2,4 +2,4 @@
 <table border=1 cellspacing=0 cellpadding=0 width=100%><tr><td>
 <table border=0 cellspacing=0 cellpadding=3 width=100%>
 <tr><td bgcolor="#FFFFFF">
-<! end beginbox_nt.html>
\ No newline at end of file
+<! end beginbox_nt.html>