<%-- #RevizeProperties USE REVIZE MENU (DOCUMENT PROPERTIES) TO EDIT DATA BELOW: status=edit options= server=localhost:8080 projectName=calendar_app label= location=calendar_app/editpages/calendar_names-editlist.jsp version= docType=editpage subType=list moduleName= fieldName= channels=| description= --%><%-- #BeginRZ-PageHeader --%><%@ page language="java" %><%@ include file="/util/setup_editlist_header.jsp" %><%-- #EndRZ-PageHeader --%> Calendar List <%-- ___________________________________________________________________________________ Standard Revize editlist page. TODO: could be populated from global data rather than reading database ___________________________________________________________________________________ --%><%@ include file="/util/setup_editlist_javascript.jsp" %><%@ include file="/plugins/calendar/calendar3.head_version_include.jsp" %><%-- //-------------------------------------------------------------------------------\\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * DW use only (below tags NOT published); required files loaded during page setup * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * --%><% if (false) { %> <% } %><%-- \\-------------------------------------------------------------------------------// --%><% /**********************************/ /*BOOKMARK Page specific JSP Code*/ /********************************/ String groupid = StringUtils.getParameter(request,"groupid"); String calendarids = ""; //calendarids listed /************************************/ /*BOOKMARK Page specific JavaScript*/ /**********************************/ %><%-- @@no-source-format@@ /***************************************************/ /**/ .RZhidden class hides elements in browser /**/ /**/ ...BUT allows DW to show in design view... /**/ /**/ /* Following css does not get published */ /**/ /**/ --%><% if (false){ /**/ /**/ %><% } /**/ /**/ /* Following IS published for Browsers */ /**/ /**/ /* use marker to test CSS priority */ /**/ /**/ %><%-- /**/ /***************************************************/ @@no-source-format@@ --%> <%if(false){%>
NOTE: blocks with class="RZhidden" display with this background in DW only; they are hidden when page displays in browser until changed by javascript or other CSS.
<%}%>

    List of Calendars for Group:    

<%-- #BeginRZ-ActionImage --%> <%-- Option:type=EditListInsertImage --%> <%-- Option:imageSrcURL=../images/buttons/new_event_calendar.png --%> <%-- #EndRZ-ActionImage --%>       <%-- #BeginRZ-ActionImage --%> <%-- Option:type=ForwardEditGlobalImage --%> <%-- Option:imageSrcURL=../../images/edit/edit-global.gif --%> <%-- #EndRZ-ActionImage --%>            <%=HELP_BUTTON%>
<% String master_id = rz.fetch("calendar_config","default_calendar_name").trim(); %> <% while ( rz.listnext() ) { if (rz.listindex < 0) break; //no active records (e.g. no information available) calendarids += "," + rz.listitemid(); %> <% }%><% // in debug mode, check for orphan events not in any calenday String filter = ""; if (isDebugOption("orphanEvents",false)) { filter = ""; //groupid=" + groupid + " and "; if (calendarids.startsWith(",")) { String [] ids = StringUtils.split(calendarids.substring(1),","); for (int i=0;i <% if (rz.listlength >= 0) { %><% } }%>
Action Calendar Name
click to view events
Calendar
Administrators
Calendar
Editors
Calendar Options
  <%-- #BeginRZ-ActionImage --%> <%-- Option:type=EditListEditImage --%> <%-- Option:imageSrcURL=../images/buttons/edit_sm.gif --%> <%-- #EndRZ-ActionImage --%>   <% String calendar_id = rz.recordid; %> <%=rz.content%><% if (debug) out.println( " (id=" + rz.recordid + ")"); String calname = rz.content; calname = calname.replaceAll("%20"," "); calname = calname.replaceAll("&sqout","'"); calname = StringUtils.convertStringForSource(calname); %>    
    <% if (master_id.equals(calendar_id)) out.print("
  • Events from other calendars rollup " +"if allowed by each other calendar
  • "); if (rz.getvalue(calendar_options,"rolldown").equals("true") && rz.fetch("calendar_names","show_in_all").equals("yes")) out.print("
  • Can show events in other Calendars
  • "); if (master_id.length() > 0 && !master_id.equals("none") && !master_id.equals(calendar_id)) { rz.fetch("calendar_names","rollup_calendar_list"); String rollup_master = StringUtils.getKeyValue(rz.content,"rollup_master"); if (rollup_master.trim().length() == 0) rollup_master = "always"; out.println("
  • Events " + rollup_master + " rollup to master
  • "); } %>
  <%=rz.listlength%> orphan event(s) in deleted calendars