<commit_before><?php 
$cssAnsScriptFilesModule = array(
  
  '/plugins/select2/select2.min.js'

);
HtmlHelper::registerCssAndScriptsFiles( $cssAnsScriptFilesModule ,Yii::app()->theme->baseUrl."/assets");
?>
<style>

.lbl-title-newsstream{
	display: none;
}
.img-logo{
	height:200px;
}
.btn-scope{
display: inline;
}

@media screen and (max-width: 1024px) {
  button.btn-start-search {
    margin-top: -40px;
    margin-left: 47%;
    color: white;
    border-radius: 30px;
    font-weight: 300;
    font-size: 19px;
    margin-bottom: 20px;
    height: 45px;
    width: 45px;
    padding: 0px;
  }

  .img-logo {
    height: 170px;
  }
  #newsHistory #timeline {
    margin-top: -50px;
  }


}

.lbl-scope-list{
    top:250px !important;
  }

  #btn-filter-scope-news{
    display:none;
  }

</style>
<div class="lbl-scope-list text-red"></div>

<div class="img-logo bgpixeltree_little">
	<button data-id="explainNews" class="explainLink menu-button btn-infos bg-red tooltips hidden-xs" data-toggle="tooltip" data-placement="left" title="Comment ça marche ?" alt="Comment ça marche ?">
		<i class="fa fa-question-circle"></i>
	</button>

	<input id="searchBarText" type="text" placeholder="Recherche par tags" class="input-search text-red">
	
	<button class="btn btn-primary btn-start-search" id="btn-start-search"><i class="fa fa-search"></i></button></br>
</div>
<div class="col-md-12 center" style="margin-top: 20px; margin-bottom: 0px; margin-left: 0px;">
    <div class="btn-group inline-block" id="menu-directory-type">
      <button class="btn btn-default btn-filter-type tooltips text-dark" data-toggle="tooltip" data-placement="top" title="News" type="news">
        <i class="fa fa-check-circle-o search_news"></i> <i class="fa fa-rss"></i> <span class="hidden-xs hidden-sm">News</span>
      </button>
      <button class="btn btn-default btn-filter-type tooltips text-dark" data-toggle="tooltip" data-placement="top" title="Organisations" type="organizations">
        <i class="fa fa-check-circle-o search_organizations"></i> <i class="fa fa-group"></i> <span class="hidden-xs hidden-sm">Organisations</span>
      </button>
      <button class="btn btn-default btn-filter-type tooltips text-dark" data-toggle="tooltip" data-placement="top" title="Projets" type="projects">
        <i class="fa fa-check-circle-o search_projects"></i> <i class="fa fa-lightbulb-o"></i> <span class="hidden-xs hidden-sm">Projets</span>
      </button>
      <button class="btn btn-default btn-filter-type tooltips text-dark" data-toggle="tooltip" data-placement="top" title="Évènements" type="events">
        <i class="fa fa-check-circle-o search_events"></i> <i class="fa fa-calendar"></i> <span class="hidden-xs hidden-sm">Évènements</span>
      </button>
	  <button class="btn btn-default btn-filter-type tooltips text-dark" data-toggle="tooltip" data-placement="top" title="Needs" type="needs">
        <i class="fa fa-check-circle-o search_needs"></i> <i class="fa fa-cubes"></i> <span class="hidden-xs hidden-sm">Needs</span>
      </button>
    </div>
  </div>

<?php //$this->renderPartial("first_step_news"); ?> 
<?php //$this->renderPartial("news/index"); ?> 


<div class="" id="dropdown_search"></div>
<div class="col-md-12" id="newsstream"></div>


<script type="text/javascript">
var searchType = ["organizations", "projects", "events", "needs", "news"];
jQuery(document).ready(function() {
  	topMenuActivated = true;
  	hideScrollTop = true; 
  	checkScroll();
  	var timeoutSearch = setTimeout(function(){ }, 100);

    setTimeout(function(){ $("#input-communexion").hide(300); }, 300);

  	$('.main-btn-toogle-map').click(function(e){ showMap(); });
  	
  	
  	$('#searchBarText').keyup(function(e){
        clearTimeout(timeoutSearch);
        timeoutSearch = setTimeout(function(){ startSearch(); }, 800);
    });

  <commit_msg>trad needs option in filter news<commit_after><?php 
$cssAnsScriptFilesModule = array(
  
  '/plugins/select2/select2.min.js'

);
HtmlHelper::registerCssAndScriptsFiles( $cssAnsScriptFilesModule ,Yii::app()->theme->baseUrl."/assets");
?>
<style>

.lbl-title-newsstream{
	display: none;
}
.img-logo{
	height:200px;
}
.btn-scope{
display: inline;
}

@media screen and (max-width: 1024px) {
  button.btn-start-search {
    margin-top: -40px;
    margin-left: 47%;
    color: white;
    border-radius: 30px;
    font-weight: 300;
    font-size: 19px;
    margin-bottom: 20px;
    height: 45px;
    width: 45px;
    padding: 0px;
  }

  .img-logo {
    height: 170px;
  }
  #newsHistory #timeline {
    margin-top: -50px;
  }


}

.lbl-scope-list{
    top:250px !important;
  }

  #btn-filter-scope-news{
    display:none;
  }

