]> code.citadel.org Git - citadel.git/blobdiff - webcit/sysmsgs.c
* migrated SUBST stuff to hash
[citadel.git] / webcit / sysmsgs.c
index 3c139232ae41542dd94e79bc5cfff0823e283e1d..e336f0f774327e111a0f164fb6491ed77e7f31bf 100644 (file)
@@ -37,7 +37,7 @@ void display_edit(char *description, char *check_cmd,
                output_headers(1, 1, 0, 0, 0, 0);
        }
 
-       svprintf("BOXTITLE", WCS_STRING, _("Edit %s"), description);
+       svprintf(HKEY("BOXTITLE"), WCS_STRING, _("Edit %s"), description);
        do_template("beginbox");
 
        wprintf(_("Enter %s below. Text is formatted to the reader's browser."
@@ -72,7 +72,7 @@ void save_edit(char *description, char *enter_cmd, int regoto)
 {
        char buf[SIZ];
 
-       if (IsEmptyStr(bstr("save_button"))) {
+       if (!havebstr("save_button")) {
                sprintf(WC->ImportantMessage,
                        _("Cancelled.  %s was not saved."),
                        description);