<commit_before><?php
//replacing some variables 
if($CONF['language'] == 'french')
	//the dude that has developped that didn't knew about <meta charset="utf-8">...
	$lang['Info text selected'] = 'Le texte a &eacute;t&eacute; copi&eacute; !';
else
	$lang['Info text selected'] = 'Text copied to clipboard!';

?>
<!DOCTYPE html>
<html lang="en">
<head>
	<title><?php echo $page['title'];?></title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<!-- CSS -->
  	<link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,400,600,300' rel='stylesheet' type='text/css'> 
  	<link href='<?php echo $CONF['url'] . 'templates/' . $CONF['template']?>/dist/css/main.css' rel='stylesheet' type="text/css">	
  	<link href='<?php echo $CONF['url'] . 'templates/' . $CONF['template']?>/dist/css/highlight/tomorrow-night-eighties.css' rel='stylesheet' type="text/css">	
  	<?php
	if (isset($page['post']['codecss'])) { 
		echo '<style type="text/css">'."\n";
		echo $page['post']['codecss'];
		echo '</style>'."\n";}
	?>

	<script src="<?php echo $CONF['url'] . 'templates/' . $CONF['template']?>/dist/js/vendor.js"></script>
	<script src="<?php echo $CONF['url'] . 'templates/' . $CONF['template']?>/dist/js/main.js"></script>

	<!-- IE6-8 support of HTML5 elements -->
	<!--[if lt IE 9]>
		<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->
	
	<link rel="shortcut icon" type="image/x-icon" href="<?php echo $CONF['url'] . 'templates/' . $CONF['template']?>/img/favicon.ico">
</head>
<body ng-app="paste">

<!-- modal.php_ a intégrer --> 
<div class="container">

	<div class="navbar navbar-inverse navbar-fixed-top" role="navigation" id="nav">
		<div class="container-fluid">
	    <div class="navbar-header">
	      <button ng-click="hasNavbar = !hasNavbar" type="button" class="navbar-toggle">
	        <span class="sr-only">Toggle navigation</span>
	        <!-- This markup really sucks! -->
	        <span class="icon-bar"></span>
	        <span class="icon-bar"></span>
	        <span class="icon-bar"></span>
	      </button>
	      <a class="navbar-brand" href="">Paste</a>
	    </div>
	    <div class="navbar-collapse collapse" collapse="hasNavbar">
	      <ul class="nav navbar-nav">
					<li><a href="<?php echo $CONF['url'];?>"><i class="glyphicon glyphicon-file"></i> <?php echo $lang['Submit'] ?></a></li>
					<li><?php if ( $mod_rewrite == true ) { echo '<a href="'. $CONF['url'] .'trending">'; } else { echo '<a href="'. $CONF['url'] .'trends.php">'; } ?><i class="glyphicon glyphicon-stats"></i> <?php echo $lang['Trending'] ?></a></li>
				</ul>
				
				<ul class="nav navbar-nav navbar-right">
					<li>
							<form class="navbar-form" role="form" action="search.php" method="get" ng-controller="searchCtrl">
								<input typeahead="state for state in states | limitTo:10" type="text" class="form-control" name="search" ng-model="search" placeholder="<?php echo $lang['Search'] ?>">
							</form>
						</li>
			      <li>
			     	 <a href="#login">Sign In</a>
					  </li>
			     <li class="dropdown">
			      <!-- Single button -->
				      <a class="dropdown-toggle">
				        Soyuka <span class="caret"></span>
				      </a>
				      <ul class="dropdown-menu" role="menu">
<commit_msg>Added link to header<commit_after><?php
//replacing some variables 
if($CONF['language'] == 'french')
	//the dude that has developped that didn't knew about <meta charset="utf-8">...
	$lang['Info text selected'] = 'Le texte a &eacute;t&eacute; copi&eacute; !';
else
	$lang['Info text selected'] = 'Text copied to clipboard!';

?>
<!DOCTYPE html>
<html lang="en">
<head>
	<title><?php echo $page['title'];?></title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<!-- CSS -->
  	<link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,400,600,300' rel='stylesheet' type='text/css'> 
  	<link href='<?php echo $CONF['url'] . 'templates/' . $CONF['template']?>/dist/css/main.css' rel='stylesheet' type="text/css">	
  	<link href='<?php echo $CONF['url'] . 'templates/' . $CONF['template']?>/dist/css/highlight/tomorrow-night-eighties.css' rel='stylesheet' type="text/css">	
  	<?php
	if (isset($page['post']['codecss'])) { 
		echo '<style type="text/css">'."\n";
		echo $page['post']['codecss'];
		echo '</style>'."\n";}
	?>

	<script src="<?php echo $CONF['url'] . 'templates/' . $CONF['template']?>/dist/js/vendor.js"></script>
	<script src="<?php echo $CONF['url'] . 'templates/' . $CONF['template']?>/dist/js/main.js"></script>

	<!-- IE6-8 support of HTML5 elements -->
	<!--[if lt IE 9]>
		<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->
	
	<link rel="shortcut icon" type="image/x-icon" href="<?php echo $CONF['url'] . 'templates/' . $CONF['template']?>/img/favicon.ico">
</head>
<body ng-app="paste">

<!-- modal.php_ a intégrer --> 
<div class="container">

	<div class="navbar navbar-inverse navbar-fixed-top" role="navigation" id="nav">
		<div class="container-fluid">
	    <div class="navbar-header">
	      <button ng-click="hasNavbar = !hasNavbar" type="button" class="navbar-toggle">
	        <span class="sr-only">Toggle navigation</span>
	        <!-- This markup really sucks! -->
	        <span class="icon-bar"></span>
	        <span class="icon-bar"></span>
	        <span class="icon-bar"></span>
	      </button>
	      <a class="navbar-brand" href="./">Paste</a>
	    </div>
	    <div class="navbar-collapse collapse" collapse="hasNavbar">
	      <ul class="nav navbar-nav">
					<li><a href="<?php echo $CONF['url'];?>"><i class="glyphicon glyphicon-file"></i> <?php echo $lang['Submit'] ?></a></li>
					<li><?php if ( $mod_rewrite == true ) { echo '<a href="'. $CONF['url'] .'trending">'; } else { echo '<a href="'. $CONF['url'] .'trends.php">'; } ?><i class="glyphicon glyphicon-stats"></i> <?php echo $lang['Trending'] ?></a></li>
				</ul>
				
				<ul class="nav navbar-nav navbar-right">
					<li>
							<form class="navbar-form" role="form" action="search.php" method="get" ng-controller="searchCtrl">
								<input typeahead="state for state in states | limitTo:10" type="text" class="form-control" name="search" ng-model="search" placeholder="<?php echo $lang['Search'] ?>">
							</form>
						</li>
			      <li>
			     	 <a href="#login">Sign In</a>
					  </li>
			     <li class="dropdown">
			      <!-- Single button -->
				      <a class="dropdown-toggle">
				        Soyuka <span class="caret"></span>
				      </a>
				      <ul class="dropdown-menu" role="menu">

{'fraction_non_alphanumeric': 0.23301558480859433, 'fraction_numerical': 0.008775911635648358, 'mean_word_length': 3.6680790960451977, 'pattern_counts': {'":': 0, '<': 183, '<?xml version=': 0, '>': 183, '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': '6130674', 'n_tokens_mistral': 2517, 'n_tokens_neox': 2237, 'n_words': 473}