Changeset 1709
- Timestamp:
- Oct 8, 2010, 12:10:55 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpc/trunk/project/apps/frontend/modules/solr/templates/searchSuccess.php
r1687 r1709 36 36 37 37 $recherche = preg_replace('/"/', '"', $query); 38 38 $graph = 1; 39 $intitule_resultats = 'Résultats pour « <em>'.$recherche.'</em> » '; 39 40 switch ($vue) { 40 41 case "jour": 41 42 $periode_text = 'le '.myTools::displayShortDate($start); 42 $intitule_resultats = 'Résultats pour "<em>'.$recherche.'</em>" '.$periode_text;43 $intitule_resultats .= $periode_text; 43 44 $graph = 0; 44 45 break; 45 46 case "mois": 46 47 $periode_text = 'en '.myTools::displayMoisAnnee($start); 47 $intitule_resultats = 'Résultats pour "<em>'.$recherche.'</em>" ';48 $graph = 1;49 48 break; 50 49 case "par_jour": 51 50 $periode_text = 'entre le '.myTools::displayShortDate($start).' et le '.myTools::displayShortDate($end); 52 $intitule_resultats = 'Résultats pour "<em>'.$recherche.'</em>" ';53 $graph = 1;54 51 break; 55 52 case "par_mois": 56 53 $periode_text = 'entre '.myTools::displayMoisAnnee($start).' et '.myTools::displayMoisAnnee($end); 57 $intitule_resultats = 'Résultats pour "<em>'.$recherche.'</em>" ';58 $graph = 1;59 54 break; 60 55 default: 61 56 $periode_text = "supprimer les critère de dates"; 62 $intitule_resultats = 'Recherche de "<em>'.$recherche.'</em>'; 63 $graph = 1; 57 $intitule_resultats = 'Recherche de « <em>'.$recherche.'</em> » '; 64 58 } 65 59 … … 340 334 <span class="next"> 341 335 <?php 342 if ($results['end'] -1!= $results['numFound']) {336 if ($results['end'] != $results['numFound']) { 343 337 $newargs = $selected; 344 338 $newargs['page'][$results['page'] + 1] = 1;
Note: See TracChangeset
for help on using the changeset viewer.