Subversion Repositories Applications.papyrus

Rev

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

Rev 2108 Rev 2110
Line 167... Line 167...
167
	$item['score'] = intval($item['weight'] / $max * 100);
167
	$item['score'] = intval($item['weight'] / $max * 100);
168
	$item['date_creation'] = strftime("%d %B %Y", strtotime($item['date_creation']));
168
	$item['date_creation'] = strftime("%d %B %Y", strtotime($item['date_creation']));
169
	unset($item['weight']);
169
	unset($item['weight']);
170
}
170
}
Line 171... Line -...
171
 
-
 
172
 
-
 
173
// ce fichier/cette fonction peut-être réclamé plusieurs fois
-
 
174
// car le motif du template '{{MoteurRecherche}}' est inclu récursivement,
-
 
175
// (la première substitution fait réapparaître '{{MoteurRecherche}}')
171
 
176
function sphinx_search($q = NULL, $page = 1) {
172
function sphinx_search($q = NULL, $page = 1) {
Line 177... Line 173...
177
	if(!$q) return array();
173
	if(!$q) return array();
178
 
174