*
* Copyright (c) 1996-2010 by the citadel.org team
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
+ * This program is open source software. You can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 3 of the
+ * License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "webcit.h"
get_pref_long("weekstart", &weekstart, 17);
if (weekstart > 6) weekstart = 0;
- lprintf(9, "display_edit_individual_event(%ld) calview=%s year=%s month=%s day=%s\n",
+ syslog(9, "display_edit_individual_event(%ld) calview=%s year=%s month=%s day=%s\n",
msgnum, bstr("calview"), bstr("year"), bstr("month"), bstr("day")
);
wc_printf("<div id=\"content\" class=\"service\">\n");
- wc_printf("<div class=\"fix_scrollbar_bug\">");
-
/************************************************************
* Uncomment this to see the UID in calendar events for debugging
wc_printf("UID == ");
if (p != NULL) {
escputs((char *)icalproperty_get_comment(p));
}
- wc_printf("<br />\n");
- wc_printf("SEQUENCE == %d<br />\n", sequence);
+ wc_printf("<br>\n");
+ wc_printf("SEQUENCE == %d<br>\n", sequence);
*************************************************************/
wc_printf("<form name=\"EventForm\" method=\"POST\" action=\"save_event\">\n");
wc_printf("<table border='0' width='100%%'>\n"); /* same table style as the event tab */
wc_printf("<tr><td><b>");
wc_printf(_("Attendees"));
- wc_printf("</b><br />"
+ wc_printf("</b><br>"
"<font size='-2'>");
wc_printf(_("(One per line)"));
wc_printf("</font>\n");
}
wc_printf(_("on day %s%d%s of the month"), "<span id=\"rrmday\">", rrmday, "</span>");
- wc_printf("<br />\n");
+ wc_printf("<br>\n");
wc_printf("<input type=\"radio\" name=\"rrmonthtype\" id=\"rrmonthtype_wday\" "
"value=\"rrmonthtype_wday\" "
}
wc_printf("</select>");
- wc_printf(" %s<br />\n", _("of the month"));
+ wc_printf(" %s<br>\n", _("of the month"));
wc_printf("</div>\n"); /* end 'monthday_selector' div */
((which_rryeartype_is_preselected == 0) ? "checked='checked'" : "")
);
wc_printf(_("every "));
- wc_printf("<span id=\"ymday\">%s</span><br />", _("year on this date"));
+ wc_printf("<span id=\"ymday\">%s</span><br>", _("year on this date"));
wc_printf("<input type=\"radio\" name=\"rryeartype\" id=\"rryeartype_ywday\" "
"value=\"rryeartype_ywday\" "
);
}
wc_printf("</select>");
- wc_printf("<br />\n");
+ wc_printf("<br>\n");
wc_printf("</div>\n"); /* end 'yearday_selector' div */
"%s onChange=\"RecurrenceShowHide();\">",
((which_rrend_is_preselected == 0) ? "checked='checked'" : "")
);
- wc_printf("%s<br />\n", _("No ending date"));
+ wc_printf("%s<br>\n", _("No ending date"));
wc_printf("<input type=\"radio\" name=\"rrend\" id=\"rrend_count\" "
"value=\"rrend_count\" "
wc_printf(" <input type=\"text\" name=\"rrcount\" id=\"rrcount\" maxlength=\"3\" size=\"3\" ");
wc_printf("value=\"%d\"> ", recur.count);
wc_printf(_("times"));
- wc_printf("<br />\n");
+ wc_printf("<br>\n");
wc_printf("<input type=\"radio\" name=\"rrend\" id=\"rrend_until\" "
"value=\"rrend_until\" "
recur.until = icaltime_add(t_start, icaldurationtype_from_int(604800));
}
display_icaltimetype_as_webform(&recur.until, "rruntil", 1);
- wc_printf("<br />\n");
+ wc_printf("<br>\n");
wc_printf("</td></tr>\n");
end_tab(3, 3);
wc_printf("</form>\n");
- wc_printf("</div>\n"); /* end 'fix_scrollbar_bug' div */
-
StrBufAppendPrintf(WC->trailing_javascript,
"eventEditAllDay(); \n"
"RecurrenceShowHide(); \n"