X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Froomops.c;h=66ffe4dd46c5d9f915890aaa1a4d748f4a2d38c5;hb=37117bad89e16d3b7b89ab7e24526a5478593626;hp=068ab233a9d06bcc21a168681601877826a3c07a;hpb=8cca0febb0328ba2759994318f557973d5b7279d;p=citadel.git diff --git a/webcit/roomops.c b/webcit/roomops.c index 068ab233a..66ffe4dd4 100644 --- a/webcit/roomops.c +++ b/webcit/roomops.c @@ -270,9 +270,8 @@ void list_all_rooms_by_floor(void) void zapped_list(void) { output_headers(1); - wprintf(""); @@ -328,8 +327,8 @@ void embed_newmail_button(void) { "" "" - "
" - "%d new mail
", WC->new_mail); + "
" + "%d new mail", WC->new_mail); WC->remember_new_mail = WC->new_mail; } } @@ -746,18 +745,18 @@ void display_editroom(void) /* print the tabbed dialog */ wprintf("
"); - wprintf("Zapped (forgotten) rooms\n"); + wprintf("
"); + wprintf("Zapped (forgotten) rooms\n"); wprintf("

\n"); listrms("LZRM -1"); wprintf("

\n"); @@ -309,7 +308,7 @@ void embed_room_graphic(void) { serv_puts("OIMG _roompic_"); serv_gets(buf); if (buf[0] == '2') { - wprintf("
"); + wprintf(""); wprintf("wc_roomname); wprintf("\">
" - "" + "" "\n"); if (!strcmp(tab, "admin")) { - wprintf("\n"); + wprintf("\n"); } else { wprintf("\n"); @@ -766,14 +765,14 @@ void display_editroom(void) wprintf("\n"); if (!strcmp(tab, "config")) { - wprintf("\n"); + wprintf("\n"); } else { wprintf("\n"); @@ -782,14 +781,14 @@ void display_editroom(void) wprintf("\n"); if (!strcmp(tab, "sharing")) { - wprintf("\n"); + wprintf("\n"); } else { wprintf("\n"); @@ -798,21 +797,21 @@ void display_editroom(void) wprintf("\n"); if (!strcmp(tab, "listserv")) { - wprintf("\n"); + wprintf("\n"); } else { wprintf("\n"); } wprintf("" - "" + "" "
 "); + wprintf(""); } else { - wprintf(""); + wprintf(""); } wprintf("Room administration"); if (!strcmp(tab, "admin")) { - wprintf(" "); + wprintf(""); } else { - wprintf(""); + wprintf(""); } wprintf("Room configuration"); if (!strcmp(tab, "config")) { - wprintf(" "); + wprintf(""); } else { - wprintf(""); + wprintf(""); } wprintf("Sharing"); if (!strcmp(tab, "sharing")) { - wprintf(" "); + wprintf(""); } else { - wprintf(""); + wprintf(""); } wprintf("Mailing list service"); if (!strcmp(tab, "listserv")) { - wprintf(" 
\n"); /* end tabbed dialog */ @@ -1315,10 +1314,10 @@ void display_whok(void) output_headers(1); - wprintf("
"); - wprintf("Access control list for "); + wprintf("
"); + wprintf("Access control list for "); escputs(WC->wc_roomname); - wprintf("
\n"); + wprintf("
\n"); if(!strcmp(bstr("sc"), "Kick")) { sprintf(buf, "KICK %s", username); @@ -1404,10 +1403,9 @@ void display_entroom(void) } output_headers(1); - wprintf("
"); - wprintf("Enter (create) a new room\n"); - wprintf("
\n"); + wprintf("
"); + wprintf("Enter (create) a new room\n"); + wprintf("
\n"); wprintf("
\n"); @@ -1508,10 +1506,9 @@ void display_private(char *rname, int req_pass) output_headers(1); - wprintf("
"); - wprintf("Goto a private room\n"); - wprintf("
\n"); + wprintf("
"); + wprintf("Goto a private room\n"); + wprintf("
\n"); wprintf("
\n"); wprintf("If you know the name of a hidden (guess-name) or\n"); @@ -1582,10 +1579,9 @@ void display_zap(void) { output_headers(1); - wprintf("
"); - wprintf("Zap (forget) the current room\n"); - wprintf("
\n"); + wprintf("
"); + wprintf("Zap (forget) the current room\n"); + wprintf("
\n"); wprintf("If you select this option, %s will ", WC->wc_roomname); wprintf("disappear from your room list. Is this what you wish "); @@ -1647,10 +1643,9 @@ void confirm_delete_room(void) return; } output_headers(1); - wprintf("
"); - wprintf("Confirm deletion of room\n"); - wprintf("
\n"); + wprintf("
"); + wprintf("Confirm deletion of room\n"); + wprintf("
\n"); wprintf("
"); wprintf("\n"); @@ -1981,8 +1976,8 @@ void knrooms() { } /* title bar */ - wprintf("
" - "" + wprintf("\n"); + wprintf("\n"); /* offer the ability to switch views */
" + "" ); if (!strcasecmp(listviewpref, "rooms")) { wprintf("Room list"); @@ -1990,7 +1985,7 @@ void knrooms() { if (!strcasecmp(listviewpref, "folders")) { wprintf("Folder list"); } - wprintf("