Changeset 1459


Ignore:
Timestamp:
Sep 27, 2010, 5:57:57 PM (10 years ago)
Author:
goya
Message:

correction affichage com perma

File:
1 edited

Legend:

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

    r1439 r1459  
    4545      <h2>Responsabilités</h2>
    4646      <ul>
    47         <li>Commission permanente : <?php foreach ($resps as $resp) if (in_array($resp->organisme_id, array(2, 11, 13, 22, 204, 211, 212, 237))) { echo link_to(ucfirst(str_replace('Commission des ', '', str_replace(' et de l\'', ' et ', $resp->getNom()))), '@list_parlementaires_organisme?slug='.$resp->getSlug()); echo ' ('.$resp->getFonction().') '; break; } ?></li>
     47        <li>Commission permanente : <?php foreach ($resps as $resp) if (in_array($resp->organisme_id, array(2, 11, 13, 22, 204, 211, 212, 237))) { echo link_to(ucfirst(str_replace('Commission ', '', preg_replace('/(Commission|et|,) d(u |e la |es |e l\'|e l’)/', '\\1 ', $resp->getNom()))), '@list_parlementaires_organisme?slug='.$resp->getSlug()); echo ' ('.$resp->getFonction().') '; break; } ?></li>
    4848        <li>Missions parlementaires :
    4949          <ul>
Note: See TracChangeset for help on using the changeset viewer.