Changeset 2684


Ignore:
Timestamp:
May 13, 2012, 6:15:36 PM (8 years ago)
Author:
teymour
Message:

Résumé du quinquena sur la home

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

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/apps/frontend/modules/parlementaire/templates/indexSuccess.php

    r2622 r2684  
    187187<div class="box_container">
    188188  <div class="box_tags">
    189   <h2><span style="margin-right: 5px;"><img alt="tags" src="<?php echo $sf_request->getRelativeUrlRoot(); ?>/images/xneth/assemblee-nationale.png" /></span><?php echo link_to('En ce moment à l\'Assemblée nationale', '@parlementaires_tags'); ?></h2>
     189  <h2><span style="margin-right: 5px;"><img alt="tags" src="<?php echo $sf_request->getRelativeUrlRoot(); ?>/images/xneth/assemblee-nationale.png" /></span><?php
     190if (myTools::isFinLegislature()) {
     191$titretags = 'Les mots clés du quinquénat';
     192}else{
     193$titretags = 'En ce moment à l\'Assemblée nationale';
     194}
     195echo link_to($titretags, '@parlementaires_tags'); ?></h2>
    190196  <?php echo include_component('tag', 'globalActivite'); ?>
    191197  </div>
  • cpc/trunk/project/apps/frontend/modules/tag/actions/components.class.php

    r2668 r2684  
    7676
    7777  public function executeGlobalActivite() {
     78    $this->itag = null;
     79    if (myTools::isFinLegislature())
     80      return ;
     81
    7882    $ids = Doctrine::getTable('Intervention')->createQuery('i')
    7983      ->select('i.id')
Note: See TracChangeset for help on using the changeset viewer.