Changeset 1673


Ignore:
Timestamp:
Oct 5, 2010, 3:04:35 PM (10 years ago)
Author:
goya
Message:

remonter boite alertes

Location:
cpc/trunk/project
Files:
2 edited

Legend:

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

    r1672 r1673  
    175175<div class="solr">
    176176  <?php include_partial('solr/searchbox'); ?>
     177<div class="solrleft">
    177178<h1><?php echo $intitule_resultats; ?></h1>
    178179<?php
    179180if($graph) {
    180   $width_date = 900;
     181  $width_date = 650;
    181182  $left = 2;
    182183  $espacement = 4;
     
    216217  <div id="slider_date_graph"></div>
    217218</div>
    218 <?php } ?>
    219 <div id="results_container">
    220 <?php
    221 endif;
    222 ///////////////////// FIN SANS AJAX /////////////////////
    223 ?>
    224 <div class="nb_results">
    225   <h2>Résultats <?php echo $results['start']+1; ?> à <?php echo min($results['end'],$results['numFound']); ?> sur <?php echo $results['numFound']; ?> <strong>triés par <?php echo $sort_type; ?></strong>&nbsp;&mdash;
    226   <span class="tri">
    227   <?php
    228   $newargs = $selected;
    229   if ($sort) {
    230     if (isset($newargs['sort'])) { $newargs['sort'] = 0; }
    231     echo link_search('trier par pertinence', $query, $newargs, 0);
    232   }
    233   else {
    234     $newargs['sort'] = 1;
    235     echo link_search('trier par date', $query, $newargs, 0);
    236   }
    237   ?>
    238   </span></h2>
    239219</div>
    240220<div class="options">
     
    251231<table width=100% style="text-align: center"><tr>
    252232       <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>
    253        <td><a href="<?php $newargs_rss = $selected; $newargs_rss['format']['rss'] = 'rss'; 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></td>
    254 </tr></table>
    255 <?php
     233       <td><a href="<?php $newargs_rss = $selected; $newargs_rss['format']['rss'] = 'rss'; if (isset($newargs_rss['date'])) unset($newargs_rss['date']); 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></td>
     234</tr></table></div></div>
     235<?php }
     236endif;
     237///////////////////// FIN SANS AJAX /////////////////////
     238
    256239global $facetName2HumanName;
    257240$facetName2HumanName = array(
     
    279262}
    280263  ?>
    281   </div>
     264<div id="results_container">
     265<div class="options">
    282266  <div class="facets">
    283267  <h3 class="aligncenter">Affiner la recherche</h3>
     
    311295  </div>
    312296</div>
     297<div class="nb_results">
     298  <h2>Résultats <?php echo $results['start']+1; ?> à <?php echo min($results['end'],$results['numFound']); ?> sur <?php echo $results['numFound']; ?> <strong>triés par <?php echo $sort_type; ?></strong>&nbsp;&mdash;
     299  <span class="tri">
     300  <?php
     301  $newargs = $selected;
     302  if ($sort) {
     303    if (isset($newargs['sort'])) { $newargs['sort'] = 0; }
     304    echo link_search('trier par pertinence', $query, $newargs, 0);
     305  }
     306  else {
     307    $newargs['sort'] = 1;
     308    echo link_search('trier par date', $query, $newargs, 0);
     309  }
     310  ?>
     311  </span></h2>
     312</div>
    313313<div class="results">
    314314  <?php foreach ($results['docs'] as $record) : ?>
  • cpc/trunk/project/web/css/xneth/style.css

    r1662 r1673  
    3838.date {
    3939        border-bottom: 1px solid #E0E0DD;
    40         width: 900px;
     40        width: 650px;
    4141        max-height: 200px;
    42         min-height: 60px;
     42        min-height: 80px;
    4343        margin: 0;
    4444        padding: 0;
     
    5050}
    5151#slider_date_graph {
    52   width: 870px;
     52  width: 620px;
    5353  margin-top: 7px;
    5454  margin-left: 20px;
     
    9090  width: 350px;
    9191}
    92 
     92.solrleft {
     93  float:left;
     94  width: 650px;
     95}
    9396.solr h1 {
    9497  text-align: left;
    9598  font-size: 1.3em;
     99  width: 650px;
    96100}
    97101.solr h2 {
Note: See TracChangeset for help on using the changeset viewer.