issue #0001653 : Permission worldcheck

This commit is contained in:
Michael RICOIS 2013-09-23 08:05:34 +00:00
parent cf6236def1
commit a2a67c4dc5

View File

@ -59,13 +59,13 @@ echo $this->partial('identite/fiche-item.phtml', $this->dBlock['AutreSiren']);
<h2>Raison sociale &amp; Coordonnées</h2>
<div class="paragraph">
<div style="float:right;">
<?php if($this->permission) ?><?php
//echo $this->action('occurence','worldcheck', null, array('dirSociete'=>$this->infos->Nom, 'dirType' =>'ORGANISATION', 'siren' => substr($this->siret, 0, 9)));?>
<?php if($this->permission) { ?>
<?php //echo $this->action('occurence','worldcheck', null, array('dirSociete'=>$this->infos->Nom, 'dirType' =>'ORGANISATION', 'siren' => substr($this->siret, 0, 9)));?>
<a class="wcheck" href="<?=$this->url(array(
'controller'=>'worldcheck',
'action'=>'index',
'dirSociete'=>$this->infos->Nom,
'dirType' =>'ORGANISATION',
'controller'=>'worldcheck',
'action'=>'index',
'dirSociete'=>$this->infos->Nom,
'dirType' =>'ORGANISATION',
'siren'=>substr($this->siret, 0, 9)), null, true)?>"><img src='/themes/default/images/worldcheck/wc.png'/></a>
</div>
<script>
@ -79,6 +79,7 @@ $('a.wcheck').each(function(){
});
});
</script>
<?php }?>
<table>
<?php
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['RaisonSociale']);