Subversion Repositories Applications.papyrus

Rev

Rev 1933 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1933 Rev 2104
Line 94... Line 94...
94
	            }
94
	            }
Line 95... Line 95...
95
	            
95
	            
96
	            if ($aso_resultat['poids'] > 0) {
96
	            if ($aso_resultat['poids'] > 0) {
97
	                // Création de l'url
97
	                // Création de l'url
98
		            $aso_resultat['url_simple'] = $url_base.'article'.$article_id.'.html';
98
		            $aso_resultat['url_simple'] = $url_base.'article'.$article_id.'.html';
Line 99... Line 99...
99
		            $aso_resultat['url'] = $aso_resultat['url_simple'].'?var_recherche='.$this->traiterMotif($motif, 'url');
99
		            $aso_resultat['url'] = $aso_resultat['url_simple'].'?var_recherche='.More_Recherche::traiterMotif($motif, 'url');
100
		            
100
		            
101
		            // Récupération du titre de la page
101
		            // Récupération du titre de la page
102
		            if (trim($Article->titre) != '') {
102
		            if (trim($Article->titre) != '') {
Line 106... Line 106...
106
		            } else if (trim($Article->soustitre) != '') {
106
		            } else if (trim($Article->soustitre) != '') {
107
		                $aso_resultat['titre'] = htmlentities($Article->soustitre);
107
		                $aso_resultat['titre'] = htmlentities($Article->soustitre);
108
		            }
108
		            }
109
		            $aso_resultat['hreflang'] = htmlentities($Article->lang);
109
		            $aso_resultat['hreflang'] = htmlentities($Article->lang);
Line 110... Line 110...
110
		            
110
		            
Line 111... Line 111...
111
		            $aso_resultat['description'] = $this->couperTexte($Article->texte, MORE_RESULTAT_TAILLE_DESCRIPTION);
111
		            $aso_resultat['description'] = More_Recherche::couperTexte($Article->texte, MORE_RESULTAT_TAILLE_DESCRIPTION);
112
		            
112
		            
113
		            if (($jour = date('d', strtotime($Article->date)) ) != 0 ) {
113
		            if (($jour = date('d', strtotime($Article->date)) ) != 0 ) {
114
		                $aso_resultat['date_creation'] .= '<span class="page_modification_jour"> '.$jour.'</span>'."\n";
114
		                $aso_resultat['date_creation'] .= '<span class="page_modification_jour"> '.$jour.'</span>'."\n";