From: Art Cancro Date: Tue, 20 Mar 2012 02:51:29 +0000 (-0400) Subject: Migrated the sieve screens to room_banner_override. This removes the last of the... X-Git-Tag: v8.11~127^2~3 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=4e02b911738fd309c3472ac90e702c1b27fd39b0;p=citadel.git Migrated the sieve screens to room_banner_override. This removes the last of the nonstandard banner code. However the 'add/delete scripts' screen is missing its chrome because of the way it was called; I will fix this in another commit. --- diff --git a/webcit/sieve.c b/webcit/sieve.c index 668d5f894..52d68f757 100644 --- a/webcit/sieve.c +++ b/webcit/sieve.c @@ -444,7 +444,7 @@ void create_script(void) { } } - output_headers(1, 1, 2, 0, 0, 0); + output_headers(1, 1, 1, 0, 0, 0); do_template("sieve_add"); wDumpContent(1); } @@ -458,7 +458,7 @@ void delete_script(void) { serv_printf("MSIV deletescript|%s", bstr("script_name")); serv_getln(buf, sizeof buf); - output_headers(1, 1, 2, 0, 0, 0); + output_headers(1, 1, 1, 0, 0, 0); do_template("sieve_add"); wDumpContent(1); } @@ -469,7 +469,7 @@ void delete_script(void) { */ void display_no_sieve(void) { - output_headers(1, 1, 2, 0, 0, 0); + output_headers(1, 1, 1, 0, 0, 0); do_template("sieve_none"); wDumpContent(1); } diff --git a/webcit/static/t/sieve/add.html b/webcit/static/t/sieve/add.html index d3795ea31..3da5fa245 100644 --- a/webcit/static/t/sieve/add.html +++ b/webcit/static/t/sieve/add.html @@ -1,10 +1,7 @@ - - -