From 4e02b911738fd309c3472ac90e702c1b27fd39b0 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Mon, 19 Mar 2012 22:51:29 -0400 Subject: [PATCH] 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. --- webcit/sieve.c | 6 +++--- webcit/static/t/sieve/add.html | 7 +------ webcit/static/t/sieve/none.html | 5 +---- 3 files changed, 5 insertions(+), 13 deletions(-) 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 @@ - - -