X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Froomops.c;h=e9a25ddc915b0c66c7038d1bc53b6d7ba8a9bcdb;hb=64a9d779e6d2f3e8b9b8492aea68fbf881d6d71b;hp=73a9b90da2352a24888e81b2c13e421e1525c4db;hpb=450c8beef81a4e7d23d0afc17c7ae5d1dba4e6ba;p=citadel.git diff --git a/webcit/roomops.c b/webcit/roomops.c index 73a9b90da..e9a25ddc9 100644 --- a/webcit/roomops.c +++ b/webcit/roomops.c @@ -256,7 +256,7 @@ void zapped_list(void) { output_headers(1, 1, 1, 0, 0, 0); - svprintf("BOXTITLE", WCS_STRING, _("Zapped (forgotten) rooms")); + svput("BOXTITLE", WCS_STRING, _("Zapped (forgotten) rooms")); do_template("beginbox"); listrms("LZRM -1"); @@ -491,8 +491,8 @@ void embed_room_banner(char *got, int navbar_style) { strcpy (with_files, ""); stresc(sanitized_roomname, 256, WC->wc_roomname, 1, 1); - svprintf("ROOMNAME", WCS_STRING, "%s", sanitized_roomname); - svprintf("NUMMSGS", WCS_STRING, + svprintf(HKEY("ROOMNAME"), WCS_STRING, "%s", sanitized_roomname); + svprintf(HKEY("NUMMSGS"), WCS_STRING, _("%d new of %d messages%s"), extract_int(&got[4], 1), extract_int(&got[4], 2), @@ -2388,7 +2388,7 @@ void display_entroom(void) output_headers(1, 1, 1, 0, 0, 0); - svprintf("BOXTITLE", WCS_STRING, _("Create a new room")); + svprintf(HKEY("BOXTITLE"), WCS_STRING, _("Create a new room")); do_template("beginbox"); wprintf("
\n"); @@ -2615,7 +2615,7 @@ void display_private(char *rname, int req_pass) { output_headers(1, 1, 1, 0, 0, 0); - svprintf("BOXTITLE", WCS_STRING, _("Go to a hidden room")); + svprintf(HKEY("BOXTITLE"), WCS_STRING, _("Go to a hidden room")); do_template("beginbox"); wprintf("

"); @@ -3123,7 +3123,7 @@ void do_rooms_view(struct folder *fold, int max_folders, int num_floors) { if (levels == 1) { /** Begin inner box */ stresc(boxtitle, 256, floor_name, 1, 0); - svprintf("BOXTITLE", WCS_STRING, boxtitle); + svprintf(HKEY("BOXTITLE"), WCS_STRING, boxtitle); do_template("beginbox"); }