Changeset 1603


Ignore:
Timestamp:
Oct 3, 2010, 10:05:40 PM (10 years ago)
Author:
roux
Message:

rss comments sur home

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

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/apps/frontend/modules/parlementaire/actions/actions.class.php

    r1526 r1603  
    110110  }
    111111
    112   public function executeIndex(sfWebRequest $request)
    113   {
    114       //      ->where('i.date > ?', date('Y-m-d', time()-60*60*24*31*3));
     112  public function executeIndex(sfWebRequest $request) {
     113    $request->setParameter('rss', array(array('link' => '@commentaires_rss', 'title'=>'Les derniers commentaires sur NosDéputés.fr')));
    115114  }
    116115
  • cpc/trunk/project/apps/frontend/modules/parlementaire/templates/indexSuccess.php

    r1594 r1603  
    191191  <div class="clear"></div>
    192192  <div class="box_widget">
    193     <h2><span style="margin-right: 5px;"><img alt="comments" src="<?php echo $sf_request->getRelativeUrlRoot(); ?>/images/xneth/ico_comment.png" /></span><a href="<?php echo url_for('@commentaires'); ?>">Les derniers commentaires</a></h2>
     193    <h2><span style="margin-right: 5px;"><img alt="comments" src="<?php echo $sf_request->getRelativeUrlRoot(); ?>/images/xneth/ico_comment.png" /></span><a href="<?php echo url_for('@commentaires'); ?>">Les derniers commentaires</a><span class="rss"><a href="<?php echo url_for('@commentaires_rss'); ?>"><?php echo image_tag('xneth/rss.png', 'alt="Flux rss"'); ?></a></span></h2>
    194194    <div id="coms_widget">
    195195      <noscript>
Note: See TracChangeset for help on using the changeset viewer.