<commit_before><%@ page contentType="text/html;charset=utf-8" pageEncoding="utf-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://www.sakaiproject.org/samigo" prefix="samigo" %>
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<!-- $Id$
<%--
***********************************************************************************
*
* Copyright (c) 2004, 2005, 2006 The Sakai Foundation.
*
* Licensed under the Educational Community License, Version 1.0 (the"License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*      http://www.opensource.org/licenses/ecl1.php
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License. 
*
**********************************************************************************/
--%>
-->
  <f:view>
    <html xmlns="http://www.w3.org/1999/xhtml">
      <head><%= request.getAttribute("html.head") %>
      <title><h:outputText value="#{selectIndexMessages.page_title}" /></title>
      </head>
      <body onload="<%= request.getAttribute("html.body.onload") %>">

<!--JAVASCRIPT -->
<script language="javascript" type="text/JavaScript">
var linksDisabled = 'false';
function disableLinks(clickedLink){
	//alert("clickedLink id = " + clickedLink.id);
	if (linksDisabled == 'false') {
		linksDisabled = 'true';
		//alert("document.links.length" + document.links.length);
		var linkIds = new Array();
		for (var i=0; i < document.links.length; i++){
			//alert("document.links[" + i + "].id=" + document.links[i].id);
			linkIds[i] = document.links[i].id;
		}

		for (var i=0; i < linkIds.length; i++){
			if (linkIds[i].indexOf('selectIndexForm') >= 0) {
				//alert("disabling..." + linkIds[i]);
				if (linkIds[i] != clickedLink.id) {
					//alert("disabling..." + linkIds[i]);
					var obj = document.getElementById(linkIds[i]);
					var href = obj.getAttribute("href");
					var onclick = obj.getAttribute("onclick");
					//First we store previous value in a new attribute
					if(href && href != "" && href != null)
					{
					obj.setAttribute('href_bak', href);
					}
					if(onclick != null)
					{
					obj.setAttribute('onclick_back', onclick);
					obj.setAttribute('onclick', "void(0);");
					}
					obj.removeAttribute('href'); 
				}
			}<commit_msg>SAK-14239<commit_after><%@ page contentType="text/html;charset=utf-8" pageEncoding="utf-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://www.sakaiproject.org/samigo" prefix="samigo" %>
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<!-- $Id$
<%--
***********************************************************************************
*
* Copyright (c) 2004, 2005, 2006 The Sakai Foundation.
*
* Licensed under the Educational Community License, Version 1.0 (the"License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*      http://www.opensource.org/licenses/ecl1.php
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License. 
*
**********************************************************************************/
--%>
-->
  <f:view>
    <html xmlns="http://www.w3.org/1999/xhtml">
      <head><%= request.getAttribute("html.head") %>
      <title><h:outputText value="#{selectIndexMessages.page_title}" /></title>
      </head>
      <body onload="<%= request.getAttribute("html.body.onload") %>">

<!--JAVASCRIPT -->
<script language="javascript" type="text/JavaScript">
var linksDisabled = 'false';
function disableLinks(clickedLink){
	//alert("clickedLink id = " + clickedLink.id);
	if (linksDisabled == 'false') {
		linksDisabled = 'true';
		//alert("document.links.length" + document.links.length);
		var linkIds = new Array();
		for (var i=0; i < document.links.length; i++){
			//alert("document.links[" + i + "].id=" + document.links[i].id);
			linkIds[i] = document.links[i].id;
		}

		for (var i=0; i < linkIds.length; i++){
			if (linkIds[i].indexOf('selectIndexForm') >= 0) {
				//alert("disabling..." + linkIds[i]);
				if (linkIds[i] != clickedLink.id) {
					//alert("disabling..." + linkIds[i]);
					var obj = document.getElementById(linkIds[i]);
					var onclick = obj.getAttribute("onclick");
					if(onclick != null)
					{
						obj.setAttribute('onclick_back', onclick);
						obj.setAttribute('onclick', "void(0);");
					}
					obj.removeAttribute('href'); 
				}
			}
{'fraction_non_alphanumeric': 0.2331487492839412, 'fraction_numerical': 0.013175482146266947, 'mean_word_length': 3.9885714285714284, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 43, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, 'xml': 2}, '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': '3868033', 'n_tokens_mistral': 1844, 'n_tokens_neox': 1597, 'n_words': 388}