<commit_before><?php /* @var $this vscXhtmlView */ ?>
<?php echo '<?xml version="1.0" encoding="utf-8"?>'."\n"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
	<title><?php $sTitle = $this->getTitle(); echo ($sTitle ? $sTitle : '[null]') ?></title>
<?php
$aAllStyles = $this->getStyles ();
if (count($aAllStyles) >= 1) {
	echo "\t" . '<style type="text/css">'. "\n";
	foreach ($aAllStyles as $sMedia => $aStyles) {
		if (is_array($aStyles)) {
			foreach ($aStyles as $sPath ) {
				echo "\t\t".'@import url("' . $sPath . '")' . ($sMedia ? $sMedia : '') . ";\n";
			}
		}
	}
	echo "\t" . '</style>'. "\n";
}

if (count($this->getMetaHeaders()) >= 1) {
	foreach ($this->getMetaHeaders() as $sName => $sValue) { ?>
	<meta <?php echo 'name="'.$sName .'" content="'.$sValue.'"'; ?> />
<?php
	}
}
?>
<?php
/*
if (is_array ($this->getLinks()) && count($this->getLinks()) >= 1) {
	foreach ($this->getLinks() as $sType => $aLinkContent) {
		foreach ($aLinkContent as $aValue) {
			echo "\t".'<link type="' . $sType .'" ';
			foreach ($aValue as $sKey => $sValue) {
				echo $sKey . '="' . $sValue . '" ';
			}
			echo '/>'."\n";
		}
	}
}*/
?>
<?php
$aAllScripts = $this->getScripts(true);
if (count ($aAllScripts) >= 1 ) {
	foreach ($aAllScripts as $sPath) {
?>
	<script type="text/javascript" src="<?php echo $sPath?>"> </script>
<?php
	}
}
?>
</head>
<body>
<div>
	<!-- hic sunt leones -->

<?php
try {
	$sContent = $this->fetch ($this->getTemplate());
} catch (vscExceptionPath $e) {
	// the template could not be found
}
	if (!empty($sContent)) {
		echo $sContent;
	} else {
		echo $this->fetch(dirname(__FILE__) . '/content.php');
	}
?>

	<!-- /hic sunt leones -->
</div>
<?php
$aAllScripts = $this->getScripts();
if (count ($aAllScripts) >= 1 ) {
	foreach ($aAllScripts as $sPath) {
?>
<script type="text/javascript" src="<?php echo $sPath?>"> </script>
<?php
	}
}
?>
</body>
</html>
<commit_msg>* I've tried to make the xhtml version not trigger errors in Firefox. It still fails (might be a Ff bug)<commit_after><?php echo '<?xml version="1.0" encoding="UTF-8" ?>'."\n"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<?php /* @var $this vscXhtmlView */ ?>
<head>
	<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
	<title><?php $sTitle = $this->getTitle(); echo ($sTitle ? $sTitle : '[null]') ?></title>
<?php
$aAllStyles = $this->getStyles ();
if (count($aAllStyles) >= 1) {
	echo "\t" . '<style type="text/css">'. "\n";
	foreach ($aAllStyles as $sMedia => $aStyles) {
		if (is_array($aStyles)) {
			foreach ($aStyles as $sPath ) {
				echo "\t\t".'@import url("' . $sPath . '")' . ($sMedia ? $sMedia : '') . ";\n";
			}
		}
	}
	echo "\t" . '</style>'. "\n";
}

if (count($this->getMetaHeaders()) >= 1) {
	foreach ($this->getMetaHeaders() as $sName => $sValue) { ?>
	<meta <?php echo 'name="'.$sName .'" content="'.$sValue.'"'; ?> />
<?php
	}
}
?>
<?php
/*
if (is_array ($this->getLinks()) && count($this->getLinks()) >= 1) {
	foreach ($this->getLinks() as $sType => $aLinkContent) {
		foreach ($aLinkContent as $aValue) {
			echo "\t".'<link type="' . $sType .'" ';
			foreach ($aValue as $sKey => $sValue) {
				echo $sKey . '="' . $sValue . '" ';
			}
			echo '/>'."\n";
		}
	}
}*/
?>
<?php
$aAllScripts = $this->getScripts(true);
if (count ($aAllScripts) >= 1 ) {
	foreach ($aAllScripts as $sPath) {
?>
	<script type="text/javascript" src="<?php echo $sPath?>"> </script>
<?php
	}
}
?>
</head>
<body>
<div>
	<!-- hic sunt leones -->

<?php
try {
	$sContent = $this->fetch ($this->getTemplate());
} catch (vscExceptionPath $e) {
	// the template could not be found
}
	if (!empty($sContent)) {
		echo $sContent;
	} else {
		echo $this->fetch(dirname(__FILE__) . '/content.php');
	}
?>

	<!-- /hic sunt leones -->
</div>
<?php
$aAllScripts = $this->getScripts();
if (count ($aAllScripts) >= 1 ) {
	foreach ($aAllScripts as $sPath) {
?>
<script type="text/javascript" src="<?php echo $sPath?>"> </script>
<?php
	}
}
?>
</body>
</html>


{'fraction_non_alphanumeric': 0.2606173126015317, 'fraction_numerical': 0.009282896263634254, 'mean_word_length': 3.6847826086956523, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 2, '>': 119, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 8}, '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': '1049726', 'n_tokens_mistral': 1804, 'n_tokens_neox': 1719, 'n_words': 379}