X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Froomops.c;h=2f4b0f1dff9a4104b31e58910321f4b3f3542015;hb=47bcaaabae789a2f20de958b84714ff2e23dc5bb;hp=400f7f64e01c0d9d2569207aea0642c70e895deb;hpb=0047450bd2108eb80c8c15b15ba7d9e3a4708452;p=citadel.git diff --git a/webcit/roomops.c b/webcit/roomops.c index 400f7f64e..2f4b0f1df 100644 --- a/webcit/roomops.c +++ b/webcit/roomops.c @@ -256,10 +256,13 @@ void listrms(char *variety) */ void zapped_list(void) { + StrBuf *Buf; output_headers(1, 1, 1, 0, 0, 0); - svput("BOXTITLE", WCS_STRING, _("Zapped (forgotten) rooms")); - do_template("beginbox", NULL); + Buf = NewStrBufPlain(_("Zapped (forgotten) rooms"), -1); + DoTemplate(HKEY("beginbox"), NULL, Buf, CTX_STRBUF); + + FreeStrBuf(&Buf); listrms("LZRM -1"); @@ -273,7 +276,7 @@ void zapped_list(void) /** * \brief read this room's info file (set v to 1 for verbose mode) */ -void readinfo(void) +void readinfo(StrBuf *Target, int nArgs, WCTemplateToken *Tokens, void *Context, int ContextType) { char buf[256]; char briefinfo[128]; @@ -322,7 +325,7 @@ void readinfo(void) * keep the browser from using a cached icon from * another room. */ -void embed_room_graphic(void) { +void embed_room_graphic(StrBuf *Target, int nArgs, WCTemplateToken *Tokens, void *Context, int ContextType) { char buf[SIZ]; serv_puts("OIMG _roompic_"); @@ -378,7 +381,7 @@ void embed_room_graphic(void) { /** * \brief Display the current view and offer an option to change it */ -void embed_view_o_matic(void) { +void embed_view_o_matic(StrBuf *Target, int nArgs, WCTemplateToken *Tokens, void *Context, int ContextType) { int i; wprintf("
\n"); @@ -419,7 +422,7 @@ void embed_view_o_matic(void) { /** * \brief Display a search box */ -void embed_search_o_matic(void) { +void embed_search_o_matic(StrBuf *Target, int nArgs, WCTemplateToken *Tokens, void *Context, int ContextType) { wprintf("\n"); wprintf("
\n", WC->nonce); wprintf("