Diverse corrections libellé, issue #0000380
This commit is contained in:
parent
1192adb674
commit
eb2b0f295e
@ -85,16 +85,29 @@ class Annonces
|
||||
{
|
||||
$src = '';
|
||||
$title = '';
|
||||
if ($ann['BodaccCode'] == 'BALO')
|
||||
if ($this->isBalo($ann['BodaccCode']))
|
||||
{
|
||||
$src = './img/logo_jo.png';
|
||||
$title = 'Source BALO n°'.$ann['BodaccNum'];
|
||||
}
|
||||
elseif ($ann['BodaccCode'] == 'ASSO')
|
||||
elseif ($this->isAsso($ann['BodaccCode']))
|
||||
{
|
||||
$src = './img/logo_jo.png';
|
||||
$title = 'Source JO ASSOCIATION n°'.$ann['BodaccNum'];
|
||||
}
|
||||
elseif ($this->isBomp($ann['BodaccCode']))
|
||||
{
|
||||
$src = './img/logo_jo.png';
|
||||
if ($ann['BodaccCode'] == 'MAPA' ){
|
||||
$title = 'Source '.$ann['BodaccCode'] . ' ' .
|
||||
($ann['BodaccNum']*1);
|
||||
}else {
|
||||
|
||||
$title = 'Source '.$ann['BodaccCode'] . ' ' .
|
||||
'n°' . ($ann['BodaccNum']*1) . ' de ' .
|
||||
substr($ann['DateParution'],0,4);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$tabSource = explode('-', $ann['BodaccCode']);
|
||||
@ -105,7 +118,7 @@ class Annonces
|
||||
$src = './img/logo_jo.png';
|
||||
$title = 'Source BODACC ' . $ann['BodaccNum'] . ' ' .
|
||||
substr($source,-1) . ' ' .
|
||||
substr($ann['DateParution'],0,4);
|
||||
'de ' . substr($ann['DateParution'],0,4);
|
||||
}
|
||||
else if ($source[0] == 'G' || $source[0] == 'T')
|
||||
{
|
||||
|
@ -194,8 +194,9 @@ if ($idan && in_array($vue, array('bodacc', 'abod', 'balo', 'asso', 'bomp')))
|
||||
<td width="30"> </td>
|
||||
<td width="550" colspan="3" class="StyleInfoData">
|
||||
<?php
|
||||
$libelle = 'Source BOMP n°'.$ann['BodaccNum'].' '.
|
||||
substr($ann['BodaccCode'],-1).
|
||||
$libelle = 'Annonce n°'.$ann['NumAnnonce'] . '. ' .
|
||||
'Source ' . $ann['BodaccCode'] . ' ' .
|
||||
'n°' . ($ann['BodaccNum']*1) . ' ' .
|
||||
' du '.WDate::dateT('Y-m-d','d/m/Y',$ann['DateParution']).
|
||||
'. Département n°'.$ann['Departement'].'.';
|
||||
echo $libelle;
|
||||
|
Loading…
x
Reference in New Issue
Block a user