Issue #0001609:
This commit is contained in:
parent
8e660edcbc
commit
71ecb298b9
@ -954,7 +954,11 @@ class FinanceController extends Zend_Controller_Action
|
||||
*/
|
||||
public function bourseAction()
|
||||
{
|
||||
require_once 'Scores/Logo.php';
|
||||
|
||||
$siren = substr($this->siret, 0, 9);
|
||||
|
||||
$urlImg = new Logo($siren);
|
||||
|
||||
$sessionEntreprise = new SessionEntreprise($this->siret, $this->id);
|
||||
|
||||
@ -978,6 +982,7 @@ class FinanceController extends Zend_Controller_Action
|
||||
$this->view->assign('raisonSociale', $sessionEntreprise->getRaisonSociale());
|
||||
$this->view->assign('siren', $siren);
|
||||
$this->view->assign('exportObjet', $infos);
|
||||
$this->view->assign('urlImg', $urlImg->affiche());
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -107,18 +107,12 @@ switch (trim(strtoupper($this->InfosBourse->EligiblePEA)))
|
||||
<td width="350" class="StyleInfoData"><?=$srd?> / <?=$pea?></td>
|
||||
</tr>
|
||||
<?php
|
||||
if ($urlImg!='')
|
||||
{
|
||||
$tabTmp=@getimagesize($locImg.$ext);
|
||||
$w=$tabTmp[0];
|
||||
$h=$tabTmp[1];
|
||||
if ($w>350) $strSize=@redimage($locImg.$ext,350,150);
|
||||
else $strSize='';
|
||||
if ($this->urlImg!='') {
|
||||
?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Logo</td>
|
||||
<td width="350" class="StyleInfoData"><img src="<?=$urlImg?>" <?=$strSize?>/></td>
|
||||
<td width="350" class="StyleInfoData"><?php echo $this->urlImg; ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</table>
|
||||
|
Loading…
Reference in New Issue
Block a user