]> code.citadel.org Git - citadel.git/blobdiff - webcit/event.c
Call LoadExpirePolicy() unconditionally, this fixes the apparent snap back to old...
[citadel.git] / webcit / event.c
index 756a8a250dcd7b2617974c138a85fdb67ba83f1b..5f9d3213ddb0b8714ae11190fb20eba5a0c367c0 100644 (file)
@@ -5,17 +5,11 @@
  *
  * This program is open source software.  You can redistribute it and/or
  * modify it under the terms of the GNU General Public License, version 3.
- * 
- * 
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- *
- * 
- * 
- * 
  */
 
 #include "webcit.h"
@@ -167,8 +161,8 @@ void display_edit_individual_event(icalcomponent *supplied_vevent, long msgnum,
        }
        */
        /* Begin output */
-       output_headers(1, 1, 2, 0, 0, 0);
-       wc_printf("<div id=\"banner\">\n");
+       output_headers(1, 1, 1, 0, 0, 0);
+       wc_printf("<div id=\"room_banner_override\">\n");
        wc_printf("<h1>");
        wc_printf(_("Add or edit an event"));
        wc_printf("</h1>");
@@ -1213,7 +1207,7 @@ STARTOVER:        for (attendee = icalcomponent_get_first_property(vevent, ICAL_ATTENDE
        /* If this was a save or delete, go back to the calendar or summary view. */
        if (!havebstr("check_button")) {
                if (!strcasecmp(bstr("calview"), "summary")) {
-                       do_template("summary_page");
+                       display_summary_page();
                }
                else {
                        readloop(readfwd, eUseDefault);