Ignore:
Timestamp:
Sep 19, 2010, 1:35:09 PM (11 years ago)
Author:
goya
Message:

taille photos solr

File:
1 edited

Legend:

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

    r1385 r1389  
    7878<div class="item">
    7979      <h4><a href="<?php echo $record['link']; ?>"><?php echo $record['titre']; ?></a></h4>
    80       <p class="photo"><a href="<?php echo $record['link']; ?>" rel="nofollow"><img height=67 width=53 src="<?php echo $record['photo']; ?>"/></a></p>
     80      <?php if ($record['photo']) { ?><p class="photo"><a href="<?php echo $record['link']; ?>" rel="nofollow"><img width="53" src="<?php echo $record['photo']; ?>"/></a></p><?php } ?>
    8181      <p class="intervenant"><a href="<?php echo $record['link']; ?>" rel="nofollow"><?php echo $record['personne']; ?></a></p>
    8282      <p class="content"><?php echo $record['highlighting']; ?></p>
Note: See TracChangeset for help on using the changeset viewer.