Changeset 1616
- Timestamp:
- Oct 4, 2010, 12:39:03 AM (10 years ago)
- Location:
- cpc/trunk/project/apps/frontend/modules
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
cpc/trunk/project/apps/frontend/modules/circonscription/templates/_map.php
r1614 r1616 1 1 <?php 2 if (!class_exists('CirconscriptionActions')) 3 include(sfConfig::get('sf_app_dir').'/modules/circonscription/actions/actions.class.php'); 4 CirconscriptionActions::echoDeptmtsMap($circo, $width, $height); 2 if (!isset($num) || !$num) 3 return; 4 5 if (preg_match('/^\d$/', $num)) 6 $num = sprintf("%02d",$num); 7 8 if (preg_match('/\d[a-z]/i', $num)) 9 $fixednum = '0'.$num; 10 else 11 $fixednum = sprintf('%03d',$num); 12 13 CirconscriptionActions::echoCircoMap($fixednum, $size, 0); -
cpc/trunk/project/apps/frontend/modules/circonscription/templates/listSuccess.php
r1611 r1616 2 2 <h1>Toutes les circonscriptions par département</h1><?php 3 3 $sf_response->setTitle('Toutes les circonscriptions électorales par département - NosDéputés.fr'); ?> 4 <?php include_partial('circonscription/map ', array('circo'=>'full', 'height'=>600, 'width'=>546)); ?>4 <?php include_partial('circonscription/mapDepartement', array('circo'=>'full', 'height'=>600, 'width'=>546)); ?> 5 5 <div class="list_deptmts"> 6 6 <?php $iters = array("0" => 27, "27" => 55, "55" => 65, "65" => 75, "75" => 86, "86" => 96, "96" => 120); -
cpc/trunk/project/apps/frontend/modules/parlementaire/templates/indexSuccess.php
r1614 r1616 172 172 <h2><span style="margin-right: 5px;"><img alt="actu" src="<?php echo $sf_request->getRelativeUrlRoot(); ?>/images/xneth/ico_nosdeputes.png" /></span>Touver son député</h2> 173 173 <div class="cont_box_news"> 174 <p><?php include_partial('circonscription/map ', array('circo' => "full", 'width'=>200, 'height'=>0)); ?></p>174 <p><?php include_partial('circonscription/mapDepartement', array('circo' => "full", 'width'=>200, 'height'=>0)); ?></p> 175 175 </div> 176 176 <div class="message">
Note: See TracChangeset
for help on using the changeset viewer.