X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fsieve.c;h=b048b6b3018ee2426901a206702d07ae637413f1;hb=061684b1fca9be37ecc01cac2b10be94502def65;hp=8e333031b13f53236b34ba6619657bd32e28a12c;hpb=f5ea3b45f7b9c9391744a220b65c509543576920;p=citadel.git diff --git a/webcit/sieve.c b/webcit/sieve.c index 8e333031b..b048b6b30 100644 --- a/webcit/sieve.c +++ b/webcit/sieve.c @@ -657,8 +657,9 @@ void display_add_remove_scripts(char *message) wc_printf("
\n"); - svput("BOXTITLE", WCS_STRING, _("Add a new script")); - do_template("beginboxx", NULL); + do_template("beginbox_1", NULL); + StrBufAppendBufPlain(WC->WBuf, _("Add a new script"), -1, 0); + do_template("beginbox_2", NULL); wc_printf(_("To create a new script, enter the desired " "script name in the box below and click 'Create'.")); @@ -673,8 +674,9 @@ void display_add_remove_scripts(char *message) do_template("endbox", NULL); - svput("BOXTITLE", WCS_STRING, _("Edit scripts")); - do_template("beginboxx", NULL); + do_template("beginbox_1", NULL); + StrBufAppendBufPlain(WC->WBuf, _("Edit scripts"), -1, 0); + do_template("beginbox_2", NULL); wc_printf("
%s

\n", _("Return to the script editing screen") ); @@ -682,8 +684,9 @@ void display_add_remove_scripts(char *message) wc_printf("
"); - svput("BOXTITLE", WCS_STRING, _("Delete scripts")); - do_template("beginboxx", NULL); + do_template("beginbox_1", NULL); + StrBufAppendBufPlain(WC->WBuf, _("Delete scripts"), -1, 0); + do_template("beginbox_2", NULL); wc_printf(_("To delete an existing script, select the script " "name from the list and click 'Delete'."));