* beginbox is split into two all over the place. remove monolitic template.
authorWilfried Göesgens <willi@citadel.org>
Sun, 29 Aug 2010 16:56:37 +0000 (16:56 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sun, 29 Aug 2010 16:56:37 +0000 (16:56 +0000)
webcit/static/t/beginboxx.html [deleted file]
webcit/static/t/beginboxx.m.html [deleted file]
webcit/sysmsgs.c

diff --git a/webcit/static/t/beginboxx.html b/webcit/static/t/beginboxx.html
deleted file mode 100644 (file)
index 593fefe..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<!-- start beginbox.html-->
-<div class="box">
-<div class="boxlabel"><?BOXTITLE></div>
-<div class="boxcontent">
-<!-- end beginbox.html-->
diff --git a/webcit/static/t/beginboxx.m.html b/webcit/static/t/beginboxx.m.html
deleted file mode 100644 (file)
index 593fefe..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<!-- start beginbox.html-->
-<div class="box">
-<div class="boxlabel"><?BOXTITLE></div>
-<div class="boxcontent">
-<!-- end beginbox.html-->
index 2ce5eabfcde1b7563fe0b942f6333b08cfda3804..16f9f0543655b97016c278035a6da0f3fe82c2ba 100644 (file)
@@ -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);