Correction pour respect de structure html

This commit is contained in:
Michael RICOIS 2012-01-06 13:12:07 +00:00
parent a37f917fac
commit 908ccd0337

View File

@ -2,10 +2,12 @@
<div>
<ul class="critereSelection">
<?php foreach($this->fields->getByFamille('entreprise') as $name => $label): ?>
<a class="tooltip" title="<?php echo $label['label'];?>" href="<?php echo $this->url(array('controller' => 'index', 'action' => 'save', 'name' => $name))?>">
<li class="liHover printCritere" name="<?php echo $name; ?>"><?php echo $label['label'];?>
<li class="liHover printCritere" name="<?php echo $name; ?>">
<a class="tooltip" title="<?php echo $label['label'];?>" href="<?php echo $this->url(array('controller' => 'index', 'action' => 'save', 'name' => $name))?>">
<?php echo $label['label'];?>
<img src="/themes/default/images/<?php echo (($label['activated'])?'moins':'ajouter'); ?>.png" style="float:right"/>
</li></a>
</a>
</li>
<?php endforeach; ?>
</ul>
</div>
@ -13,10 +15,12 @@
<div>
<ul class="critereSelection">
<?php foreach($this->fields->getByFamille('economique') as $name => $label): ?>
<a class="tooltip" title="<?php echo $label['label'];?>">
<li class="liHover printCritere" name="<?php echo $name; ?>"><?php echo $label['label'];?>
<li class="liHover printCritere" name="<?php echo $name; ?>">
<a class="tooltip" title="<?php echo $label['label'];?>">
<?php echo $label['label'];?>
<img src="" style="float:right"/>
</li></a>
</a>
</li>
<?php endforeach; ?>
</ul>
</div>
@ -24,10 +28,12 @@
<div>
<ul class="critereSelection">
<?php foreach($this->fields->getByFamille('geographique') as $name => $label): ?>
<a class="tooltip" title="<?php echo $label['label'];?>">
<li class="liHover printCritere" name="<?php echo $name; ?>"><?php echo $label['label'];?>
<li class="liHover printCritere" name="<?php echo $name; ?>">
<a class="tooltip" title="<?php echo $label['label'];?>">
<?php echo $label['label'];?>
<img src="" style="float:right"/>
</li></a>
</a>
</li>
<?php endforeach; ?>
</ul>
</div>
@ -35,10 +41,12 @@
<div>
<ul class="critereSelection">
<?php foreach($this->fields->getByFamille('juridique') as $name => $label): ?>
<a class="tooltip" title="<?php echo $label['label'];?>">
<li class="liHover printCritere" name="<?php echo $name; ?>"><?php echo $label['label'];?>
<li class="liHover printCritere" name="<?php echo $name; ?>">
<a class="tooltip" title="<?php echo $label['label'];?>">
<?php echo $label['label'];?>
<img src="" style="float:right"/>
</li></a>
</a>
</li>
<?php endforeach; ?>
</ul>
</div>
@ -46,10 +54,12 @@
<div>
<ul class="critereSelection">
<?php foreach($this->fields->getByFamille('financier') as $name => $label): ?>
<li class="liHover printCritere" name="<?php echo $name; ?>">
<a class="tooltip" title="<?php echo $label['label'];?>">
<li class="liHover printCritere" name="<?php echo $name; ?>"><?php echo $label['label'];?>
<?php echo $label['label'];?>
<img src="" style="float:right"/>
</li></a>
</a>
</li>
<?php endforeach; ?>
</ul>
</div>