<commit_before><?php defined('SYSPATH') or die('No direct access allowed.');
/**
 * Error page.
 *
 * @package    Anqh
 * @author     <NAME>
 * @copyright  (c) 2012 <NAME>
 * @license    http://www.opensource.org/licenses/mit-license.php MIT license
 */
class Anqh_View_ErrorPage extends Anqh_View_Page {

	/**
	 * @var  array  Basic stylesheets
	 */
	public $styles = array(
		'http://fonts.googleapis.com/css?family=Terminal+Dosis',
    'static/css/bootstrap.css',
	  'static/css/bootstrap-responsive.css',
	  'static/site.css',
	  'ui/site.css',
	);


	/**
	 * Render <head>.
	 *
	 * @return  string
	 */
	protected function _head() {
		ob_start();

?>

<head>
	<meta charset="<?= Kohana::$charset ?>" />
	<meta http-equiv="Content-Type" content="text/html; charset=<?= Kohana::$charset ?>" />
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />

	<title><?= ($this->title ? HTML::chars($this->title) . ' | ' : '') . Kohana::$config->load('site.site_name') ?></title>
	<link rel="icon" type="image/png" href="<?= $this->base ?>ui/favicon.png" />

	<?= $this->_styles() ?>
</head>

<?php

		return ob_get_clean();
	}


	/**
	 * Render page.
	 *
	 * @return  string
	 */
	public function render() {
		ob_start();

?>

<!doctype html>
<html lang="<?php echo $this->language ?>">

<?php echo $this->_head() ?>

<body id="<?php echo $this->id ?>" class="<?php echo $this->class ?>">


	<!-- HEADER -->

	<?php echo $this->_header() ?>

	<!-- /HEADER -->


	<!-- CONTENT -->

	<?php echo $this->_content() ?>

	<!-- /CONTENT -->

</body>

</html>

<?php

		return ob_get_clean();
	}


}<commit_msg>Update error page to follow new style<commit_after><?php defined('SYSPATH') or die('No direct access allowed.');
/**
 * Error page.
 *
 * @package    Anqh
 * @author     <NAME>
 * @copyright  (c) 2012-2013 <NAME>
 * @license    http://www.opensource.org/licenses/mit-license.php MIT license
 */
class Anqh_View_ErrorPage extends Anqh_View_Page {

	public $styles = array(
		'static/css/bootstrap.css',
		'static/css/bootstrap-responsive.css',
		'//netdna.bootstrapcdn.com/font-awesome/3.1.1/css/font-awesome.css',
	);


	/**
	 * Render <head>.
	 *
	 * @return  string
	 */
	protected function __head() {
		ob_start();

?>

<head>
	<meta charset="<?= Kohana::$charset ?>" />
	<meta http-equiv="Content-Type" content="text/html; charset=<?= Kohana::$charset ?>" />
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />

	<title><?= $this->title ? HTML::chars($this->title) : Kohana::$config->load('site.site_name') ?></title>
	<link rel="icon" type="image/png" href="<?= $this->base ?>ui/favicon.png" />

	<?= $this->_styles() ?>

	<?= HTML::style('ui/site.css') ?>

</head>

<?php

		return ob_get_clean();
	}


	/**
	 * Render page.
	 *
	 * @return  string
	 */
	public function render() {
		ob_start();

?>

<!doctype html>
<html lang="<?= $this->language ?>">

<?= $this->_head() ?>

<body id="<?= $this->id ?>" class="<?= $this->class ?>">

	<div id="body" class="container">
		<div class="row">

			<div id="sidebar" class="span2">

				<!-- MENU -->

				<?= $this->_menu() ?>

				<!-- /MENU -->

			</div><!-- /#sidebar -->

			<div id="content" class="span10">

				<!-- HEADER -->

				<?= $this->_header() ?>

				<!-- /HEADER -->


				<!-- CONTENT -->

				<?= $this->_content() ?>

				<!-- /CONTENT -->

			</div><!-- /#content -->

		</div>
	</div>

	<?= $this->_foot() ?>

</body>

</html>

<?php

		return ob_get_clean();
	}


}
{'fraction_non_alphanumeric': 0.24088838268792712, 'fraction_numerical': 0.006264236902050114, 'mean_word_length': 3.177170035671819, 'pattern_counts': {'":': 0, '<': 86, '<?xml version=': 0, '>': 108, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6530797', 'n_tokens_mistral': 1407, 'n_tokens_neox': 1282, 'n_words': 241}