Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 2130 → Rev 2131

/trunk/papyrus/applettes/moteur_recherche/moteur_recherche_sphinx.php
108,7 → 108,7
$content = array();
while($rec = $req->fetchRow(DB_FETCHMODE_ASSOC)) {
$rec['url_simple'] = $rec['url'] = sprintf("%s?id_projet=%d",
trim($GLOBALS['_MOTEUR_RECHERCHE_']['projet'][0]['url'], '/'),
trim($GLOBALS['_MOTEUR_RECHERCHE_']['projet']['url'], '/'),
$rec['id']);
$rec['description'] = substr(strip_tags($rec['p_description']), 0, 400 + 2 * MORE_RESULTAT_TAILLE_DESCRIPTION);
unset($rec['p_description']);