Remove $Id$ tags from most of webcit
[citadel.git] / webcit / sysmsgs.c
index f35097eb3b00ce661452e834d696e4c4a495e6be..930b793f9f152e804dde09dd5a5ba2fb8be475e3 100644 (file)
@@ -1,6 +1,3 @@
-/*
- * $Id$
- */
 #include "webcit.h"
 
 
@@ -32,8 +29,9 @@ void display_edit(char *description, char *check_cmd,
                output_headers(1, 1, 0, 0, 0, 0);
        }
 
-       svprintf(HKEY("BOXTITLE"), WCS_STRING, _("Edit %s"), description);
-       do_template("beginboxx", NULL);
+       do_template("beginbox_1", NULL);
+       StrBufAppendPrintf (WC->WBuf, _("Edit %s"), description);
+       do_template("beginbox_2", NULL);
 
        wc_printf(_("Enter %s below. Text is formatted to the reader's browser."
                " A newline is forced by preceding the next line by a blank."), description);
@@ -85,7 +83,7 @@ void save_edit(char *description, char *enter_cmd, int regoto)
        serv_puts("000");
 
        if (regoto) {
-               smart_goto(WC->wc_roomname);
+               smart_goto(WC->CurRoom.name);
        } else {
                sprintf(WC->ImportantMessage,
                        _("%s has been saved."),