73 lines
2.3 KiB
PHTML
73 lines
2.3 KiB
PHTML
<?php if ($this->preferences) {?>
|
|
|
|
<h3><a href="#">Entreprise</a></h3>
|
|
<div>
|
|
<ul class="critereSelection">
|
|
<?php foreach($this->fields->getByFamille('entreprise') as $name => $label): ?>
|
|
<li class="liHover printCritere tooltip" name="<?=$name?>">
|
|
<a title="<?=$label['label']?>" href="<?=$this->url(array('controller' => 'index', 'action' => 'save', 'name' => $name))?>">
|
|
<?=$label['label']?>
|
|
<img src="/themes/default/images/<?=(($label['activated'])?'moins':'ajouter')?>.png" style="float:right"/>
|
|
</a>
|
|
</li>
|
|
<?php endforeach; ?>
|
|
</ul>
|
|
</div>
|
|
<h3><a href="#">Situation economique</a></h3>
|
|
<div>
|
|
<ul class="critereSelection">
|
|
<?php foreach($this->fields->getByFamille('economique') as $name => $label): ?>
|
|
<li class="liHover printCritere tooltip" name="<?=$name?>">
|
|
<a title="<?=$label['label']?>">
|
|
<?=$label['label']?>
|
|
<img src="/themes/default/images/<?=(($label['activated'])?'moins':'ajouter')?>.png" style="float:right"/>
|
|
</a>
|
|
</li>
|
|
<?php endforeach; ?>
|
|
</ul>
|
|
</div>
|
|
<h3><a href="#">Secteur géographique</a></h3>
|
|
<div>
|
|
<ul class="critereSelection">
|
|
<?php foreach($this->fields->getByFamille('geographique') as $name => $label): ?>
|
|
<li class="liHover printCritere tooltip" name="<?=$name?>">
|
|
<a title="<?=$label['label']?>">
|
|
<?=$label['label']?>
|
|
<img src="/themes/default/images/<?=(($label['activated'])?'moins':'ajouter')?>.png" style="float:right"/>
|
|
</a>
|
|
</li>
|
|
<?php endforeach; ?>
|
|
</ul>
|
|
</div>
|
|
<h3><a href="#">Situation juridique</a></h3>
|
|
<div>
|
|
<ul class="critereSelection">
|
|
<?php foreach($this->fields->getByFamille('juridique') as $name => $label): ?>
|
|
<li class="liHover printCritere tooltip" name="<?=$name?>">
|
|
<a title="<?=$label['label']?>">
|
|
<?=$label['label']?>
|
|
<img src="/themes/default/images/<?=(($label['activated'])?'moins':'ajouter')?>.png" style="float:right"/>
|
|
</a>
|
|
</li>
|
|
<?php endforeach; ?>
|
|
</ul>
|
|
</div>
|
|
<h3><a href="#">Situation financiére</a></h3>
|
|
<div>
|
|
<ul class="critereSelection">
|
|
<?php foreach($this->fields->getByFamille('financier') as $name => $label): ?>
|
|
<li class="liHover printCritere tooltip" name="<?=$name?>">
|
|
<a class="tooltip" title="<?=$label['label']?>">
|
|
<?=$label['label']?>
|
|
<img src="/themes/default/images/<?=(($label['activated'])?'moins':'ajouter')?>.png" style="float:right"/>
|
|
</a>
|
|
</li>
|
|
<?php endforeach; ?>
|
|
</ul>
|
|
</div>
|
|
|
|
<?php } else {?>
|
|
|
|
<h3>Vos critères</h3>
|
|
|
|
<?php }?> |