</style>
<div class="lbl-scope-list text-red"></div>

<div class="img-logo bgpixeltree_little">
	<button data-id="explainNews" class="explainLink menu-button btn-infos bg-red tooltips hidden-xs" data-toggle="tooltip" data-placement="left" title="Comment ça marche ?" alt="Comment ça marche ?">
		<i class="fa fa-question-circle"></i>
	</button>

	<input id="searchBarText" type="text" placeholder="Recherche par tags" class="input-search text-red">
	
	<button class="btn btn-primary btn-start-search" id="btn-start-search"><i class="fa fa-search"></i></button></br>
</div>
<div class="col-md-12 center" style="margin-top: 20px; margin-bottom: 0px; margin-left: 0px;">
    <div class="btn-group inline-block" id="menu-directory-type">
      <button class="btn btn-default btn-filter-type tooltips text-dark" data-toggle="tooltip" data-placement="top" title="News" type="news">
        <i class="fa fa-check-circle-o search_news"></i> <i class="fa fa-rss"></i> <span class="hidden-xs hidden-sm">News</span>
      </button>
      <button class="btn btn-default btn-filter-type tooltips text-dark" data-toggle="tooltip" data-placement="top" title="Organisations" type="organizations">
        <i class="fa fa-check-circle-o search_organizations"></i> <i class="fa fa-group"></i> <span class="hidden-xs hidden-sm">Organisations</span>
      </button>
      <button class="btn btn-default btn-filter-type tooltips text-dark" data-toggle="tooltip" data-placement="top" title="Projets" type="projects">
        <i class="fa fa-check-circle-o search_projects"></i> <i class="fa fa-lightbulb-o"></i> <span class="hidden-xs hidden-sm">Projets</span>
      </button>
      <button class="btn btn-default btn-filter-type tooltips text-dark" data-toggle="tooltip" data-placement="top" title="Évènements" type="events">
        <i class="fa fa-check-circle-o search_events"></i> <i class="fa fa-calendar"></i> <span class="hidden-xs hidden-sm">Évènements</span>
      </button>
	  <button class="btn btn-default btn-filter-type tooltips text-dark" data-toggle="tooltip" data-placement="top" title="Besoins" type="needs">
        <i class="fa fa-check-circle-o search_needs"></i> <i class="fa fa-cubes"></i> <span class="hidden-xs hidden-sm">Besoins</span>
      </button>
    </div>
  </div>

<?php //$this->renderPartial("first_step_news"); ?> 
<?php //$this->renderPartial("news/index"); ?> 


<div class="" id="dropdown_search"></div>
<div class="col-md-12" id="newsstream"></div>


<script type="text/javascript">
var searchType = ["organizations", "projects", "events", "needs", "news"];
jQuery(document).ready(function() {
  	topMenuActivated = true;
  	hideScrollTop = true; 
  	checkScroll();
  	var timeoutSearch = setTimeout(function(){ }, 100);

    setTimeout(function(){ $("#input-communexion").hide(300); }, 300);

  	$('.main-btn-toogle-map').click(function(e){ showMap(); });
  	
  	
  	$('#searchBarText').keyup(function(e){
        clearTimeout(timeoutSearch);
        timeoutSearch = setTimeout(function(){ startSearch(); }, 800);
    });

  
{'fraction_non_alphanumeric': 0.18768632534024626, 'fraction_numerical': 0.014257939079714841, 'mean_word_length': 4.206477732793522, 'pattern_counts': {'":': 0, '<': 139, '<?xml version=': 0, '>': 147, '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': '6778312', 'n_tokens_mistral': 2759, 'n_tokens_neox': 2622, 'n_words': 519}