Changeset 1737


Ignore:
Timestamp:
Oct 31, 2010, 4:19:27 PM (10 years ago)
Author:
roux
Message:

correction affichage résukltats recherche pour un jour unique

Location:
cpc/trunk/project/apps/frontend/modules/solr/templates
Files:
2 edited

Legend:

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

    r1714 r1737  
    1717       <td><a href="<?php echo url_for('alerte/create?filter='.urlencode($args).'&query='.urlencode($query)); ?>"><?php echo image_tag('xneth/email.png', 'alt="Email"'); ?></a><br/><a href="<?php echo url_for('alerte/create?filter='.urlencode($args).'&query='.urlencode($query)); ?>">par email</a></td>
    1818       <td><?php if (!isset($norss)) : ?><a href="<?php $newargs_rss = $selected; $newargs_rss['format']['rss'] = 'rss'; if (isset($newargs_rss['date'])) unset($newargs_rss['date']); if (isset($newargs_rss['sort'])) unset($newargs_rss['sort']); echo url_for(url_search($query, $newargs_rss)); ?>"><?php echo image_tag('xneth/rss_obliq.png', 'alt="Flux rss"'); ?></a><br/><a href="<?php echo url_for(url_search($query, $newargs_rss)); ?>">par RSS</a><?php endif; ?></td>
    19 </tr></table></div></div>
     19</tr></table></div>
     20<?php if (!isset($opendiv) || !$opendiv) echo '</div>'; ?>
    2021
  • cpc/trunk/project/apps/frontend/modules/solr/templates/searchSuccess.php

    r1724 r1737  
    222222?>
    223223</div>
    224 <?php include_partial('solr/follow', array('query' => $query, 'selected' => $selected)); ?>
     224<?php include_partial('solr/follow', array('query' => $query, 'selected' => $selected, 'opendiv' => ($vue === 'jour' ? true : false))); ?>
    225225<?php endif;
    226226global $facetName2HumanName;
     
    249249}
    250250  ?>
     251<?php if ($vue != "jour") { ?>
    251252<div class="clear"></div>
    252253<div id="results_container">
    253254<div class="options">
     255<?php } ?>
    254256  <div class="facets">
    255257  <h3 class="aligncenter">Affiner la recherche</h3>
     
    336338  </span>
    337339</div>
    338 </div>
     340<?php if ($vue != "jour") echo '</div>'; ?>
    339341<?php if (!$ajax) : ?>
    340342</div>
Note: See TracChangeset for help on using the changeset viewer.