<commit_before><?
/**
 * manual
 *
 * @author <NAME> <<EMAIL>>
 * @package Basisentscheid
 */


require "inc/common_http.php";

html_head(_("Manual"));

?>
<div class="help" id="manual">
<?
readfile("locale/manual_".LANG.".html");
?>
</div>
<script type="text/javascript">
// highlight anchor
if ( window.location.hash ) {
	var hash = window.location.hash.substring(1);
	document.getElementById(hash).className += " anchor";
}
// change highlighted anchor when jumping inside the page
var manual = document.getElementById("manual");
var links = manual.getElementsByTagName("a");
for (var i = 0; i < links.length; i++) {
	links[i].onclick = function () {
		document.getElementById(hash).className -= " anchor";
		hash = this.href.split("#")[1];
		document.getElementById(hash).className += " anchor";
	}
}
</script>
<?

html_foot();
<commit_msg>fix: highlight anchors in manual<commit_after><?
/**
 * manual
 *
 * @author <NAME> <<EMAIL>>
 * @package Basisentscheid
 */


require "inc/common_http.php";

html_head(_("Manual"));

?>
<div class="help" id="manual">
<?
readfile("locale/manual_".LANG.".html");
?>
</div>
<script type="text/javascript">
// highlight anchor
var hash;
if ( window.location.hash ) {
	hash = window.location.hash.substring(1);
	document.getElementById(hash).className += " anchor";
}
// change highlighted anchor when jumping within the page
var manual = document.getElementById("manual");
var links = manual.getElementsByTagName("a");
for (var i = 0; i < links.length; i++) {
	links[i].onclick = function () {
		if (hash) document.getElementById(hash).className -= " anchor";
		hash = this.href.split("#")[1];
		if (hash) document.getElementById(hash).className += " anchor";
	}
}
</script>
<?

html_foot();

{'fraction_non_alphanumeric': 0.19272937103289095, 'fraction_numerical': 0.003462204270051933, 'mean_word_length': 4.818791946308725, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 21, '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': '6757296', 'n_tokens_mistral': 572, 'n_tokens_neox': 556, 'n_words': 123}