From e274212835e9bf6e5e9632d90336701ffe50e7d4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Sun, 29 Aug 2010 16:56:37 +0000 Subject: [PATCH] * beginbox is split into two all over the place. remove monolitic template. --- webcit/static/t/beginboxx.html | 5 ----- webcit/static/t/beginboxx.m.html | 5 ----- webcit/sysmsgs.c | 5 +++-- 3 files changed, 3 insertions(+), 12 deletions(-) delete mode 100644 webcit/static/t/beginboxx.html delete mode 100644 webcit/static/t/beginboxx.m.html diff --git a/webcit/static/t/beginboxx.html b/webcit/static/t/beginboxx.html deleted file mode 100644 index 593fefef9..000000000 --- a/webcit/static/t/beginboxx.html +++ /dev/null @@ -1,5 +0,0 @@ - -
-
-
- diff --git a/webcit/static/t/beginboxx.m.html b/webcit/static/t/beginboxx.m.html deleted file mode 100644 index 593fefef9..000000000 --- a/webcit/static/t/beginboxx.m.html +++ /dev/null @@ -1,5 +0,0 @@ - -
-
-
- diff --git a/webcit/sysmsgs.c b/webcit/sysmsgs.c index 2ce5eabfc..16f9f0543 100644 --- a/webcit/sysmsgs.c +++ b/webcit/sysmsgs.c @@ -32,8 +32,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); -- 2.39.2