Redraw
This commit is contained in:
parent
fe876711c4
commit
5942b7f910
@ -2,32 +2,32 @@
|
||||
<div class="paragraph">
|
||||
<div id="infogeo" class="clearfix">
|
||||
<div id="infogeo_txt">
|
||||
<?php if ( $this->infos->GeoLat && $this->infos->GeoLon ):?>
|
||||
<span id=geolocalisation>
|
||||
<b>Information géographique :</b><br/>
|
||||
Latitude : <?=$this->decLat?> (<?=$this->infos->GeoLat?>)<br />
|
||||
Longitude : <?=$this->decLon?> (<?=$this->infos->GeoLon?>)<br />
|
||||
</span>
|
||||
<a id="lien-google" href="<?=$this->mapsHref?>" target="_blank">
|
||||
Afficher l'adresse sur Google Map ©</a><br/>
|
||||
<br/>
|
||||
<?endif;?>
|
||||
<b>Code commune / Rivoli :</b><br/>
|
||||
<?=$this->infos->Dept.' '.$this->infos->codeCommune.' / '.$this->infos->Rivoli; ?>
|
||||
<?php
|
||||
if (count($this->infos->InfosIris)>0){
|
||||
$InfosIris = $this->infos->InfosIris;
|
||||
$codComIris = str_replace($InfosIris->codIris, '', $InfosIris->codComIris);
|
||||
?>
|
||||
<br/><br/><b>Iris :</b>
|
||||
<?php if (intval($InfosIris->codIris) == 0){ ?>
|
||||
<br/>Commune non découpée en Iris
|
||||
<?php } else {?>
|
||||
<br/>Code : <?=$codComIris?> <?=$InfosIris->codIris?>
|
||||
<br/>Libellé : <a title="Consulter le plan d'assemblage de la commune" href="<?=$this->url(array('controller'=>'identite', 'action'=>'iris', 'code'=>$codComIris), 'default', true)?>" target="_blank"><?=$InfosIris->libIris?></a>
|
||||
<img title="<?=$InfosIris->typIris?>" style="vertical-align:middle;" src="/themes/default/images/info.gif">
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
<?php if ( $this->infos->GeoLat && $this->infos->GeoLon ) {?>
|
||||
<span id=geolocalisation>
|
||||
<b>Information géographique :</b><br/>
|
||||
Latitude : <?=$this->decLat?> (<?=$this->infos->GeoLat?>)<br />
|
||||
Longitude : <?=$this->decLon?> (<?=$this->infos->GeoLon?>)<br />
|
||||
</span>
|
||||
<a id="lien-google" href="<?=$this->mapsHref?>" target="_blank">
|
||||
Afficher l'adresse sur Google Map ©</a><br/>
|
||||
<br/>
|
||||
<?php }?>
|
||||
<b>Code commune / Rivoli :</b><br/>
|
||||
<?=$this->infos->Dept.' '.$this->infos->codeCommune.' / '.$this->infos->Rivoli; ?>
|
||||
<?php
|
||||
if (count($this->infos->InfosIris)>0){
|
||||
$InfosIris = $this->infos->InfosIris;
|
||||
$codComIris = str_replace($InfosIris->codIris, '', $InfosIris->codComIris);
|
||||
?>
|
||||
<br/><br/><b>Iris :</b>
|
||||
<?php if (intval($InfosIris->codIris) == 0){ ?>
|
||||
<br/>Commune non découpée en Iris
|
||||
<?php } else {?>
|
||||
<br/>Code : <?=$codComIris?> <?=$InfosIris->codIris?>
|
||||
<br/>Libellé : <a title="Consulter le plan d'assemblage de la commune" href="<?=$this->url(array('controller'=>'identite', 'action'=>'iris', 'code'=>$codComIris), 'default', true)?>" target="_blank"><?=$InfosIris->libIris?></a>
|
||||
<img title="<?=$InfosIris->typIris?>" style="vertical-align:middle;" src="/themes/default/images/info.gif">
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
</div>
|
||||
|
||||
<?php if ($this->facade) {?>
|
||||
|
@ -39,8 +39,7 @@ $('a.street-heading').click(function(e){
|
||||
|
||||
<?php if ($this->AuthorizeUpdate) {?>
|
||||
<div>
|
||||
<a class="street-original" href="#">Original</a> -
|
||||
<a class="street-upload" href="#">Upload</a>
|
||||
<a class="street-original" href="#">Original</a> - <a class="street-upload" href="#">Upload</a>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
|
@ -77,7 +77,7 @@ class Scores_Insee_AvisSituation
|
||||
$date_creation = 0;
|
||||
$date_modification = 0;
|
||||
}
|
||||
if ($nb>0 && $date_modification<$date_creation+$this->retryDelay){
|
||||
if ($nb > 0 && $date_modification < $date_creation + $this->retryDelay) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
@ -89,10 +89,10 @@ class Scores_Insee_AvisSituation
|
||||
$user = new Scores_Utilisateur();
|
||||
|
||||
$objet = "AVIS INSEE - (Date :".date("d")."/".date("m")."/".date("Y").")";
|
||||
$texte = 'Accès impossible au site de situation INSEE : '.
|
||||
$this->siret.EOL.
|
||||
'http://avis-situation-sirene.insee.fr'.EOL.
|
||||
'pour login '.$user->getLogin().EOL;
|
||||
$texte = "Accès impossible au site de situation INSEE : ".
|
||||
$this->siret."\n".
|
||||
"http://avis-situation-sirene.insee.fr"."\n".
|
||||
"pour login ".$user->getLogin()."\n";
|
||||
|
||||
$mail = new Scores_Mail_Method();
|
||||
$mail->setFromKey('contact');
|
||||
|
Loading…
Reference in New Issue
Block a user