Ignore:
Timestamp:
Sep 5, 2010, 1:25:07 AM (10 years ago)
Author:
teymour
Message:

Presentation des résultats de recherche solr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/apps/frontend/modules/solr/templates/searchSuccess.php

    r1160 r1317  
    1212}
    1313?>
     14<div class="solr">
    1415<div class="searchbox">
    1516<form>
     
    1920</div>
    2021<div class="nb_results">
    21 <p>Résultats <?php echo $results['start']+1; ?> à <?php echo $results['end']-1; ?> sur <?php echo $results['numFound']; ?></p>
     22    <p>Résultats <?php echo $results['start']+1; ?> à <?php echo $results['end']-1; ?> sur <?php echo $results['numFound']; ?> triés par <?php echo $sort_type; ?></p>
    2223</div>
    2324<div class="facets">
     25<div class="tri">
     26Tier par <a href="">date</a>
     27</div>
    2428<?php   foreach(array_keys($facet) as $k) { if (isset($facet[$k]['values']) && count($facet[$k]['values'])) : ?>
    2529<div class="<?php echo $k; ?>">
     
    5862</ul>
    5963</div>
     64</div>
    6065<div class="results">
    6166<?php foreach ($results['docs'] as $record) : ?>
    6267<div class="item">
    63    <h4><?php echo $record['id']; ?></h4>
    64    <p class="content"><?php echo $record['highlighting']; ?></p>
     68      <h4><a href="<?php echo $record['link']; ?>"><?php echo $record['titre']; ?></a></h4>
     69      <p class="photo"><a href="<?php echo $record['link']; ?>" rel="nofollow"><img height=67 width=53 src="<?php echo $record['photo']; ?>"/></a></p>
     70      <p class="intervenant"><a href="<?php echo $record['link']; ?>" rel="nofollow"><?php echo $record['personne']; ?></a></p>
     71      <p class="content"><?php echo $record['highlighting']; ?></p>
     72      <p class="more"><a href="<?php echo $record['link']; ?>">Lire dans son contexte</a></p>
    6573</div>
    6674<div class="record">
     
    94102</div>
    95103</div>
     104</div>
Note: See TracChangeset for help on using the changeset viewer.