]> code.citadel.org Git - citadel.git/blobdiff - webcit/webcit.c
wiki
[citadel.git] / webcit / webcit.c
index 81f3281a74da1a9e400800bf80a9d12e156d61a3..566720800a23fcd24c4c4252bf2ed17ce8021d5d 100644 (file)
@@ -406,9 +406,8 @@ void output_headers(        int do_httpheaders,     /* 1 = output HTTP headers
                if ( (WC->logged_in) && (!unset_cookies) ) {
                        wprintf("<div id=\"iconbar\">");
                        do_selected_iconbar();
-
-                       /* check for instant messages (these display in a new window) */
-                       page_popup();
+                       /* check for instant messages (these display in a new window) 
+                       page_popup();  */
                        wprintf("</div>");
                }
 
@@ -1328,6 +1327,8 @@ void session_loop(struct httprequest *req)
                print_message(arg1);
        } else if (!strcasecmp(action, "msgheaders")) {
                display_headers(arg1);
+       } else if (!strcasecmp(action, "wiki")) {
+               display_wiki_page();
        } else if (!strcasecmp(action, "display_enter")) {
                display_enter();
        } else if (!strcasecmp(action, "post")) {
@@ -1375,7 +1376,7 @@ void session_loop(struct httprequest *req)
        } else if (!strcasecmp(action, "editinfo")) {
                save_edit(_("Room info"), "EINF 1", 1);
        } else if (!strcasecmp(action, "display_editbio")) {
-               sprintf(buf, "RBIO %s", WC->wc_username);
+               sprintf(buf, "RBIO %s", WC->wc_fullname);
                display_edit(_("Your bio"), "NOOP", buf, "editbio", 3);
        } else if (!strcasecmp(action, "editbio")) {
                save_edit(_("Your bio"), "EBIO", 0);