Colonne worldcheck

This commit is contained in:
Michael RICOIS 2013-09-11 12:24:17 +00:00
parent f4c1243d6f
commit 8d02ead01f

View File

@ -88,35 +88,6 @@ div.img {background:url(/themes/default/images/worldcheck/wc.png) no-repeat; hei
<?php } ?>
<?php } ?>
</td>
<td><?php if($this->permission==1) { ?>
<?php
if ($this->allOccurrences[$dir->Nom]===NULL) {
$qtipContent = "WorldCheck<br/>Cliquez sur l&rsquo;icone WorldCheck";
} else {
$qtipContent = "WorldCheck<br/>Occurrences: ".$this->allOccurrences[$dir->Nom];
}
?>
<?php if ($dir->Societe != '') {?>
<a class='wcheck' tooltip='<?=$qtipContent ?>' href="<?=$this->url(array(
'controller' => 'worldcheck',
'action' => 'index',
'dirNom' => $dir->Societe,
'dirType' => 'ORGANISATION'), null, true)?>" style="cursor: pointer;" >
<div id='<?=$this->allOccurrences[$dir->Nom];?>' class='img'></div></a><br/>
<?php } ?>
<?php if ($dir->Nom != '') { ?>
<a class='wcheck' tooltip='<?=$qtipContent ?>' href="<?=$this->url(array(
'controller' => 'worldcheck',
'action' => 'index',
'dirNom' => $dir->Nom,
'dirPrenom' => $dir->Prenom,
'dirType' => 'INDIVIDUAL'), null, true)?>" style="cursor: pointer;" >
<div id='<?=$this->allOccurrences[$dir->Nom];?>' class='img'></div></a>
<?php } ?>
<?php }?>
</td>
<td class="StyleInfoData" width="100" valign="top">
<?php if ($dir->Siren!='') {?>
<a title="Consulter la fiche identité" href="<?=$this->url(array('controller'=>'identite', 'action'=>'fiche', 'siret'=>$dir->Siren))?>">
@ -128,9 +99,38 @@ div.img {background:url(/themes/default/images/worldcheck/wc.png) no-repeat; hei
<img style="vertical-align:middle;" src="/themes/default/images/interfaces/ajouter.png" /></a>
</div>
<?php }?>
<?php }?>
</td>
<?php if (empty($this->AutrePage)) { ?>
<td>
<?php if($this->permission==1) { ?>
<?php
if ($this->allOccurrences[$dir->Nom]===NULL) {
$qtipContent = "WorldCheck<br/>Cliquez sur l&rsquo;icone WorldCheck";
} else {
$qtipContent = "WorldCheck<br/>Occurrences: ".$this->allOccurrences[$dir->Nom];
}
?>
<?php if ($dir->Societe != '') {?>
<a class='wcheck' tooltip='<?=$qtipContent ?>' href="<?=$this->url(array(
'controller' => 'worldcheck',
'action' => 'index',
'dirNom' => $dir->Societe,
'dirType' => 'ORGANISATION'), null, true)?>" style="cursor: pointer;" >
<div id='<?=$this->allOccurrences[$dir->Nom];?>' class='img'></div></a><br/>
<?php } ?>
<?php if ($dir->Nom != '') { ?>
<a class='wcheck' tooltip='<?=$qtipContent ?>' href="<?=$this->url(array(
'controller' => 'worldcheck',
'action' => 'index',
'dirNom' => $dir->Nom,
'dirPrenom' => $dir->Prenom,
'dirType' => 'INDIVIDUAL'), null, true)?>" style="cursor: pointer;" >
<div id='<?=$this->allOccurrences[$dir->Nom];?>' class='img'></div></a>
<?php }?>
<?php }?>
</td>
<?php }?>
</tr>
<?php } ?>
</table>