<commit_before><?php


class ZoneFooter extends CopixZone {

	function _createContent (&$toReturn) {
		$tpl = & new CopixTpl ();
		$toReturn = "";
		
		$arModulesPath = CopixConfig::instance ()->arModulesPath;
		
		$display = false;
		
		foreach ($arModulesPath as $modulePath) {
		
			$tpl_file = $modulePath.'kernel/templates/footer.tpl';

			if( !file_exists( $tpl_file ) ) continue;<commit_msg>personalisation de footer.tpl via les templates.<commit_after><?php


class ZoneFooter extends CopixZone {

	function _createContent (&$toReturn) {
		$tpl = & new CopixTpl ();
        $kernel = _class("kernel");

		$toReturn = "";
		
		$arModulesPath = CopixConfig::instance ()->arModulesPath;
		
		$display = false;
		
		foreach ($arModulesPath as $modulePath) {
		
            if (file_exists( COPIX_PROJECT_PATH."themes/".$kernel->getTheme()."/kernel/footer.tpl" )) 
                $tpl_file = COPIX_PROJECT_PATH."themes/".$kernel->getTheme()."/kernel/footer.tpl";
            else
			    $tpl_file = $modulePath.'kernel/templates/footer.tpl';

			if( !file_exists( $tpl_file ) ) continue;
{'fraction_non_alphanumeric': 0.1466544454628781, 'fraction_numerical': 0.0, 'mean_word_length': 3.493827160493827, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '6541247', 'n_tokens_mistral': 393, 'n_tokens_neox': 358, 'n_words': 66}