X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Froomops.c;h=7031fd6da10eb7ed788872013aa52428e268dee1;hb=2781973f43a71bd9c31fb8223ff607702a3613bd;hp=e3886724ddbc501957b66fc0c85ef68a80e3bbc9;hpb=a90531a72e57d3add6576487e7912a4249ffe7a9;p=citadel.git
diff --git a/webcit/roomops.c b/webcit/roomops.c
index e3886724d..7031fd6da 100644
--- a/webcit/roomops.c
+++ b/webcit/roomops.c
@@ -277,13 +277,16 @@ void tabular_room_list(void)
*/
void zapped_list(void)
{
- output_headers(1);
- wprintf("
");
- wprintf("Zapped (forgotten) rooms\n");
- wprintf(" |
\n");
+ output_headers(3);
+
+ svprintf("BOXTITLE", WCS_STRING, "Zapped (forgotten) rooms");
+ do_template("beginbox");
+
listrms("LZRM -1");
+
wprintf("
\n");
wprintf("Click on any room to un-zap it and goto that room.\n");
+ do_template("endbox");
wDumpContent(1);
}
@@ -1324,11 +1327,9 @@ void display_whok(void)
strcpy(username, bstr("username"));
output_headers(1);
-
- wprintf("");
- wprintf("Access control list for ");
- escputs(WC->wc_roomname);
- wprintf(" |
\n");
+ stresc(buf, WC->wc_roomname, 1);
+ svprintf("BOXTITLE", WCS_STRING, "Access control list for %s", buf);
+ do_template("beginbox");
if(!strcmp(bstr("sc"), "Kick")) {
sprintf(buf, "KICK %s", username);
@@ -1392,6 +1393,7 @@ void display_whok(void)
"\n");
wprintf("\n");
+ do_template("endbox");
wDumpContent(1);
}
@@ -1412,11 +1414,9 @@ void display_entroom(void)
display_error(&buf[4]);
return;
}
- output_headers(1);
-
- wprintf("");
- wprintf("Enter (create) a new room\n");
- wprintf(" |
\n");
+ output_headers(3);
+ svprintf("BOXTITLE", WCS_STRING, "Create a new room");
+ do_template("beginbox");
wprintf("\n");
+ do_template("endbox");
wDumpContent(1);
}
@@ -2109,7 +2115,7 @@ void knrooms() {
wprintf("\n");
offer_start_page();
- wprintf(" |
\n");
+ wprintf("\n");
/* Display the room list in the user's preferred format */
if (!strcasecmp(listviewpref, "table")) {