<%-- #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_groups.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 Group Administration <%-- ___________________________________________________________________________________ This Edit List deviates from standard Revize editform as follows: ___________________________________________________________________________________ --%> <%@ include file="/util/setup_editlist_javascript.jsp" %> <%@ include file="/plugins/calendar/calendar.version_include.jsp" %> <%-- //-------------------------------------------------------------------------------\\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * DW use only (below tags NOT published); required files loaded during page setup * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * --%><% if (false) { %> <% } %><%-- \\-------------------------------------------------------------------------------// --%><%-- ___________________________________________________________________________________ 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 show with this background in DW only; they are hidden when page displays in browser unless changed by javascript or other CSS.
<%}%> <%@ include file="/plugins/calendar/calendar.loading_layer_include.jsp" %>

    Calendar Group Administration    

      <%-- #BeginRZ-ActionImage --%> <%-- Option:type=ForwardEditGlobalImage --%> <%-- Option:imageSrcURL=../../images/edit/edit-global.gif --%> <%-- #EndRZ-ActionImage --%>       Cancel       Help
<%-- #BeginRZ-ActionImage --%> <%-- Option:type=EditListInsertImage --%> <%-- Option:imageSrcURL=../../images/edit/new.gif --%> <%-- #EndRZ-ActionImage --%> <% while ( rz.listnext() ){ %> <% }%>
Action Groups Administrators Editors

<%-- #BeginRZ-ActionImage --%> <%-- Option:type=EditListEditImage --%> <%-- Option:imageSrcURL=../../images/edit/edit_sm.gif --%> <%-- #EndRZ-ActionImage --%> <%-- #BeginRZ-ActionImage --%> <%-- Option:type=EditListDeleteImage --%> <%-- Option:forwardURL= --%> <%-- Option:imageSrcURL=../../images/edit/delete_sm.gif --%> <%-- #EndRZ-ActionImage --%> <%=rz.content%> <% out.println(addRoleUserOptions( rz.fetch("calendar_groups", "administrators")) ); %> <% out.println(addRoleUserOptions( rz.fetch("calendar_groups", "editors")) ); %>
<%! /*BOOKMARK String addRoleUserOptions( String inList )*/ String addRoleUserOptions( String inList ) { String toReturn = ""; int lenList = inList.length(); if ( (0 < lenList) && ( !("|".equals(inList)) ) ) { String item = ""; int indexPipe = -1; int i = 0; while (true) { indexPipe = inList.indexOf('|', i); if ( 0 < indexPipe ) { item = inList.substring(i, indexPipe); if( item.startsWith( "_" ) ) toReturn += ""; else toReturn += ""; i = indexPipe + 1; } else if ( i < lenList ) { item = inList.substring(i, lenList); if( item.startsWith( "_" ) ) toReturn += ""; else toReturn += ""; break; } } } toReturn += "
" + item.substring(1) + "
" + item + "
" + item.substring(1) + "
" + item + "
"; return toReturn; } %>