<commit_before><%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://sakaiproject.org/jsf/sakai" prefix="sakai"%>
<% 
	response.setContentType("text/html; charset=UTF-8");
	response.addDateHeader("Expires", System.currentTimeMillis() - (1000L * 60L * 60L * 24L * 365L));
	response.addDateHeader("Last-Modified", System.currentTimeMillis());
	response.addHeader("Cache-Control", "no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0");
	response.addHeader("Pragma", "no-cache");
%>

<% try{ %>
<jsp:useBean id="msgs" class="org.sakaiproject.util.ResourceLoader" scope="session">
   <jsp:setProperty name="msgs" property="baseName" value="calendar"/>
</jsp:useBean>
<% }catch(Exception e) {return;} %>

<f:view>
<sakai:view title="#{msgs.tool_title}">
	<sakai:script contextBase="/sakai-jsf-resource/" path="/inputColor/inputColor.js"/>
	<sakai:script contextBase="/sakai-jsf-resource" path="/hideDivision/hideDivision.js"/>
	<sakai:script path="/summary-calendar/js/calendar-summary.js"/>
	
	<h:outputText value="#{PrefsBean.initValues}"/>
	
	<h3><h:outputText value="#{msgs.menu_prefs}"/></h3>
	<sakai:instruction_message value="#{msgs.instructions_preferences}" />
		
	<f:subview id="msg" rendered="#{PrefsBean.messageToBeDisplayed}">
		<h:message for="msg" infoClass="success" fatalClass="alertMessage" style="margin-top: 15px;" showDetail="true"/>
	</f:subview>		
	
	<h:form id="prefsForm">
	
		<%/* Calendar display */%>
		<h4><h:outputText value="#{msgs.prefs_section_display}"/></h4>
		<sakai:instruction_message value="#{msgs.instructions_display}" />
		<h:panelGrid styleClass="indnt2" columns="2">
            	<h:outputLabel for="selectViewMode" value="#{msgs.prefs_view_mode}: "/>
                <h:selectOneMenu
                	id="selectViewMode"
                    immediate="false"<commit_msg>SAK-18338 fix bad jsf paths<commit_after><%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://sakaiproject.org/jsf/sakai" prefix="sakai"%>
<% 
	response.setContentType("text/html; charset=UTF-8");
	response.addDateHeader("Expires", System.currentTimeMillis() - (1000L * 60L * 60L * 24L * 365L));
	response.addDateHeader("Last-Modified", System.currentTimeMillis());
	response.addHeader("Cache-Control", "no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0");
	response.addHeader("Pragma", "no-cache");
%>

<% try{ %>
<jsp:useBean id="msgs" class="org.sakaiproject.util.ResourceLoader" scope="session">
   <jsp:setProperty name="msgs" property="baseName" value="calendar"/>
</jsp:useBean>
<% }catch(Exception e) {return;} %>

<f:view>
<sakai:view title="#{msgs.tool_title}">
	<sakai:script contextBase="/jsf-resource/" path="/inputColor/inputColor.js"/>
	<sakai:script contextBase="/jsf-resource" path="/hideDivision/hideDivision.js"/>
	<sakai:script path="/summary-calendar/js/calendar-summary.js"/>
	
	<h:outputText value="#{PrefsBean.initValues}"/>
	
	<h3><h:outputText value="#{msgs.menu_prefs}"/></h3>
	<sakai:instruction_message value="#{msgs.instructions_preferences}" />
		
	<f:subview id="msg" rendered="#{PrefsBean.messageToBeDisplayed}">
		<h:message for="msg" infoClass="success" fatalClass="alertMessage" style="margin-top: 15px;" showDetail="true"/>
	</f:subview>		
	
	<h:form id="prefsForm">
	
		<%/* Calendar display */%>
		<h4><h:outputText value="#{msgs.prefs_section_display}"/></h4>
		<sakai:instruction_message value="#{msgs.instructions_display}" />
		<h:panelGrid styleClass="indnt2" columns="2">
            	<h:outputLabel for="selectViewMode" value="#{msgs.prefs_view_mode}: "/>
                <h:selectOneMenu
                	id="selectViewMode"
                    immediate="false"
{'fraction_non_alphanumeric': 0.20182291666666666, 'fraction_numerical': 0.014322916666666666, 'mean_word_length': 5.401666666666666, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 63, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6818149', 'n_tokens_mistral': 1463, 'n_tokens_neox': 1379, 'n_words': 179}